mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Add Fedora 32 to CI; drop Fedora 30 which is soon EOL (#327)
* Add Fedora 32 to CI; drop Fedora 30 which is soon EOL. * Docker only supports Fedora up to 31; fortunately the 31 package seems to work for 32 too. * Also skip for Fedora 32, as it apparently has a similar problem to Fedora 31. ci_complete
This commit is contained in:
parent
772bfe9936
commit
31ba39cac4
3 changed files with 13 additions and 9 deletions
|
@ -4,7 +4,7 @@
|
|||
file: docker-ce
|
||||
name: docker-ce-stable
|
||||
description: Docker CE Stable - $basearch
|
||||
baseurl: https://download.docker.com/linux/fedora/$releasever/$basearch/stable
|
||||
baseurl: https://download.docker.com/linux/fedora/{{ 31 if ansible_facts.distribution_major_version|int > 31 else '$releasever' }}/$basearch/stable
|
||||
enabled: yes
|
||||
gpgcheck: yes
|
||||
gpgkey: https://download.docker.com/linux/fedora/gpg
|
||||
|
|
|
@ -49,16 +49,20 @@
|
|||
|
||||
|
||||
- name: Run tests
|
||||
# Skip tests on Fedora 31 because dbus fails to start unless the container is run in priveleged mode.
|
||||
# Even then, it starts unreliably. This may be due to the move to cgroup v2 in Fedora 31.
|
||||
# Skip tests on Fedora 31 and 32 because dbus fails to start unless the container is run in priveleged mode.
|
||||
# Even then, it starts unreliably. This may be due to the move to cgroup v2 in Fedora 31 and 32.
|
||||
# https://www.redhat.com/sysadmin/fedora-31-control-group-v2
|
||||
when: ansible_facts.distribution ~ ansible_facts.distribution_major_version != 'Fedora31'
|
||||
when: ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['Fedora31', 'Fedora32']
|
||||
block:
|
||||
- name: set timezone to Etc/UTC
|
||||
timezone:
|
||||
name: Etc/UTC
|
||||
register: original_timezone
|
||||
|
||||
- name: Value of original_timezone
|
||||
debug:
|
||||
msg: "{{ original_timezone }}"
|
||||
|
||||
- block:
|
||||
- include_tasks: test.yml
|
||||
always:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue