Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-07-19 08:47:22 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-07-21 07:36:24 +0300
commit6cb9382aa4b4a8a6260dc5509541e27f4ff39a1f (patch)
tree073d8b58654253fe9f0dca5c4ab1db225df7dd61 /.gitlab-ci.yml
parentd1eec76f35140cc31259b1ffba61500415c595f0 (diff)
ci: Allow running skipped jobs manually
When a job is skipped because no code changed there is no way to run the job manually anymore. Fix this by adding an optional `manual` step to the pipeline for merge requests.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6b4c9cb8..719241b52 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -159,6 +159,9 @@ workflow:
<<: *only_code_changes
- if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable$/'
<<: *only_code_changes
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+ when: manual
+ allow_failure: true
.rules_run_on_merge: &rules_run_on_merge
# We only execute these rules in the main Gitaly repository. This is