Adjust CI matrix for ansible-core devel's ansible-test (#771)

* Adjust CI matrix for ansible-core devel's ansible-test.

* Don't install cryptography via pip on Ubuntu 24.04.

* Don't force-enable on Fedora.
pull/768/head
Felix Fontein 2024-06-18 08:20:43 +02:00 committed by GitHub
parent 33410b1d57
commit 5e60bee9c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 25 additions and 13 deletions

View File

@ -107,12 +107,12 @@ stages:
parameters: parameters:
testFormat: devel/linux/{0} testFormat: devel/linux/{0}
targets: targets:
- name: Fedora 39 - name: Fedora 40
test: fedora39 test: fedora40
- name: Ubuntu 22.04 - name: Ubuntu 24.04
test: ubuntu2204 test: ubuntu2404
- name: Alpine 3.19 - name: Alpine 3.20
test: alpine319 test: alpine320
groups: groups:
- 1 - 1
- 2 - 2
@ -124,6 +124,10 @@ stages:
parameters: parameters:
testFormat: 2.17/linux/{0} testFormat: 2.17/linux/{0}
targets: targets:
- name: Fedora 39
test: fedora39
- name: Ubuntu 22.04
test: ubuntu2204
- name: Alpine 3.19 - name: Alpine 3.19
test: alpine319 test: alpine319
groups: groups:
@ -190,12 +194,14 @@ stages:
parameters: parameters:
testFormat: devel/{0} testFormat: devel/{0}
targets: targets:
- name: Alpine 3.19 - name: Alpine 3.20
test: alpine/3.19 test: alpine/3.20
- name: Fedora 39 - name: Fedora 40
test: fedora/39 test: fedora/40
- name: Ubuntu 22.04 - name: Ubuntu 22.04
test: ubuntu/22.04 test: ubuntu/22.04
- name: Ubuntu 24.04
test: ubuntu/24.04
groups: groups:
- vm - vm
- stage: Remote_devel - stage: Remote_devel
@ -208,8 +214,8 @@ stages:
targets: targets:
- name: macOS 14.3 - name: macOS 14.3
test: macos/14.3 test: macos/14.3
- name: RHEL 9.3 - name: RHEL 9.4
test: rhel/9.3 test: rhel/9.4
- name: FreeBSD 14.0 - name: FreeBSD 14.0
test: freebsd/14.0 test: freebsd/14.0
groups: groups:
@ -223,6 +229,8 @@ stages:
parameters: parameters:
testFormat: 2.17/{0} testFormat: 2.17/{0}
targets: targets:
- name: RHEL 9.3
test: rhel/9.3
- name: FreeBSD 13.3 - name: FreeBSD 13.3
test: freebsd/13.3 test: freebsd/13.3
groups: groups:

View File

@ -5,7 +5,7 @@
- name: RedHat - Enable the dynamic CA configuration feature - name: RedHat - Enable the dynamic CA configuration feature
command: update-ca-trust force-enable command: update-ca-trust force-enable
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat' and ansible_distribution != "Fedora"
- name: RedHat - Retrieve test cacert - name: RedHat - Retrieve test cacert
get_url: get_url:

View File

@ -35,6 +35,8 @@ system_python_version_data:
- '3.8' - '3.8'
'22': '22':
- '3.10' - '3.10'
'24':
- '3.12'
Darwin: Darwin:
'10.11': '10.11':
- '2.7' - '2.7'
@ -91,3 +93,5 @@ cannot_upgrade_cryptography:
Ubuntu: Ubuntu:
'18': '18':
- '3.9' # this is the default container for ansible-core 2.12; upgrading cryptography wrecks pyOpenSSL - '3.9' # this is the default container for ansible-core 2.12; upgrading cryptography wrecks pyOpenSSL
'24':
- '3.12' # ERROR: Cannot uninstall cryptography 41.0.7, RECORD file not found. Hint: The package was installed by debian.