1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

CI: rename devel to stable-2.17, move stable-2.14 from AZP to GHA (#8180)

* Replace devel with stable-2.17.

* Move stable-2.14 tests to GHA.
This commit is contained in:
Felix Fontein 2024-04-03 07:57:34 +02:00 committed by GitHub
parent 68eb07a900
commit b0cf8ce6e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 50 additions and 99 deletions

View file

@ -59,14 +59,14 @@ pool: Standard
stages: stages:
### Sanity ### Sanity
- stage: Sanity_devel - stage: Sanity_2_17
displayName: Sanity devel displayName: Sanity 2.17
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
nameFormat: Test {0} nameFormat: Test {0}
testFormat: devel/sanity/{0} testFormat: 2.17/sanity/{0}
targets: targets:
- test: 1 - test: 1
- test: 2 - test: 2
@ -99,28 +99,15 @@ stages:
- test: 2 - test: 2
- test: 3 - test: 3
- test: 4 - test: 4
- stage: Sanity_2_14
displayName: Sanity 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Test {0}
testFormat: 2.14/sanity/{0}
targets:
- test: 1
- test: 2
- test: 3
- test: 4
### Units ### Units
- stage: Units_devel - stage: Units_2_17
displayName: Units devel displayName: Units 2.17
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
nameFormat: Python {0} nameFormat: Python {0}
testFormat: devel/units/{0}/1 testFormat: 2.17/units/{0}/1
targets: targets:
- test: 3.7 - test: 3.7
- test: 3.8 - test: 3.8
@ -151,25 +138,15 @@ stages:
targets: targets:
- test: 3.5 - test: 3.5
- test: "3.10" - test: "3.10"
- stage: Units_2_14
displayName: Units 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Python {0}
testFormat: 2.14/units/{0}/1
targets:
- test: 3.9
## Remote ## Remote
- stage: Remote_devel_extra_vms - stage: Remote_2_17_extra_vms
displayName: Remote devel extra VMs displayName: Remote 2.17 extra VMs
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
testFormat: devel/{0} testFormat: 2.17/{0}
targets: targets:
- name: Alpine 3.19 - name: Alpine 3.19
test: alpine/3.19 test: alpine/3.19
@ -179,13 +156,13 @@ stages:
test: ubuntu/22.04 test: ubuntu/22.04
groups: groups:
- vm - vm
- stage: Remote_devel - stage: Remote_2_17
displayName: Remote devel displayName: Remote 2.17
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
testFormat: devel/{0} testFormat: 2.17/{0}
targets: targets:
- name: macOS 14.3 - name: macOS 14.3
test: macos/14.3 test: macos/14.3
@ -241,33 +218,15 @@ stages:
- 1 - 1
- 2 - 2
- 3 - 3
- stage: Remote_2_14
displayName: Remote 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.14/{0}
targets:
- name: RHEL 9.0
test: rhel/9.0
#- name: macOS 12.0
# test: macos/12.0
#- name: FreeBSD 12.4
# test: freebsd/12.4
groups:
- 1
- 2
- 3
### Docker ### Docker
- stage: Docker_devel - stage: Docker_2_17
displayName: Docker devel displayName: Docker 2.17
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
testFormat: devel/linux/{0} testFormat: 2.17/linux/{0}
targets: targets:
- name: Fedora 39 - name: Fedora 39
test: fedora39 test: fedora39
@ -315,29 +274,15 @@ stages:
- 1 - 1
- 2 - 2
- 3 - 3
- stage: Docker_2_14
displayName: Docker 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.14/linux/{0}
targets:
- name: Alpine 3
test: alpine3
groups:
- 1
- 2
- 3
### Community Docker ### Community Docker
- stage: Docker_community_devel - stage: Docker_community_2_17
displayName: Docker (community images) devel displayName: Docker (community images) 2.17
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
testFormat: devel/linux-community/{0} testFormat: 2.17/linux-community/{0}
targets: targets:
- name: Debian Bullseye - name: Debian Bullseye
test: debian-bullseye/3.9 test: debian-bullseye/3.9
@ -351,14 +296,14 @@ stages:
- 3 - 3
### Generic ### Generic
- stage: Generic_devel - stage: Generic_2_17
displayName: Generic devel displayName: Generic 2.17
dependsOn: [] dependsOn: []
jobs: jobs:
- template: templates/matrix.yml - template: templates/matrix.yml
parameters: parameters:
nameFormat: Python {0} nameFormat: Python {0}
testFormat: devel/generic/{0}/1 testFormat: 2.17/generic/{0}/1
targets: targets:
- test: '3.7' - test: '3.7'
- test: '3.12' - test: '3.12'
@ -384,42 +329,27 @@ stages:
testFormat: 2.15/generic/{0}/1 testFormat: 2.15/generic/{0}/1
targets: targets:
- test: '3.9' - test: '3.9'
- stage: Generic_2_14
displayName: Generic 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Python {0}
testFormat: 2.14/generic/{0}/1
targets:
- test: '3.10'
- stage: Summary - stage: Summary
condition: succeededOrFailed() condition: succeededOrFailed()
dependsOn: dependsOn:
- Sanity_devel - Sanity_2_17
- Sanity_2_16 - Sanity_2_16
- Sanity_2_15 - Sanity_2_15
- Sanity_2_14 - Units_2_17
- Units_devel
- Units_2_16 - Units_2_16
- Units_2_15 - Units_2_15
- Units_2_14 - Remote_2_17_extra_vms
- Remote_devel_extra_vms - Remote_2_17
- Remote_devel
- Remote_2_16 - Remote_2_16
- Remote_2_15 - Remote_2_15
- Remote_2_14 - Docker_2_17
- Docker_devel
- Docker_2_16 - Docker_2_16
- Docker_2_15 - Docker_2_15
- Docker_2_14 - Docker_community_2_17
- Docker_community_devel
# Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled. # Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled.
# - Generic_devel # - Generic_2_17
# - Generic_2_16 # - Generic_2_16
# - Generic_2_15 # - Generic_2_15
# - Generic_2_14
jobs: jobs:
- template: templates/coverage.yml - template: templates/coverage.yml

View file

@ -32,6 +32,7 @@ jobs:
- '2.11' - '2.11'
- '2.12' - '2.12'
- '2.13' - '2.13'
- '2.14'
# Ansible-test on various stable branches does not yet work well with cgroups v2. # Ansible-test on various stable branches does not yet work well with cgroups v2.
# Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04 # Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04
# image for these stable branches. The list of branches where this is necessary will # image for these stable branches. The list of branches where this is necessary will
@ -85,6 +86,8 @@ jobs:
python: '2.7' python: '2.7'
- ansible: '2.13' - ansible: '2.13'
python: '3.8' python: '3.8'
- ansible: '2.14'
python: '3.9'
steps: steps:
- name: >- - name: >-
@ -258,6 +261,24 @@ jobs:
# docker: default # docker: default
# python: '3.9' # python: '3.9'
# target: azp/generic/1/ # target: azp/generic/1/
# 2.14
- ansible: '2.14'
docker: alpine3
python: ''
target: azp/posix/1/
- ansible: '2.14'
docker: alpine3
python: ''
target: azp/posix/2/
- ansible: '2.14'
docker: alpine3
python: ''
target: azp/posix/3/
# Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled.
# - ansible: '2.14'
# docker: default
# python: '3.10'
# target: azp/generic/1/
steps: steps:
- name: >- - name: >-

View file

@ -24,7 +24,7 @@ If you encounter abusive behavior violating the [Ansible Code of Conduct](https:
## Tested with Ansible ## Tested with Ansible
Tested with the current ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, ansible-core 2.14, ansible-core 2.15, ansible-core 2.16 releases and the current development version of ansible-core. Ansible-core versions before 2.11.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases. Tested with the current ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, ansible-core 2.14, ansible-core 2.15, ansible-core 2.16, and ansible-core 2.17 releases. Ansible-core versions before 2.11.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases.
Parts of this collection will not work with ansible-core 2.11 on Python 3.12+. Parts of this collection will not work with ansible-core 2.11 on Python 3.12+.