mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
ci: Allow to run scheduled pipelines
While everything that's merged needs to have passed CI, the testsuite result are not as consistent as we'd like and sometimes regress. It's nice to have have a pipeline hitory of the tests results to make it easier to spot regressions that might have caused racy/flaky tests. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5588>
This commit is contained in:
parent
808c27b4cc
commit
d448639b6d
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,9 @@ variables:
|
||||||
workflow:
|
workflow:
|
||||||
# https://docs.gitlab.com/ee/ci/yaml/index.html#switch-between-branch-pipelines-and-merge-request-pipelines
|
# https://docs.gitlab.com/ee/ci/yaml/index.html#switch-between-branch-pipelines-and-merge-request-pipelines
|
||||||
rules:
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
|
variables:
|
||||||
|
GIT_FETCH_EXTRA_FLAGS: '--no-tags'
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
variables:
|
variables:
|
||||||
GIT_FETCH_EXTRA_FLAGS: '--no-tags'
|
GIT_FETCH_EXTRA_FLAGS: '--no-tags'
|
||||||
|
@ -102,6 +105,8 @@ trigger:
|
||||||
script:
|
script:
|
||||||
- echo "Trigger job done, now running the pipeline."
|
- echo "Trigger job done, now running the pipeline."
|
||||||
rules:
|
rules:
|
||||||
|
# If this pipeline is triggered by a schedule, run automatically
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
# If the MR is assigned to the Merge bot, trigger the pipeline automatically
|
# If the MR is assigned to the Merge bot, trigger the pipeline automatically
|
||||||
- if: '$CI_MERGE_REQUEST_ASSIGNEES == "gstreamer-merge-bot"'
|
- if: '$CI_MERGE_REQUEST_ASSIGNEES == "gstreamer-merge-bot"'
|
||||||
# Require explicit action to trigger tests post merge, but we want to
|
# Require explicit action to trigger tests post merge, but we want to
|
||||||
|
|
Loading…
Reference in a new issue