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

[PR #8534/86f19cb5 backport][stable-8] Update CI for ansible-core devel (#8535)

* Update CI for ansible-core devel (#8534)

* Update CI for ansible-core devel.

* Uncomment platforms that cause problems.

(cherry picked from commit 86f19cb5d3)

* Finish updating CI (#8537)

* Uncomment TODO entries.

* Exclude some tests that fail or are known to fail.

* Also run extra VM tests on Ubuntu 24.04.

* Fix condition.

* More adjustments.

(cherry picked from commit ecb68aa5d2)

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2024-06-19 07:28:41 +02:00 committed by GitHub
parent e396e76e89
commit 7a0cdadcaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 54 additions and 13 deletions

View file

@ -172,12 +172,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
@ -190,8 +192,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:
@ -208,6 +210,8 @@ stages:
targets: targets:
- name: FreeBSD 13.3 - name: FreeBSD 13.3
test: freebsd/13.3 test: freebsd/13.3
- name: RHEL 9.3
test: rhel/9.3
groups: groups:
- 1 - 1
- 2 - 2
@ -264,12 +268,14 @@ 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 20.04 - name: Alpine 3.20
test: ubuntu2004 test: alpine320
- name: Ubuntu 22.04 - name: Ubuntu 22.04
test: ubuntu2204 test: ubuntu2204
- name: Ubuntu 24.04
test: ubuntu2404
groups: groups:
- 1 - 1
- 2 - 2
@ -282,8 +288,12 @@ stages:
parameters: parameters:
testFormat: 2.17/linux/{0} testFormat: 2.17/linux/{0}
targets: targets:
- name: Fedora 39
test: fedora39
- name: Alpine 3.19 - name: Alpine 3.19
test: alpine319 test: alpine319
- name: Ubuntu 20.04
test: ubuntu2004
groups: groups:
- 1 - 1
- 2 - 2

View file

@ -18,3 +18,4 @@ skip/rhel9.0
skip/rhel9.1 skip/rhel9.1
skip/rhel9.2 skip/rhel9.2
skip/rhel9.3 skip/rhel9.3
skip/rhel9.4

View file

@ -11,8 +11,10 @@
- name: Bail out if not supported - name: Bail out if not supported
ansible.builtin.meta: end_play ansible.builtin.meta: end_play
# TODO: remove Archlinux from the list # TODO: remove Archlinux from the list
when: ansible_distribution in ('Alpine', 'openSUSE Leap', 'CentOS', 'Fedora', 'Archlinux') # TODO: remove Ubuntu 24.04 (noble) from the list
when: >
ansible_distribution in ('Alpine', 'openSUSE Leap', 'CentOS', 'Fedora', 'Archlinux')
or (ansible_distribution == 'Ubuntu' and ansible_distribution_release in ['noble'])
- name: Remove ejabberd - name: Remove ejabberd
ansible.builtin.package: ansible.builtin.package:

View file

@ -11,3 +11,4 @@ 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/ skip/rhel9.1 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/
skip/rhel9.2 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/ skip/rhel9.2 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/
skip/rhel9.3 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/ skip/rhel9.3 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/
skip/rhel9.4 # See https://www.reddit.com/r/Fedora/comments/si7nzk/homectl/

View file

@ -10,3 +10,5 @@ skip/freebsd # no iptables/netfilter (Linux specific)
skip/osx # no iptables/netfilter (Linux specific) skip/osx # no iptables/netfilter (Linux specific)
skip/macos # no iptables/netfilter (Linux specific) skip/macos # no iptables/netfilter (Linux specific)
skip/aix # no iptables/netfilter (Linux specific) skip/aix # no iptables/netfilter (Linux specific)
skip/ubuntu22.04 # TODO there's a problem here!

View file

@ -11,6 +11,7 @@ skip/rhel9.0 # FIXME
skip/rhel9.1 # FIXME skip/rhel9.1 # FIXME
skip/rhel9.2 # FIXME skip/rhel9.2 # FIXME
skip/rhel9.3 # FIXME skip/rhel9.3 # FIXME
skip/rhel9.4 # FIXME
skip/freebsd12.4 # FIXME skip/freebsd12.4 # FIXME
skip/freebsd13.2 # FIXME skip/freebsd13.2 # FIXME
skip/freebsd13.3 # FIXME skip/freebsd13.3 # FIXME

View file

@ -11,4 +11,4 @@
- include_tasks: ubuntu.yml - include_tasks: ubuntu.yml
when: when:
- ansible_distribution == 'Ubuntu' - ansible_distribution == 'Ubuntu'
- ansible_distribution_release not in ['focal', 'jammy'] - ansible_distribution_release not in ['focal', 'jammy', 'noble']

View file

@ -11,4 +11,5 @@ skip/rhel9.0
skip/rhel9.1 skip/rhel9.1
skip/rhel9.2 skip/rhel9.2
skip/rhel9.3 skip/rhel9.3
skip/rhel9.4
skip/freebsd skip/freebsd

View file

@ -0,0 +1,8 @@
---
# 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
keytool_package_names:
- ca-certificates-java
- openjdk-21-jre-headless

View file

@ -0,0 +1,13 @@
---
# 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
postgresql_packages:
- "postgresql"
- "postgresql-common"
- "python3-psycopg2"
pg_hba_location: "/etc/postgresql/16/main/pg_hba.conf"
pg_dir: "/var/lib/postgresql/16/main"
pg_ver: 16

View file

@ -0,0 +1 @@
nothing.yml

View file

@ -13,6 +13,7 @@ skip/rhel9.0 # FIXME
skip/rhel9.1 # FIXME skip/rhel9.1 # FIXME
skip/rhel9.2 # FIXME skip/rhel9.2 # FIXME
skip/rhel9.3 # FIXME skip/rhel9.3 # FIXME
skip/rhel9.4 # FIXME
skip/docker skip/docker
needs/root needs/root
needs/target/setup_epel needs/target/setup_epel