Skip to content

Commit

Permalink
ci: replace EOL CentOS Stream 8 with Rocky Linux 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sedmicha committed Aug 5, 2024
1 parent e32f291 commit dee93d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- 'debian:buster'
- 'debian:bullseye'
- 'debian:bookworm'
- 'quay.io/centos/centos:stream8'
- 'rockylinux:8'
- 'oraclelinux:8'
- 'oraclelinux:9'

Expand All @@ -39,8 +39,8 @@ jobs:
apt-get -y install librdkafka-dev
env:
DEBIAN_FRONTEND: noninteractive
- name: Enable additional repositories (CentOS Steam)
if: contains(matrix.image, 'centos:stream')
- name: Enable additional repositories (Rocky Linux)
if: contains(matrix.image, 'rockylinux')
run: |
dnf -y install 'dnf-command(config-manager)'
dnf config-manager --set-enabled appstream powertools
Expand All @@ -54,8 +54,8 @@ jobs:
run: |
dnf -y install 'dnf-command(config-manager)'
dnf config-manager --set-enabled ol9_appstream ol9_codeready_builder
- name: Enable EPEL (CentOS)
if: contains(matrix.image, 'centos')
- name: Enable EPEL (Rocky Linux)
if: contains(matrix.image, 'rockylinux')
run: |
yum -y install epel-release
- name: Enable EPEL (Oracle Linux 8)
Expand All @@ -66,8 +66,8 @@ jobs:
if: contains(matrix.image, 'oraclelinux:9')
run: |
dnf -y install oracle-epel-release-el9
- name: Install dependencies for libfds and IPFIXcol2 (CentOS, Oracle Linux)
if: contains(matrix.image, 'centos') || contains(matrix.image, 'oraclelinux')
- name: Install dependencies for libfds and IPFIXcol2 (Rocky Linux, Oracle Linux)
if: contains(matrix.image, 'rockylinux') || contains(matrix.image, 'oraclelinux')
run: |
yum -y install git gcc gcc-c++ cmake make libxml2-devel lz4-devel libzstd-devel
yum -y install zlib-devel pkgconfig librdkafka-devel
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
fail-fast: false
matrix:
image:
- 'quay.io/centos/centos:stream8'
- 'rockylinux:8'
- 'oraclelinux:8'
- 'oraclelinux:9'

Expand All @@ -113,8 +113,8 @@ jobs:
mkdir -p build/libfds_repo
# Dependencies ---------------------------------------------------------------------------
- name: Enable additional repositories (CentOS Stream)
if: contains(matrix.image, 'centos:stream')
- name: Enable additional repositories (Rocky Linux)
if: contains(matrix.image, 'rockylinux')
run: |
dnf -y install 'dnf-command(config-manager)'
dnf config-manager --set-enabled appstream powertools
Expand All @@ -128,8 +128,8 @@ jobs:
run: |
dnf -y install 'dnf-command(config-manager)'
dnf config-manager --set-enabled ol9_appstream ol9_codeready_builder
- name: Enable EPEL (CentOS)
if: contains(matrix.image, 'centos')
- name: Enable EPEL (Rocky Linux)
if: contains(matrix.image, 'Rocky Linux')
run: |
yum -y install epel-release
- name: Enable EPEL (Oracle Linux 8)
Expand All @@ -140,8 +140,8 @@ jobs:
if: contains(matrix.image, 'oraclelinux:9')
run: |
dnf -y install oracle-epel-release-el9
- name: Install dependencies for libfds and IPFIXcol2 (CentOS, Oracle Linux)
if: contains(matrix.image, 'centos') || contains(matrix.image, 'oraclelinux')
- name: Install dependencies for libfds and IPFIXcol2 (Rocky Linux, Oracle Linux)
if: contains(matrix.image, 'rockylinux') || contains(matrix.image, 'oraclelinux')
run: |
yum -y install git gcc gcc-c++ cmake make libxml2-devel lz4-devel libzstd-devel
yum -y install zlib-devel pkgconfig rpm-build librdkafka-devel
Expand Down

0 comments on commit dee93d7

Please sign in to comment.