From 0d30a3793ad03fd4a920c2236cceb679a756372d Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 29 May 2023 17:01:04 +0200 Subject: [PATCH] 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. --- .azure-pipelines/azure-pipelines.yml | 63 ---------------------------- .github/workflows/ansible-test.yml | 30 +++++++++++++ 2 files changed, 30 insertions(+), 63 deletions(-) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 364e7cf8..5805114a 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -98,17 +98,6 @@ stages: test: '2.13/sanity/1' - name: Units 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 - stage: Docker_devel displayName: Docker devel @@ -178,21 +167,6 @@ stages: groups: - 1 - 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 - stage: Docker_community_devel @@ -300,25 +274,6 @@ stages: groups: - 1 - 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 - stage: Generic_devel displayName: Generic devel @@ -379,20 +334,6 @@ stages: groups: - 1 - 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 @@ -403,23 +344,19 @@ stages: - Ansible_2_15 - Ansible_2_14 - Ansible_2_13 - - Ansible_2_12 - Remote_devel_extra_vms - Remote_devel - Remote_2_15 - Remote_2_14 - Remote_2_13 - - Remote_2_12 - Docker_devel - Docker_2_15 - Docker_2_14 - Docker_2_13 - - Docker_2_12 - Docker_community_devel - Generic_devel - Generic_2_15 - Generic_2_14 - Generic_2_13 - - Generic_2_12 jobs: - template: templates/coverage.yml diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 4e78e891..325dc527 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -32,6 +32,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 @@ -45,6 +46,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' @@ -69,6 +71,7 @@ jobs: - '2.9' - '2.10' - '2.11' + - '2.12' steps: - name: >- @@ -76,6 +79,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' @@ -173,6 +177,31 @@ jobs: docker: default python: '3.8' 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: - name: >- @@ -181,6 +210,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 }}