ci: Switch from RedHat UBI to AlmaLinux
This commit is contained in:
parent
1ee64537df
commit
0c42478ea7
1 changed files with 15 additions and 5 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -62,14 +62,14 @@ jobs:
|
||||||
- fedora:39
|
- fedora:39
|
||||||
- fedora:latest
|
- fedora:latest
|
||||||
- fedora:rawhide
|
- fedora:rawhide
|
||||||
|
- almalinux:8
|
||||||
|
- almalinux:latest
|
||||||
# RedHat UBI is mostly garbage due to a profound lack of basic
|
# RedHat UBI is mostly garbage due to a profound lack of basic
|
||||||
# packages. It is tested anyway because it's the closest available
|
# packages. It is tested anyway because it's the closest available
|
||||||
# approximation of RHEL. Some of the packages needed for some tests
|
# approximation of RHEL, aside from AlmaLinux. Some of the packages
|
||||||
# aren't available, so those tests will be skipped. I guess it's
|
# needed for some tests aren't available, so those tests will be
|
||||||
# still better than nothing.
|
# skipped. I guess it's still better than nothing.
|
||||||
- registry.access.redhat.com/ubi7/ubi:latest
|
- registry.access.redhat.com/ubi7/ubi:latest
|
||||||
- registry.access.redhat.com/ubi8/ubi:latest
|
|
||||||
- registry.access.redhat.com/ubi9/ubi:latest
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
|
@ -79,6 +79,16 @@ jobs:
|
||||||
# ubi7 is too old for checkout@v4.
|
# ubi7 is too old for checkout@v4.
|
||||||
- if: ${{ matrix.image == 'registry.access.redhat.com/ubi7/ubi:latest' }}
|
- if: ${{ matrix.image == 'registry.access.redhat.com/ubi7/ubi:latest' }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
- name: enable repositories (AlmaLinux 8)
|
||||||
|
if: ${{ matrix.image == 'almalinux:8' }}
|
||||||
|
run: |
|
||||||
|
dnf --refresh install -y 'dnf-command(config-manager)' epel-release &&
|
||||||
|
dnf config-manager --set-enabled powertools
|
||||||
|
- name: enable repositories (AlmaLinux latest)
|
||||||
|
if: ${{ matrix.image == 'almalinux:latest' }}
|
||||||
|
run: |
|
||||||
|
dnf --refresh install -y 'dnf-command(config-manager)' epel-release &&
|
||||||
|
dnf config-manager --set-enabled crb
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
# The --skip-broken argument works around RedHat UBI's missing packages.
|
# The --skip-broken argument works around RedHat UBI's missing packages.
|
||||||
# (They're only used for testing, so it's OK to not install them.)
|
# (They're only used for testing, so it's OK to not install them.)
|
||||||
|
|
Loading…
Reference in a new issue