Skip to content

Commit

Permalink
ci: EOL CentOS Stream 8 and CentOS 7
Browse files Browse the repository at this point in the history
Remove CentOS Stream 8 and CentOS 7, which reached End of Life (EOL) on
on May 31, 2024 and June 30, 2024 respectively.  Replace with CentOS
Stream 9.

Install crb for tpm2-tss-devel and tss2-devel on CentOS stream 9.

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
  • Loading branch information
mimizohar committed Jul 2, 2024
1 parent 6adc50f commit 9c14c92
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ jobs:
TST_KERNEL: ../linux
TST_EVM_CHANGE_MODE: 1

- container: "centos:7"
- container: "quay.io/centos/centos:stream9"
env:
CC: gcc
CC: clang
TSS: tpm2-tss

- container: "debian:testing"
Expand Down
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ matrix:
compiler: clang

- os: linux
env: DISTRO=centos:7 TSS=tpm2-tss CONTAINER=podman CONTAINER_ARGS="--runtime=/usr/bin/crun --network=host"
compiler: gcc

- os: linux
env: REPO="quay.io/centos/" DISTRO="${REPO}centos:stream8" TSS=tpm2-tss CONTAINER=podman CONTAINER_ARGS="--runtime=/usr/bin/crun --network=host"
env: REPO="quay.io/centos/" DISTRO="${REPO}centos:stream9" TSS=tpm2-tss CONTAINER=podman CONTAINER_ARGS="--runtime=/usr/bin/crun --network=host"
compiler: clang

- os: linux
Expand Down
6 changes: 6 additions & 0 deletions ci/fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ if [ -z "$CC" ]; then
exit 1
fi

# Install crb for tss2-devel and tpm2-tss-devel on CentOS stream 9
if [ -f /etc/centos-release ]; then
yum -y install dnf-plugins-core
yum -y config-manager --set-enabled crb
fi

case "$TSS" in
ibmtss) TSS="tss2-devel";;
tpm2-tss) TSS="tpm2-tss-devel";;
Expand Down
1 change: 1 addition & 0 deletions ci/quay.io.sh

0 comments on commit 9c14c92

Please sign in to comment.