mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #6584/a6dd7d78 backport][stable-5] Move ansible-core 2.12 to EOL CI (#6585)
Move ansible-core 2.12 to EOL CI (#6584)
* 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 a6dd7d789b
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
fcf9e08dfa
commit
44e6f3bd97
2 changed files with 51 additions and 77 deletions
|
@ -112,19 +112,6 @@ stages:
|
||||||
- test: 2
|
- test: 2
|
||||||
- test: 3
|
- test: 3
|
||||||
- test: 4
|
- test: 4
|
||||||
- stage: Sanity_2_12
|
|
||||||
displayName: Sanity 2.12
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: templates/matrix.yml
|
|
||||||
parameters:
|
|
||||||
nameFormat: Test {0}
|
|
||||||
testFormat: 2.12/sanity/{0}
|
|
||||||
targets:
|
|
||||||
- test: 1
|
|
||||||
- test: 2
|
|
||||||
- test: 3
|
|
||||||
- test: 4
|
|
||||||
### Units
|
### Units
|
||||||
- stage: Units_devel
|
- stage: Units_devel
|
||||||
displayName: Units devel
|
displayName: Units devel
|
||||||
|
@ -174,17 +161,6 @@ stages:
|
||||||
targets:
|
targets:
|
||||||
- test: 2.7
|
- test: 2.7
|
||||||
- test: 3.8
|
- test: 3.8
|
||||||
- stage: Units_2_12
|
|
||||||
displayName: Units 2.12
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: templates/matrix.yml
|
|
||||||
parameters:
|
|
||||||
nameFormat: Python {0}
|
|
||||||
testFormat: 2.12/units/{0}/1
|
|
||||||
targets:
|
|
||||||
- test: 2.6
|
|
||||||
- test: 3.8
|
|
||||||
|
|
||||||
## Remote
|
## Remote
|
||||||
- stage: Remote_devel
|
- stage: Remote_devel
|
||||||
|
@ -251,22 +227,6 @@ stages:
|
||||||
test: macos/12.0
|
test: macos/12.0
|
||||||
- name: RHEL 8.5
|
- name: RHEL 8.5
|
||||||
test: rhel/8.5
|
test: rhel/8.5
|
||||||
groups:
|
|
||||||
- 1
|
|
||||||
- 2
|
|
||||||
- 3
|
|
||||||
- stage: Remote_2_12
|
|
||||||
displayName: Remote 2.12
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: templates/matrix.yml
|
|
||||||
parameters:
|
|
||||||
testFormat: 2.12/{0}
|
|
||||||
targets:
|
|
||||||
- name: macOS 11.1
|
|
||||||
test: macos/11.1
|
|
||||||
- name: RHEL 8.4
|
|
||||||
test: rhel/8.4
|
|
||||||
- name: FreeBSD 13.0
|
- name: FreeBSD 13.0
|
||||||
test: freebsd/13.0
|
test: freebsd/13.0
|
||||||
groups:
|
groups:
|
||||||
|
@ -343,24 +303,6 @@ stages:
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
- 3
|
- 3
|
||||||
- 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 34
|
|
||||||
test: fedora34
|
|
||||||
- name: Ubuntu 18.04
|
|
||||||
test: ubuntu1804
|
|
||||||
groups:
|
|
||||||
- 1
|
|
||||||
- 2
|
|
||||||
- 3
|
|
||||||
|
|
||||||
### Community Docker
|
### Community Docker
|
||||||
- stage: Docker_community_devel
|
- stage: Docker_community_devel
|
||||||
|
@ -424,44 +366,29 @@ stages:
|
||||||
testFormat: 2.13/generic/{0}/1
|
testFormat: 2.13/generic/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- test: 3.9
|
- test: 3.9
|
||||||
- stage: Generic_2_12
|
|
||||||
displayName: Generic 2.12
|
|
||||||
dependsOn: []
|
|
||||||
jobs:
|
|
||||||
- template: templates/matrix.yml
|
|
||||||
parameters:
|
|
||||||
nameFormat: Python {0}
|
|
||||||
testFormat: 2.12/generic/{0}/1
|
|
||||||
targets:
|
|
||||||
- test: 3.8
|
|
||||||
|
|
||||||
- stage: Summary
|
- stage: Summary
|
||||||
condition: succeededOrFailed()
|
condition: succeededOrFailed()
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- Sanity_devel
|
- Sanity_devel
|
||||||
- Sanity_2_12
|
|
||||||
- Sanity_2_13
|
- Sanity_2_13
|
||||||
- Sanity_2_14
|
- Sanity_2_14
|
||||||
- Sanity_2_15
|
- Sanity_2_15
|
||||||
- Units_devel
|
- Units_devel
|
||||||
- Units_2_12
|
|
||||||
- Units_2_13
|
- Units_2_13
|
||||||
- Units_2_14
|
- Units_2_14
|
||||||
- Units_2_15
|
- Units_2_15
|
||||||
- Remote_devel
|
- Remote_devel
|
||||||
- Remote_2_12
|
|
||||||
- Remote_2_13
|
- Remote_2_13
|
||||||
- Remote_2_14
|
- Remote_2_14
|
||||||
- Remote_2_15
|
- Remote_2_15
|
||||||
- Docker_devel
|
- Docker_devel
|
||||||
- Docker_2_12
|
|
||||||
- Docker_2_13
|
- Docker_2_13
|
||||||
- Docker_2_14
|
- Docker_2_14
|
||||||
- Docker_2_15
|
- Docker_2_15
|
||||||
- Docker_community_devel
|
- 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_devel
|
||||||
# - Generic_2_12
|
|
||||||
# - Generic_2_13
|
# - Generic_2_13
|
||||||
# - Generic_2_14
|
# - Generic_2_14
|
||||||
# - Generic_2_15
|
# - Generic_2_15
|
||||||
|
|
55
.github/workflows/ansible-test.yml
vendored
55
.github/workflows/ansible-test.yml
vendored
|
@ -30,6 +30,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
ansible:
|
ansible:
|
||||||
- '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
|
||||||
|
@ -43,7 +44,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: felixfontein/ansible
|
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'
|
||||||
|
@ -75,6 +76,10 @@ jobs:
|
||||||
python: '2.7'
|
python: '2.7'
|
||||||
- ansible: '2.11'
|
- ansible: '2.11'
|
||||||
python: '3.5'
|
python: '3.5'
|
||||||
|
- ansible: '2.12'
|
||||||
|
python: '2.6'
|
||||||
|
- ansible: '2.12'
|
||||||
|
python: '3.8'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: >-
|
- name: >-
|
||||||
|
@ -82,7 +87,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: felixfontein/ansible
|
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' }}
|
||||||
pre-test-cmd: >-
|
pre-test-cmd: >-
|
||||||
|
@ -163,7 +168,49 @@ jobs:
|
||||||
# - ansible: '2.11'
|
# - ansible: '2.11'
|
||||||
# docker: default
|
# docker: default
|
||||||
# python: '3.5'
|
# python: '3.5'
|
||||||
# target: azp/generic/2/
|
# target: azp/generic/1/
|
||||||
|
# 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: centos6
|
||||||
|
python: ''
|
||||||
|
target: azp/posix/3/
|
||||||
|
- ansible: '2.12'
|
||||||
|
docker: fedora34
|
||||||
|
python: ''
|
||||||
|
target: azp/posix/1/
|
||||||
|
- ansible: '2.12'
|
||||||
|
docker: fedora34
|
||||||
|
python: ''
|
||||||
|
target: azp/posix/2/
|
||||||
|
- ansible: '2.12'
|
||||||
|
docker: fedora34
|
||||||
|
python: ''
|
||||||
|
target: azp/posix/3/
|
||||||
|
- ansible: '2.12'
|
||||||
|
docker: ubuntu1804
|
||||||
|
python: ''
|
||||||
|
target: azp/posix/1/
|
||||||
|
- ansible: '2.12'
|
||||||
|
docker: ubuntu1804
|
||||||
|
python: ''
|
||||||
|
target: azp/posix/2/
|
||||||
|
- ansible: '2.12'
|
||||||
|
docker: ubuntu1804
|
||||||
|
python: ''
|
||||||
|
target: azp/posix/3/
|
||||||
|
# Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled.
|
||||||
|
# - ansible: '2.12'
|
||||||
|
# docker: default
|
||||||
|
# python: '3.8'
|
||||||
|
# target: azp/generic/1/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: >-
|
- name: >-
|
||||||
|
@ -172,7 +219,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: felixfontein/ansible
|
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 }}
|
||||||
|
|
Loading…
Reference in a new issue