tests/CI: additional scheduling and loggin updates

Do not schedule gcp.sh on rhel-10 and centos-stream-10. Also improve
loggin for aws.sh and azure.sh as the cloud-image-val testing is
currently not preformed there.
This commit is contained in:
Jakub Rusz 2024-08-01 14:00:48 +02:00 committed by Alexander Todorov
parent 9a223500aa
commit 306772aafa
5 changed files with 10 additions and 2 deletions

View file

@ -262,6 +262,7 @@ if nvrGreaterOrEqual "osbuild-composer" "83"; then
# TODO: Remove this workaround, once CLOUDX-994 is resolved
if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} == 10 ]]; then
RESULTS=1
yellowprint "WARNING: cloud-image-val currently skipped until CLOUDX-994 is resolved!"
else
sudo "${CONTAINER_RUNTIME}" run \
--net=host \

View file

@ -243,6 +243,7 @@ if nvrGreaterOrEqual "osbuild-composer" "83"; then
# TODO: Remove this workaround, once CLOUDX-994 is resolved
if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} == 10 ]]; then
RESULTS=1
yellowprint "WARNING: cloud-image-val currently skipped until CLOUDX-994 is resolved!"
else
sudo "${CONTAINER_RUNTIME}" run \
--net=host \

View file

@ -14,7 +14,7 @@ set -euo pipefail
if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} == 10 ]]; then
echo "Temporary disabled b/c GCP isn't suported on el10"
exit 0
exit 1
fi
# Container image used for cloud provider CLI tools

View file

@ -38,6 +38,10 @@ function greenprint {
echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m"
}
function yellowprint {
echo -e "\033[1;33m[$(date -Isecond)] ${1}\033[0m"
}
function redprint {
echo -e "\033[1;31m[$(date -Isecond)] ${1}\033[0m"
}