]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
gitlab: make the schedule rules a bit more general
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 17 Nov 2025 11:55:22 +0000 (11:55 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 17 Nov 2025 15:51:00 +0000 (15:51 +0000)
By default no jobs should run under the schedule and then we can be
more explicit for the ones that we need to. Otherwise I trigger all my
custom runners every time I do a scheduled run.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20251117115523.3993105-18-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
.gitlab-ci.d/base.yml

index 60a24a9d14d84014e4a4d091aa505d5a85f91258..921c5620008c79503930cc80469af96c22091098 100644 (file)
@@ -45,8 +45,8 @@ variables:
     - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_TAG'
       when: never
 
-    # Scheduled runs on mainline don't get pipelines except for the special Coverity job
-    - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_PIPELINE_SOURCE == "schedule"'
+    # Scheduled jobs should explicitly enable the run in their job rules
+    - if: '$CI_PIPELINE_SOURCE == "schedule"'
       when: never
 
     # Cirrus jobs can't run unless the creds / target repo are set