From d52b2f1ffae578654f8a0b0e9bd7d17e2922b91f Mon Sep 17 00:00:00 2001 From: Michal Sedlak Date: Mon, 5 Aug 2024 12:33:19 +0200 Subject: [PATCH] ci: replace EOL CentOS Stream 8 with Rocky Linux 8 --- .github/workflows/main.yml | 14 +++++++------- .github/workflows/packages.yml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 008312bd..a0875ee8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: - 'debian:buster' - 'debian:bullseye' - 'debian:bookworm' - - 'quay.io/centos/centos:stream8' + - 'rockylinux:8' - 'oraclelinux:8' - 'oraclelinux:9' @@ -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 @@ -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) @@ -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 diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 53dceebf..2d651c64 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -91,7 +91,7 @@ jobs: fail-fast: false matrix: image: - - 'quay.io/centos/centos:stream8' + - 'rockylinux:8' - 'oraclelinux:8' - 'oraclelinux:9' @@ -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 @@ -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) @@ -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