From c689e3423cc32bcbfc4f0a08fce4cb2da4867aa1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alex=20Benn=C3=A9e?= Date: Mon, 17 Nov 2025 11:55:22 +0000 Subject: [PATCH] gitlab: make the schedule rules a bit more general MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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é Message-ID: <20251117115523.3993105-18-alex.bennee@linaro.org> Signed-off-by: Alex Bennée --- .gitlab-ci.d/base.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.d/base.yml b/.gitlab-ci.d/base.yml index 60a24a9d14..921c562000 100644 --- a/.gitlab-ci.d/base.yml +++ b/.gitlab-ci.d/base.yml @@ -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 -- 2.47.3