From: Victor Julien Date: Mon, 3 Jun 2024 16:24:57 +0000 (+0200) Subject: github-action: remove end of life CentOS 8 stream X-Git-Tag: suricata-7.0.6~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6520aaf80a985aaab83b4d3001787a080dda050;p=thirdparty%2Fsuricata.git github-action: remove end of life CentOS 8 stream (cherry picked from commit 130d75f0254d992ceb956ab67edc76e8bec40f62) --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index e4358b45a2..acc2ba69fc 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -559,93 +559,6 @@ jobs: - run: suricata-update -V - run: suricatasc -h - centos-stream8: - name: CentOS Stream 8 - runs-on: ubuntu-latest - container: quay.io/centos/centos:stream8 - needs: [prepare-deps, debian-12-dist] - steps: - # Cache Rust stuff. - - name: Cache cargo registry - uses: actions/cache@v3.3.1 - with: - path: ~/.cargo - key: ${{ github.job }}-cargo - - - name: Cache RPMs - uses: actions/cache@v3.3.1 - with: - path: /var/cache/dnf - key: ${{ github.job }}-dnf - - run: echo "keepcache=1" >> /etc/dnf/dnf.conf - - - name: Install system packages - run: | - dnf -y install dnf-plugins-core epel-release - dnf config-manager --set-enabled powertools - dnf -y install \ - autoconf \ - automake \ - diffutils \ - numactl-devel \ - dpdk-devel \ - file-devel \ - gcc \ - gcc-c++ \ - git \ - jansson-devel \ - jq \ - lua-devel \ - libtool \ - libyaml-devel \ - libnfnetlink-devel \ - libnetfilter_queue-devel \ - libnet-devel \ - libcap-ng-devel \ - libevent-devel \ - libmaxminddb-devel \ - libpcap-devel \ - libtool \ - lz4-devel \ - make \ - nss-devel \ - pcre2-devel \ - pkgconfig \ - python3-devel \ - python3-yaml \ - rust-toolset \ - sudo \ - which \ - zlib-devel - - name: Download suricata.tar.gz - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a - with: - name: dist - - run: tar zxvf suricata-*.tar.gz --strip-components=1 - - name: ./configure - run: CFLAGS="${DEFAULT_CFLAGS}" ./configure - - run: make -j2 - - run: make install - - run: make install-conf - - run: suricatasc -h - - run: suricata-update -V - - name: Check if Suricata-Update example configuration files are installed - run: | - test -e /usr/local/lib/suricata/python/suricata/update/configs/disable.conf - test -e /usr/local/lib/suricata/python/suricata/update/configs/drop.conf - test -e /usr/local/lib/suricata/python/suricata/update/configs/enable.conf - test -e /usr/local/lib/suricata/python/suricata/update/configs/modify.conf - test -e /usr/local/lib/suricata/python/suricata/update/configs/threshold.in - test -e /usr/local/lib/suricata/python/suricata/update/configs/update.yaml - - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a - with: - name: prep - path: prep - - run: tar xf prep/suricata-verify.tar.gz - - run: python3 ./suricata-verify/run.py -q --debug-failed - - run: suricata-update -V - - run: suricatasc -h - centos-7: name: CentOS 7 runs-on: ubuntu-latest