gitlab: make the schedule rules a bit more general
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>
This commit is contained in:
parent
d9e58fd1b2
commit
c689e3423c
1 changed files with 2 additions and 2 deletions
|
|
@ -45,8 +45,8 @@ variables:
|
||||||
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_TAG'
|
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_TAG'
|
||||||
when: never
|
when: never
|
||||||
|
|
||||||
# Scheduled runs on mainline don't get pipelines except for the special Coverity job
|
# Scheduled jobs should explicitly enable the run in their job rules
|
||||||
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_PIPELINE_SOURCE == "schedule"'
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
when: never
|
when: never
|
||||||
|
|
||||||
# Cirrus jobs can't run unless the creds / target repo are set
|
# Cirrus jobs can't run unless the creds / target repo are set
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue