From 0a30d79d9b3a787fd57096db397df3c5050e9571 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Wed, 24 Jul 2024 11:09:35 +0300 Subject: [PATCH] Skip testing in GCP - unsupported for now --- .gitlab-ci.yml | 2 +- test/cases/gcp.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed4665e5c..91931cfae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -484,7 +484,7 @@ azure.sh_hyperv_gen2: # The required GCE image type is not supported on Fedora gcp.sh: extends: .integration_rhel - rules: + rules: - !reference [.upstream_rules_x86_64, rules] - !reference [.nightly_rules_x86_64, rules] - !reference [.ga_rules_x86_64, rules] diff --git a/test/cases/gcp.sh b/test/cases/gcp.sh index 95048e908..9a885ce17 100755 --- a/test/cases/gcp.sh +++ b/test/cases/gcp.sh @@ -12,6 +12,10 @@ source /usr/libexec/tests/osbuild-composer/shared_lib.sh 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 +fi # Container image used for cloud provider CLI tools CONTAINER_IMAGE_CLOUD_TOOLS="quay.io/osbuild/cloud-tools:latest"