tests: remove all disabling conditions for RHEL 9.0

RHEL 9.0 isn't yet in .gitlab-ci.yml so this actually doesn't change in test
runs but it should make enabling of the tests easier.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-07-27 12:31:53 +02:00 committed by Ondřej Budai
parent fa111f82a4
commit 7a298c838b
4 changed files with 1 additions and 22 deletions

View file

@ -20,12 +20,6 @@ mkdir -p "${ARTIFACTS}"
source /etc/os-release
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
#TODO: remove this once there is rhel9 support for necessary image types
if [[ $DISTRO_CODE == rhel_90 ]]; then
echo "Skipped"
exit 0
fi
#
# Provision the software under test.
#

View file

@ -9,12 +9,6 @@ function greenprint {
echo -e "\033[1;32m${1}\033[0m"
}
#TODO: Remove this once there is rhel9 support for AMI image type
if [[ $DISTRO_CODE == rhel_90 ]]; then
greenprint "Skipped"
exit 0
fi
# Provision the software under test.
/usr/libexec/osbuild-composer-test/provision.sh

View file

@ -12,12 +12,6 @@ function greenprint {
echo -e "\033[1;32m${1}\033[0m"
}
#TODO: Remove this once there is rhel9 support for Azure image type
if [[ $DISTRO_CODE == rhel_90 ]]; then
greenprint "Skipped"
exit 0
fi
# Provision the software under test.
/usr/libexec/osbuild-composer-test/provision.sh

View file

@ -11,10 +11,7 @@ DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
# Test the images
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2
#TODO: remove this condition once there is rhel9 support for openstack and vhd image types
if [[ "$DISTRO_CODE" != rhel_90 ]]; then
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
fi
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
# RHEL 8.4 and Centos Stream 8 images also supports uefi, check that
if [[ "$DISTRO_CODE" == "rhel_84" || "$DISTRO_CODE" == "rhel_85" || "$DISTRO_CODE" == "centos_8" || "$DISTRO_CODE" == "rhel_90" ]]; then