When a test job fails, GitHub automatically cancels other similar tests.
This often leads to "Fedora" jobs being canceled because of a trivial
issue on centOS or older Fedora versions.
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
quay.io provides centos stream 8 and 9 images as well as working
fedora:latest image.
Fixes:
checks / tests (centos:centos8):
Run rpm -q python3 || dnf install --nogpgcheck -y python3
package python3 is not installed
CentOS Linux 8 - AppStream 195 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Error: Process completed with exit code 1.
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
- Download policy templates from container-selinux github if not present
in the system
- Cirrus only installs container-selinux - this way github PRs are
tested both with latest version of templates and with the released one
- Github workflow now needs git to clone container-selinux repo
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>