From c5d62909e8a693e4b9eabf1e12cbc4fc7be9281a Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 4 Feb 2022 12:37:42 +0200 Subject: [PATCH] tests: Don't run cloud API tests for nightly trees https://coreos.slack.com/archives/C0235DZB0DT/p1643969527395979?thread_ts=1643968867.786629&cid=C0235DZB0DT Note: koji.sh already checks the $NIGHTLY variable and just exits --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d624a02c3..ddc15be56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -380,8 +380,8 @@ API: extends: .terraform rules: - if: '$CI_PIPELINE_SOURCE != "schedule"' - - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.0-[^ga][\S]+/ && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' - - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-8.6-[^ga][\S]+/ && $NIGHTLY == "true" && $RHEL_MAJOR == "8"' + # note: cloud API is not supported for on-prem installations so + # don't run this test case for nightly trees script: - schutzbot/deploy.sh - /usr/libexec/tests/osbuild-composer/api.sh ${IMAGE_TYPE}