ci: quick fix before emqx-builder image is renamed to el7 and el8

This commit is contained in:
Zaiming (Stone) Shi 2022-04-29 07:59:24 +02:00
parent 177926b0a8
commit e5c7c37861
1 changed files with 7 additions and 0 deletions

View File

@ -120,6 +120,13 @@ fi
HOST_SYSTEM="$(./scripts/get-distro.sh)"
BUILDER_SYSTEM="$(echo "$BUILDER" | awk -F'-' '{print $NF}')"
# quick workaround before builder image is renamed
if [ "$BUILDER_SYSTEM" = 'centos7' ]; then
BUILDER_SYSTEM='el7'
elif [ "$BUILDER_SYSTEM" = 'rockylinux8' ]; then
BUILDER_SYSTEM='el8'
fi
CMD_RUN="make ${MAKE_TARGET} && ./scripts/pkg-tests.sh ${MAKE_TARGET}"
IS_NATIVE_SYSTEM='no'