1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #5782/6fb212b1 backport][stable-6] Update CI matrix (#5798)

Update CI matrix (#5782)

* Update CI matrix.

* Disable RHEL 9.1 for tests where RHEL 9.0 was disabled as well.

* Skip iso_extract on FreeBSD 12.4.

* Fix cloud_init_data_facts test for Fedora 37.

* Do not try to install snap on RHEL 9.1.

* Skip pkgng jail tests on FreeBSD 12.4 as well.

(cherry picked from commit 6fb212b104)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-01-07 18:17:12 +01:00 committed by GitHub
parent aa136aca4c
commit efc2cbf840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 36 additions and 11 deletions

View file

@ -197,10 +197,10 @@ stages:
parameters: parameters:
testFormat: devel/{0} testFormat: devel/{0}
targets: targets:
- name: Alpine 3.16 - name: Alpine 3.17
test: alpine/3.16 test: alpine/3.17
# - name: Fedora 36 # - name: Fedora 37
# test: fedora/36 # test: fedora/37
# - name: Ubuntu 20.04 # - name: Ubuntu 20.04
# test: ubuntu/20.04 # test: ubuntu/20.04
- name: Ubuntu 22.04 - name: Ubuntu 22.04
@ -219,10 +219,12 @@ stages:
test: macos/12.0 test: macos/12.0
- name: RHEL 7.9 - name: RHEL 7.9
test: rhel/7.9 test: rhel/7.9
- name: RHEL 9.0 - name: RHEL 9.1
test: rhel/9.0 test: rhel/9.1
- name: FreeBSD 13.1 - name: FreeBSD 13.1
test: freebsd/13.1 test: freebsd/13.1
- name: FreeBSD 12.4
test: freebsd/12.4
groups: groups:
- 1 - 1
- 2 - 2
@ -305,8 +307,8 @@ stages:
targets: targets:
- name: CentOS 7 - name: CentOS 7
test: centos7 test: centos7
- name: Fedora 36 - name: Fedora 37
test: fedora36 test: fedora37
- name: openSUSE 15 - name: openSUSE 15
test: opensuse15 test: opensuse15
- name: Ubuntu 20.04 - name: Ubuntu 20.04
@ -327,8 +329,8 @@ stages:
parameters: parameters:
testFormat: 2.14/linux/{0} testFormat: 2.14/linux/{0}
targets: targets:
- name: Ubuntu 20.04 - name: Fedora 36
test: ubuntu2004 test: fedora36
groups: groups:
- 1 - 1
- 2 - 2

View file

@ -29,6 +29,12 @@
- cloud-init - cloud-init
- udev - udev
- name: Ensure systemd-network user exists
user:
name: systemd-network
state: present
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version|int >= 37
- name: setup run cloud-init - name: setup run cloud-init
service: service:
name: cloud-init-local name: cloud-init-local

View file

@ -12,3 +12,4 @@ skip/rhel8.3
skip/rhel8.4 skip/rhel8.4
skip/rhel8.5 skip/rhel8.5
skip/rhel9.0 skip/rhel9.0
skip/rhel9.1

View file

@ -8,3 +8,4 @@ skip/freebsd
skip/osx skip/osx
skip/macos skip/macos
skip/rhel9.0 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/ skip/rhel9.0 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/
skip/rhel9.1 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/

View file

@ -8,3 +8,5 @@ destructive
skip/aix skip/aix
skip/osx # FIXME skip/osx # FIXME
skip/rhel9.0 # FIXME skip/rhel9.0 # FIXME
skip/rhel9.1 # FIXME
skip/freebsd12.4 # FIXME

View file

@ -8,4 +8,5 @@ skip/osx
skip/macos skip/macos
skip/rhel8.0 skip/rhel8.0
skip/rhel9.0 skip/rhel9.0
skip/rhel9.1
skip/freebsd skip/freebsd

View file

@ -501,14 +501,19 @@
# NOTE: FreeBSD 12.0 test runner receives a "connection reset by peer" after ~20% downloaded so we are # NOTE: FreeBSD 12.0 test runner receives a "connection reset by peer" after ~20% downloaded so we are
# only running this on 12.1 or higher # only running this on 12.1 or higher
# #
# NOTE: FreeBSD 12.4 fails to update repositories because it cannot load certificates from /usr/share/keys/pkg/trusted
# knowledge has to take a look)
#
# NOTE: FreeBSD 13.0 fails to update the package catalogue for unknown reasons (someone with FreeBSD # NOTE: FreeBSD 13.0 fails to update the package catalogue for unknown reasons (someone with FreeBSD
# knowledge has to take a look) # knowledge has to take a look)
# #
# NOTE: FreeBSD 13.1 fails to update the package catalogue for unknown reasons (someone with FreeBSD # NOTE: FreeBSD 13.1 fails to update the package catalogue for unknown reasons (someone with FreeBSD
# knowledge has to take a look) # knowledge has to take a look)
# #
# See also
# https://github.com/ansible-collections/community.general/issues/5795
when: >- when: >-
(ansible_distribution_version is version('12.01', '>=') and ansible_distribution_version is version('13.0', '<')) (ansible_distribution_version is version('12.01', '>=') and ansible_distribution_version is version('12.4', '<'))
or ansible_distribution_version is version('13.2', '>=') or ansible_distribution_version is version('13.2', '>=')
block: block:
- name: Setup testjail - name: Setup testjail

View file

@ -0,0 +1,6 @@
---
# Copyright (c) Ansible Project
# 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
# Do nothing

View file

@ -10,6 +10,7 @@ skip/macos
skip/freebsd skip/freebsd
skip/rhel8.0 # FIXME skip/rhel8.0 # FIXME
skip/rhel9.0 # FIXME skip/rhel9.0 # FIXME
skip/rhel9.1 # FIXME
skip/docker skip/docker
needs/root needs/root
needs/target/setup_epel needs/target/setup_epel