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:
parent
fa111f82a4
commit
7a298c838b
4 changed files with 1 additions and 22 deletions
|
|
@ -20,12 +20,6 @@ mkdir -p "${ARTIFACTS}"
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
|
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.
|
# Provision the software under test.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,6 @@ function greenprint {
|
||||||
echo -e "\033[1;32m${1}\033[0m"
|
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.
|
# Provision the software under test.
|
||||||
/usr/libexec/osbuild-composer-test/provision.sh
|
/usr/libexec/osbuild-composer-test/provision.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,6 @@ function greenprint {
|
||||||
echo -e "\033[1;32m${1}\033[0m"
|
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.
|
# Provision the software under test.
|
||||||
/usr/libexec/osbuild-composer-test/provision.sh
|
/usr/libexec/osbuild-composer-test/provision.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,7 @@ DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
|
||||||
# Test the images
|
# Test the images
|
||||||
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2
|
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2
|
||||||
|
|
||||||
#TODO: remove this condition once there is rhel9 support for openstack and vhd image types
|
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
|
||||||
if [[ "$DISTRO_CODE" != rhel_90 ]]; then
|
|
||||||
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
|
|
||||||
fi
|
|
||||||
|
|
||||||
# RHEL 8.4 and Centos Stream 8 images also supports uefi, check that
|
# 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
|
if [[ "$DISTRO_CODE" == "rhel_84" || "$DISTRO_CODE" == "rhel_85" || "$DISTRO_CODE" == "centos_8" || "$DISTRO_CODE" == "rhel_90" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue