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

* 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.

(cherry picked from commit 0d30a3793a)
This commit is contained in:
Felix Fontein
2023-05-29 18:33:26 +02:00
committed by GitHub
parent 022b011a90
commit afd2bd3bad
2 changed files with 30 additions and 57 deletions

View File

@@ -25,6 +25,7 @@ jobs:
- '2.9'
- '2.10'
- '2.11'
- '2.12'
# 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
# image for these stable branches. The list of branches where this is necessary will
@@ -38,6 +39,7 @@ jobs:
- name: Perform sanity testing
uses: felixfontein/ansible-test-gh-action@main
with:
ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true'
@@ -62,6 +64,7 @@ jobs:
- '2.9'
- '2.10'
- '2.11'
- '2.12'
steps:
- name: >-
@@ -69,6 +72,7 @@ jobs:
Ansible version ${{ matrix.ansible }}
uses: felixfontein/ansible-test-gh-action@main
with:
ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
pull-request-change-detection: 'true'
@@ -162,7 +166,31 @@ jobs:
docker: default
python: '3.8'
target: shippable/cloud/group1/
# 2.12
- ansible: '2.12'
docker: centos6
python: ''
target: shippable/posix/group1/
- ansible: '2.12'
docker: fedora33
python: ''
target: shippable/posix/group1/
- ansible: '2.12'
docker: opensuse15
python: ''
target: shippable/posix/group1/
- ansible: '2.12'
docker: ubuntu2004
python: ''
target: shippable/posix/group1/
- ansible: '2.12'
docker: default
python: '2.6'
target: shippable/cloud/group1/
- ansible: '2.12'
docker: default
python: '3.9'
target: shippable/cloud/group1/
steps:
- name: >-
Perform integration testing against
@@ -170,6 +198,7 @@ jobs:
under Python ${{ matrix.python }}
uses: felixfontein/ansible-test-gh-action@main
with:
ansible-core-github-repository-slug: ${{ contains(fromJson('["2.10", "2.11"]'), matrix.ansible) && 'felixfontein/ansible' || 'ansible/ansible' }}
ansible-core-version: stable-${{ matrix.ansible }}
coverage: ${{ github.event_name == 'schedule' && 'always' || 'never' }}
docker-image: ${{ matrix.docker }}