tests/regression: do not schedule skipped tests

Also fail in case it does get scheduled so we actually notice.
This commit is contained in:
Jakub Rusz 2024-08-01 13:43:42 +02:00 committed by Alexander Todorov
parent dd82900f53
commit 9a223500aa
3 changed files with 4 additions and 4 deletions

View file

@ -245,7 +245,7 @@ regression-composer-works-behind-satellite-fallback:
extends: .regression
rules:
# BLACKLIST: Skipped on subscribed RHEL machines
- if: $RUNNER !~ "/^.*(rhel-.*-ga|centos|fedora).*$/" && $RUNNER !~ "/^.*(rhel-9.5).*$/" && $CI_PIPELINE_SOURCE != "schedule"
- if: $RUNNER !~ "/^.*(rhel-.*-ga|centos|fedora).*$/" && $RUNNER !~ "/^.*(rhel-9.5|rhel-10.0).*$/" && $CI_PIPELINE_SOURCE != "schedule"
variables:
SCRIPT: regression-composer-works-behind-satellite-fallback.sh
@ -253,7 +253,7 @@ regression-composer-works-behind-satellite:
extends: .regression
rules:
# BLACKLIST: Skipped on subscribed RHEL machines
- if: $RUNNER !~ "/^.*(rhel-.*-ga|centos|fedora).*$/" && $RUNNER !~ "/^.*(rhel-9.5).*$/" && $CI_PIPELINE_SOURCE != "schedule"
- if: $RUNNER !~ "/^.*(rhel-.*-ga|centos|fedora).*$/" && $RUNNER !~ "/^.*(rhel-9.5|rhel-10.0).*$/" && $CI_PIPELINE_SOURCE != "schedule"
variables:
SCRIPT: regression-composer-works-behind-satellite.sh

View file

@ -50,7 +50,7 @@ case "${ID}" in
if [[ "$VERSION_ID" == "9.5" || "$VERSION_ID" == "10.0" ]]; then
# fails eventhough we call update-ca-trust, see previous commit
echo "This test has been disabled b/c DNF fails with self-signed certificates"
exit 0
exit 1
fi
case "${VERSION_ID%.*}" in

View file

@ -81,7 +81,7 @@ case "${ID}" in
if [[ "$VERSION_ID" == "9.5" || "$VERSION_ID" == "10.0" ]]; then
# fails eventhough we call update-ca-trust, see previous commit
echo "This test has been disabled b/c DNF fails with self-signed certificates"
exit 0
exit 1
fi
case "${VERSION_ID%.*}" in