mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #8179/48b5a7a8 backport][stable-8] CI: add stable-2.17, bump devel to 2.18, move stable-2.14 from AZP to GHA (#8181)
CI: add stable-2.17, bump devel to 2.18, move stable-2.14 from AZP to GHA (#8179)
* Add stable-2.17 to CI; add ignores for 2.18.
* Move stable-2.14 tests to GHA.
* Update README.
(cherry picked from commit 48b5a7a80a
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
49fb3d7cb8
commit
bdd046b411
5 changed files with 108 additions and 73 deletions
|
@ -73,6 +73,19 @@ stages:
|
||||||
- test: 3
|
- test: 3
|
||||||
- test: 4
|
- test: 4
|
||||||
- test: extra
|
- test: extra
|
||||||
|
- stage: Sanity_2_17
|
||||||
|
displayName: Sanity 2.17
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
nameFormat: Test {0}
|
||||||
|
testFormat: 2.17/sanity/{0}
|
||||||
|
targets:
|
||||||
|
- test: 1
|
||||||
|
- test: 2
|
||||||
|
- test: 3
|
||||||
|
- test: 4
|
||||||
- stage: Sanity_2_16
|
- stage: Sanity_2_16
|
||||||
displayName: Sanity 2.16
|
displayName: Sanity 2.16
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
|
@ -99,19 +112,6 @@ 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_devel
|
||||||
displayName: Units devel
|
displayName: Units devel
|
||||||
|
@ -128,6 +128,17 @@ stages:
|
||||||
- test: '3.10'
|
- test: '3.10'
|
||||||
- test: '3.11'
|
- test: '3.11'
|
||||||
- test: '3.12'
|
- test: '3.12'
|
||||||
|
- stage: Units_2_17
|
||||||
|
displayName: Units 2.17
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
nameFormat: Python {0}
|
||||||
|
testFormat: 2.17/units/{0}/1
|
||||||
|
targets:
|
||||||
|
- test: 3.7
|
||||||
|
- test: "3.12"
|
||||||
- stage: Units_2_16
|
- stage: Units_2_16
|
||||||
displayName: Units 2.16
|
displayName: Units 2.16
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
|
@ -151,16 +162,6 @@ 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_devel_extra_vms
|
||||||
|
@ -191,14 +192,26 @@ stages:
|
||||||
test: macos/14.3
|
test: macos/14.3
|
||||||
- name: RHEL 9.3
|
- name: RHEL 9.3
|
||||||
test: rhel/9.3
|
test: rhel/9.3
|
||||||
- name: FreeBSD 13.3
|
|
||||||
test: freebsd/13.3
|
|
||||||
- name: FreeBSD 14.0
|
- name: FreeBSD 14.0
|
||||||
test: freebsd/14.0
|
test: freebsd/14.0
|
||||||
groups:
|
groups:
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
- 3
|
- 3
|
||||||
|
- stage: Remote_2_17
|
||||||
|
displayName: Remote 2.17
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
testFormat: 2.17/{0}
|
||||||
|
targets:
|
||||||
|
- name: FreeBSD 13.3
|
||||||
|
test: freebsd/13.3
|
||||||
|
groups:
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
- stage: Remote_2_16
|
- stage: Remote_2_16
|
||||||
displayName: Remote 2.16
|
displayName: Remote 2.16
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
|
@ -241,24 +254,6 @@ 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: macOS 12.0
|
|
||||||
# test: macos/12.0
|
|
||||||
- name: RHEL 9.0
|
|
||||||
test: rhel/9.0
|
|
||||||
#- name: FreeBSD 12.4
|
|
||||||
# test: freebsd/12.4
|
|
||||||
groups:
|
|
||||||
- 1
|
|
||||||
- 2
|
|
||||||
- 3
|
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
- stage: Docker_devel
|
- stage: Docker_devel
|
||||||
|
@ -275,6 +270,18 @@ stages:
|
||||||
test: ubuntu2004
|
test: ubuntu2004
|
||||||
- name: Ubuntu 22.04
|
- name: Ubuntu 22.04
|
||||||
test: ubuntu2204
|
test: ubuntu2204
|
||||||
|
groups:
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
|
- stage: Docker_2_17
|
||||||
|
displayName: Docker 2.17
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
testFormat: 2.17/linux/{0}
|
||||||
|
targets:
|
||||||
- name: Alpine 3.19
|
- name: Alpine 3.19
|
||||||
test: alpine319
|
test: alpine319
|
||||||
groups:
|
groups:
|
||||||
|
@ -315,20 +322,6 @@ 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_devel
|
||||||
|
@ -359,6 +352,17 @@ stages:
|
||||||
parameters:
|
parameters:
|
||||||
nameFormat: Python {0}
|
nameFormat: Python {0}
|
||||||
testFormat: devel/generic/{0}/1
|
testFormat: devel/generic/{0}/1
|
||||||
|
targets:
|
||||||
|
- test: '3.8'
|
||||||
|
- test: '3.11'
|
||||||
|
- stage: Generic_2_17
|
||||||
|
displayName: Generic 2.17
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
nameFormat: Python {0}
|
||||||
|
testFormat: 2.17/generic/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- test: '3.7'
|
- test: '3.7'
|
||||||
- test: '3.12'
|
- test: '3.12'
|
||||||
|
@ -384,42 +388,32 @@ 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_devel
|
||||||
|
- Sanity_2_17
|
||||||
- Sanity_2_16
|
- Sanity_2_16
|
||||||
- Sanity_2_15
|
- Sanity_2_15
|
||||||
- Sanity_2_14
|
|
||||||
- Units_devel
|
- Units_devel
|
||||||
|
- Units_2_17
|
||||||
- Units_2_16
|
- Units_2_16
|
||||||
- Units_2_15
|
- Units_2_15
|
||||||
- Units_2_14
|
|
||||||
- Remote_devel_extra_vms
|
- Remote_devel_extra_vms
|
||||||
- Remote_devel
|
- Remote_devel
|
||||||
|
- Remote_2_17
|
||||||
- Remote_2_16
|
- Remote_2_16
|
||||||
- Remote_2_15
|
- Remote_2_15
|
||||||
- Remote_2_14
|
|
||||||
- Docker_devel
|
- Docker_devel
|
||||||
|
- Docker_2_17
|
||||||
- Docker_2_16
|
- Docker_2_16
|
||||||
- Docker_2_15
|
- Docker_2_15
|
||||||
- Docker_2_14
|
|
||||||
- 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_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
|
||||||
|
|
21
.github/workflows/ansible-test.yml
vendored
21
.github/workflows/ansible-test.yml
vendored
|
@ -30,6 +30,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
ansible:
|
ansible:
|
||||||
- '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
|
||||||
|
@ -72,6 +73,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: >-
|
||||||
|
@ -148,11 +151,29 @@ jobs:
|
||||||
docker: alpine3
|
docker: alpine3
|
||||||
python: ''
|
python: ''
|
||||||
target: azp/posix/3/
|
target: azp/posix/3/
|
||||||
|
# 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.
|
# Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled.
|
||||||
# - ansible: '2.13'
|
# - ansible: '2.13'
|
||||||
# docker: default
|
# docker: default
|
||||||
# python: '3.9'
|
# python: '3.9'
|
||||||
# target: azp/generic/1/
|
# target: azp/generic/1/
|
||||||
|
# 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: >-
|
||||||
|
|
|
@ -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.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.13.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases.
|
Tested with the current ansible-core 2.13, ansible-core 2.14, ansible-core 2.15, ansible-core 2.16, ansible-core 2.17 releases and the current development version of ansible-core. Ansible-core versions before 2.13.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases.
|
||||||
|
|
||||||
## External requirements
|
## External requirements
|
||||||
|
|
||||||
|
|
17
tests/sanity/ignore-2.18.txt
Normal file
17
tests/sanity/ignore-2.18.txt
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
plugins/modules/consul_session.py validate-modules:parameter-state-invalid-choice
|
||||||
|
plugins/modules/homectl.py import-3.11 # Uses deprecated stdlib library 'crypt'
|
||||||
|
plugins/modules/homectl.py import-3.12 # Uses deprecated stdlib library 'crypt'
|
||||||
|
plugins/modules/iptables_state.py validate-modules:undocumented-parameter # params _back and _timeout used by action plugin
|
||||||
|
plugins/modules/lxc_container.py validate-modules:use-run-command-not-popen
|
||||||
|
plugins/modules/osx_defaults.py validate-modules:parameter-state-invalid-choice
|
||||||
|
plugins/modules/parted.py validate-modules:parameter-state-invalid-choice
|
||||||
|
plugins/modules/rax_files_objects.py use-argspec-type-path # module deprecated - removed in 9.0.0
|
||||||
|
plugins/modules/rax_files.py validate-modules:parameter-state-invalid-choice # module deprecated - removed in 9.0.0
|
||||||
|
plugins/modules/rax.py use-argspec-type-path # module deprecated - removed in 9.0.0
|
||||||
|
plugins/modules/rhevm.py validate-modules:parameter-state-invalid-choice
|
||||||
|
plugins/modules/udm_user.py import-3.11 # Uses deprecated stdlib library 'crypt'
|
||||||
|
plugins/modules/udm_user.py import-3.12 # Uses deprecated stdlib library 'crypt'
|
||||||
|
plugins/modules/xfconf.py validate-modules:return-syntax-error
|
||||||
|
plugins/module_utils/univention_umc.py pylint:use-yield-from # suggested construct does not work with Python 2
|
||||||
|
tests/unit/compat/mock.py pylint:use-yield-from # suggested construct does not work with Python 2
|
||||||
|
tests/unit/plugins/modules/test_gio_mime.yaml no-smart-quotes
|
3
tests/sanity/ignore-2.18.txt.license
Normal file
3
tests/sanity/ignore-2.18.txt.license
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
SPDX-FileCopyrightText: Ansible Project
|
Loading…
Reference in a new issue