]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
gitlab: suppress custom runners being triggered by schedule
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 17 Nov 2025 11:55:20 +0000 (11:55 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 17 Nov 2025 15:51:00 +0000 (15:51 +0000)
Otherwise the mere presence of the RUNNER env vars is enough to
trigger the jobs.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20251117115523.3993105-16-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
.gitlab-ci.d/custom-runners/debian-13-ppc64le.yml
.gitlab-ci.d/custom-runners/ubuntu-24.04-aarch64.yml
.gitlab-ci.d/custom-runners/ubuntu-24.04-s390x.yml

index e088c3b67b7bf8bb839c0cc841b650206f472b08..40b1f408f90c69571e0f0f3be6680a873def7ede 100644 (file)
@@ -11,7 +11,7 @@
     - ppc64le
   rules:
     - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /^staging/'
-    - if: "$PPC64LE_RUNNER_AVAILABLE"
+    - if: '$PPC64LE_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule"'
   before_script:
     - source scripts/ci/gitlab-ci-section
     - section_start setup "Pre-script setup"
index 6f950baee0d01240ebd0c10af271af64b7defce4..c8adb8171c04bee4d7ffb9240ea995ecaee9b54f 100644 (file)
@@ -11,7 +11,7 @@
     - aarch64
   rules:
     - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
-    - if: "$AARCH64_RUNNER_AVAILABLE"
+    - if: '$AARCH64_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule"'
   before_script:
     - source scripts/ci/gitlab-ci-section
     - section_start setup "Pre-script setup"
index 2fc940e127c1fa80b7a3de6764d385d791de9af2..fb093d05b5d72bab330a31e878dc7b0bd6167c70 100644 (file)
@@ -11,7 +11,7 @@
     - s390x
   rules:
     - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /^staging/'
-    - if: "$S390X_RUNNER_AVAILABLE"
+    - if: '$S390X_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule"'
   before_script:
     - source scripts/ci/gitlab-ci-section
     - section_start setup "Pre-script setup"