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

[PR #6478/c740f89d backport][stable-5] CI: Add FreeBSD 13.2 (#6507)

CI: Add FreeBSD 13.2 (#6478)

* Add FreeBSD 13.2.

* Skip FreeBSD 13.2 for iso_extract tests.

* Fix autoremove test: m4 is no longer a dependency, or it was already installed beforehand.

* Also disable the jail tests for FreeBSD 13.2.

(cherry picked from commit c740f89df3)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-05-09 19:48:50 +02:00 committed by GitHub
parent 8361aecf15
commit 9e112272be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

View file

@ -199,8 +199,8 @@ stages:
test: macos/13.2 test: macos/13.2
- name: RHEL 9.1 - name: RHEL 9.1
test: rhel/9.1 test: rhel/9.1
- name: FreeBSD 13.1 - name: FreeBSD 13.2
test: freebsd/13.1 test: freebsd/13.2
- name: FreeBSD 12.4 - name: FreeBSD 12.4
test: freebsd/12.4 test: freebsd/12.4
groups: groups:
@ -217,6 +217,8 @@ stages:
targets: targets:
- name: RHEL 7.9 - name: RHEL 7.9
test: rhel/7.9 test: rhel/7.9
- name: FreeBSD 13.1
test: freebsd/13.1
groups: groups:
- 1 - 1
- 2 - 2

View file

@ -10,3 +10,4 @@ skip/osx # FIXME
skip/rhel9.0 # FIXME skip/rhel9.0 # FIXME
skip/rhel9.1 # FIXME skip/rhel9.1 # FIXME
skip/freebsd12.4 # FIXME skip/freebsd12.4 # FIXME
skip/freebsd13.2 # FIXME

View file

@ -288,7 +288,6 @@
- autoconf - autoconf
- automake - automake
- libtool - libtool
- m4
state: absent state: absent
check_mode: yes check_mode: yes
register: pkgng_example7_cleanup register: pkgng_example7_cleanup
@ -296,9 +295,9 @@
- name: Ensure pkgng autoremove works correctly - name: Ensure pkgng autoremove works correctly
assert: assert:
that: that:
- pkgng_example7_prepare_install.changed - pkgng_example7_prepare_install is changed
- "'autoremoved' is in(pkgng_example7.msg)" - "'autoremoved' is in(pkgng_example7.msg)"
- not pkgng_example7_cleanup.changed - pkgng_example7_cleanup is not changed
## ##
## pkgng - example - single annotations ## pkgng - example - single annotations
@ -513,11 +512,14 @@
# 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)
# #
# NOTE: FreeBSD 13.2 fails to update the package catalogue for unknown reasons (someone with FreeBSD
# knowledge has to take a look)
#
# See also # See also
# https://github.com/ansible-collections/community.general/issues/5795 # https://github.com/ansible-collections/community.general/issues/5795
when: >- when: >-
(ansible_distribution_version is version('12.01', '>=') and ansible_distribution_version is version('12.3', '<')) (ansible_distribution_version is version('12.01', '>=') and ansible_distribution_version is version('12.3', '<'))
or ansible_distribution_version is version('13.2', '>=') or ansible_distribution_version is version('13.3', '>=')
block: block:
- name: Setup testjail - name: Setup testjail
include: setup-testjail.yml include: setup-testjail.yml