CI: Add stable-2.17; copy ignore.txt files from 2.17 to 2.18; move stable-2.14 from AZP to GHA (#721)

* Add stable-2.17 to CI; copy ignore files from 2.17 to 2.18.

* Move stable-2.14 from AZP to GHA.
pull/722/head
Felix Fontein 2024-04-03 08:32:16 +02:00 committed by GitHub
parent ee0ceea118
commit 50c2c4db29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 80 additions and 61 deletions

View File

@ -65,6 +65,17 @@ stages:
test: 'devel/sanity/extra' test: 'devel/sanity/extra'
- name: Units - name: Units
test: 'devel/units/1' test: 'devel/units/1'
- stage: Ansible_2_17
displayName: Sanity & Units 2.17
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
targets:
- name: Sanity
test: '2.17/sanity/1'
- name: Units
test: '2.17/units/1'
- stage: Ansible_2_16 - stage: Ansible_2_16
displayName: Sanity & Units 2.16 displayName: Sanity & Units 2.16
dependsOn: [] dependsOn: []
@ -87,17 +98,6 @@ stages:
test: '2.15/sanity/1' test: '2.15/sanity/1'
- name: Units - name: Units
test: '2.15/units/1' test: '2.15/units/1'
- stage: Ansible_2_14
displayName: Sanity & Units 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
targets:
- name: Sanity
test: '2.14/sanity/1'
- name: Units
test: '2.14/units/1'
### Docker ### Docker
- stage: Docker_devel - stage: Docker_devel
displayName: Docker devel displayName: Docker devel
@ -116,6 +116,19 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- 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
test: alpine319
groups:
- 1
- 2
- stage: Docker_2_16 - stage: Docker_2_16
displayName: Docker 2.16 displayName: Docker 2.16
dependsOn: [] dependsOn: []
@ -148,19 +161,6 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- stage: Docker_2_14
displayName: Docker 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
testFormat: 2.14/linux/{0}
targets:
- name: Ubuntu 20.04
test: ubuntu2004
groups:
- 1
- 2
### Community Docker ### Community Docker
- stage: Docker_community_devel - stage: Docker_community_devel
@ -210,13 +210,24 @@ 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
- 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
- stage: Remote_2_16 - stage: Remote_2_16
displayName: Remote 2.16 displayName: Remote 2.16
dependsOn: [] dependsOn: []
@ -257,23 +268,6 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- 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
### Generic ### Generic
- stage: Generic_devel - stage: Generic_devel
displayName: Generic devel displayName: Generic devel
@ -293,6 +287,20 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- stage: Generic_2_17
displayName: Generic 2.17
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Python {0}
testFormat: 2.17/generic/{0}
targets:
- test: "3.7"
- test: "3.12"
groups:
- 1
- 2
- stage: Generic_2_16 - stage: Generic_2_16
displayName: Generic 2.16 displayName: Generic 2.16
dependsOn: [] dependsOn: []
@ -322,19 +330,6 @@ stages:
groups: groups:
- 1 - 1
- 2 - 2
- stage: Generic_2_14
displayName: Generic 2.14
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Python {0}
testFormat: 2.14/generic/{0}
targets:
- test: 3.9
groups:
- 1
- 2
## Finally ## Finally
@ -342,22 +337,22 @@ stages:
condition: succeededOrFailed() condition: succeededOrFailed()
dependsOn: dependsOn:
- Ansible_devel - Ansible_devel
- Ansible_2_17
- Ansible_2_16 - Ansible_2_16
- Ansible_2_15 - Ansible_2_15
- Ansible_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
- 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

View File

@ -34,6 +34,7 @@ jobs:
- '2.11' - '2.11'
- '2.12' - '2.12'
- '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
@ -74,6 +75,7 @@ jobs:
- '2.11' - '2.11'
- '2.12' - '2.12'
- '2.13' - '2.13'
- '2.14'
steps: steps:
- name: >- - name: >-
@ -253,6 +255,23 @@ jobs:
docker: default docker: default
python: '3.8' python: '3.8'
target: azp/generic/2/ target: azp/generic/2/
# 2.14
- ansible: '2.14'
docker: ubuntu2004
python: ''
target: azp/posix/1/
- ansible: '2.14'
docker: ubuntu2004
python: ''
target: azp/posix/2/
- ansible: '2.14'
docker: default
python: '3.9'
target: azp/generic/1/
- ansible: '2.14'
docker: default
python: '3.9'
target: azp/generic/2/
steps: steps:
- name: >- - name: >-

View File

@ -18,7 +18,7 @@ Please note that this collection does **not** support Windows targets.
## Tested with Ansible ## Tested with Ansible
Tested with the current Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, ansible-core 2.14, ansible-core 2.15, and ansible-core-2.16 releases and the current development version of ansible-core. Ansible versions before 2.9.10 are not supported. Tested with the current Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, ansible-core 2.14, ansible-core 2.15, ansible-core 2.16, and ansible-core-2.17 releases and the current development version of ansible-core. Ansible versions before 2.9.10 are not supported.
## External requirements ## External requirements

View File

@ -0,0 +1,2 @@
tests/ee/roles/smoke/library/smoke_ipaddress.py shebang
tests/ee/roles/smoke/library/smoke_pyyaml.py shebang

View 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