Signed-off-by: Dan Mick <dmick@redhat.com>
# XXX perhaps use job parameters instead of literals; then
# later stages can also use them to compare etc.
-if [[ "$CI_CONTAINER" == true && $DISTRO == "centos" && $RELEASE == "8" ]] ; then
+if [[ "$CI_CONTAINER" == true && $DISTRO == "centos" && "$RELEASE" =~ 8|9 ]] ; then
loop=0
ready=false
while ((loop < 15)); do
# XXX perhaps use job parameters instead of literals; then
# later stages can also use them to compare etc.
# build container image that supports building crimson-osd
-if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && $RELEASE == "8" ]] ; then
+if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && "$RELEASE" =~ 8|9 ]] ; then
loop=0
ready=false
while ((loop < 15)); do