Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 76f17e2

Browse files
authored
Switch to Rocky Linux given for testing given CentOS 8 is EOL
1 parent 0c94eb4 commit 76f17e2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/script-library.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: "!contains(github.event.head_commit.message, 'Automated update') && !contains(github.event.head_commit.message, 'CI ignore')"
1414
strategy:
1515
matrix:
16-
os: ["debian:bullseye", "debian:buster", "ubuntu:focal", "ubuntu:bionic", alpine, centos, "mcr.microsoft.com/oryx/build:github-actions-20210902.1"]
16+
os: ["debian:bullseye", "debian:buster", "ubuntu:focal", "ubuntu:bionic", alpine, rockylinux, "mcr.microsoft.com/oryx/build:github-actions-20210902.1"]
1717
defaults: ["true", "false"]
1818
fail-fast: false
1919
runs-on: ubuntu-latest

script-library/test/regression/run-scripts.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ runScript()
4444
DISTRO="${ID_LIKE}"
4545
if [ -z "${DISTRO}" ]; then
4646
DISTRO="${ID}"
47-
elif [ "${DISTRO}" = "rhel fedora" ] || [ "${DISTRO}" = "rhel" ] || [ "${DISTRO}" = "fedora" ]; then
47+
fi
48+
if [ "${DISTRO}" = *"rhel"* ] || [ "${DISTRO}" = *"centos"* ] || [ "${DISTRO}" = *"fedora"* ]; then
4849
DISTRO="redhat"
4950
fi
5051

0 commit comments

Comments
 (0)