Move ansible-core 2.12 to EOL CI (#609)

* https://github.com/ansible/ansible/pull/79734 has been merged and backported for all branches but stable-2.10 and stable-2.11.

* Move ansible-core 2.12 to EOL CI.
pull/616/head
Felix Fontein 2023-05-29 17:01:04 +02:00 committed by GitHub
parent a402c485a3
commit 0d30a3793a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 63 deletions

View File

@ -98,17 +98,6 @@ stages:
test: '2.13/sanity/1' test: '2.13/sanity/1'
- name: Units - name: Units
test: '2.13/units/1' test: '2.13/units/1'
- stage: Ansible_2_12
displayName: Sanity & Units 2.12
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
targets:
- name: Sanity
test: '2.12/sanity/1'
- name: Units
test: '2.12/units/1'
### Docker ### Docker
- stage: Docker_devel - stage: Docker_devel
displayName: Docker devel displayName: Docker devel
@ -178,21 +167,6 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- stage: Docker_2_12
displayName: Docker 2.12
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.12/linux/{0}
targets:
- name: CentOS 6
test: centos6
- name: Fedora 33
test: fedora33
groups:
- 1
- 2
### Community Docker ### Community Docker
- stage: Docker_community_devel - stage: Docker_community_devel
@ -300,25 +274,6 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- stage: Remote_2_12
displayName: Remote 2.12
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.12/{0}
targets:
# Not working anymore:
# - name: macOS 11.1
# test: macos/11.1
- name: RHEL 8.4
test: rhel/8.4
# Not working anymore:
# - name: FreeBSD 12.2
# test: freebsd/12.2
groups:
- 1
- 2
### Generic ### Generic
- stage: Generic_devel - stage: Generic_devel
displayName: Generic devel displayName: Generic devel
@ -379,20 +334,6 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- stage: Generic_2_12
displayName: Generic 2.12
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Python {0}
testFormat: 2.12/generic/{0}
targets:
- test: 2.6
- test: 3.9
groups:
- 1
- 2
## Finally ## Finally
@ -403,23 +344,19 @@ stages:
- Ansible_2_15 - Ansible_2_15
- Ansible_2_14 - Ansible_2_14
- Ansible_2_13 - Ansible_2_13
- Ansible_2_12
- Remote_devel_extra_vms - Remote_devel_extra_vms
- Remote_devel - Remote_devel
- Remote_2_15 - Remote_2_15
- Remote_2_14 - Remote_2_14
- Remote_2_13 - Remote_2_13
- Remote_2_12
- Docker_devel - Docker_devel
- Docker_2_15 - Docker_2_15
- Docker_2_14 - Docker_2_14
- Docker_2_13 - Docker_2_13
- Docker_2_12
- Docker_community_devel - Docker_community_devel
- Generic_devel - Generic_devel
- Generic_2_15 - Generic_2_15
- Generic_2_14 - Generic_2_14
- Generic_2_13 - Generic_2_13
- Generic_2_12
jobs: jobs:
- template: templates/coverage.yml - template: templates/coverage.yml

View File

@ -32,6 +32,7 @@ jobs:
- '2.9' - '2.9'
- '2.10' - '2.10'
- '2.11' - '2.11'
- '2.12'
# 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
@ -45,6 +46,7 @@ jobs:
- name: Perform sanity testing - name: Perform sanity testing
uses: felixfontein/ansible-test-gh-action@main uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }} coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true' pull-request-change-detection: 'true'
@ -69,6 +71,7 @@ jobs:
- '2.9' - '2.9'
- '2.10' - '2.10'
- '2.11' - '2.11'
- '2.12'
steps: steps:
- name: >- - name: >-
@ -76,6 +79,7 @@ jobs:
Ansible version ${{ matrix.ansible }} Ansible version ${{ matrix.ansible }}
uses: felixfontein/ansible-test-gh-action@main uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }} coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true' pull-request-change-detection: 'true'
@ -173,6 +177,31 @@ jobs:
docker: default docker: default
python: '3.8' python: '3.8'
target: azp/generic/2/ target: azp/generic/2/
# 2.12
- ansible: '2.12'
docker: centos6
python: ''
target: azp/posix/1/
- ansible: '2.12'
docker: centos6
python: ''
target: azp/posix/2/
- ansible: '2.12'
docker: fedora33
python: ''
target: azp/posix/1/
- ansible: '2.12'
docker: fedora33
python: ''
target: azp/posix/2/
- ansible: '2.12'
docker: default
python: '2.6'
target: azp/generic/1/
- ansible: '2.12'
docker: default
python: '3.9'
target: azp/generic/2/
steps: steps:
- name: >- - name: >-
@ -181,6 +210,7 @@ jobs:
under Python ${{ matrix.python }} under Python ${{ matrix.python }}
uses: felixfontein/ansible-test-gh-action@main uses: felixfontein/ansible-test-gh-action@main
with: with:
ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }} ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }} coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
docker-image: ${{ matrix.docker }} docker-image: ${{ matrix.docker }}