fmf: Restrict "-stream" TEST_OS suffix to CentOS 8/9
Our c10s CI image is called "centos-10" without the -stream suffix. This fits better with `os-release` and makes the names shorter. Adjust the building of `$TEST_OS` accordingly. [1] https://github.com/cockpit-project/bots/pull/6218
This commit is contained in:
parent
075846a067
commit
fec7c33258
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ mv .git dot-git
|
||||||
. /run/host/usr/lib/os-release
|
. /run/host/usr/lib/os-release
|
||||||
export TEST_OS="${ID}-${VERSION_ID/./-}"
|
export TEST_OS="${ID}-${VERSION_ID/./-}"
|
||||||
|
|
||||||
if [ "${TEST_OS#centos-}" != "$TEST_OS" ]; then
|
if [ "$TEST_OS" = "centos-8" ] || [ "$TEST_OS" = "centos-9" ]; then
|
||||||
TEST_OS="${TEST_OS}-stream"
|
TEST_OS="${TEST_OS}-stream"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue