Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Make triggered multi-project pipelines uninterruptible
Browse files Browse the repository at this point in the history
  • Loading branch information
Mira Ressel committed Apr 13, 2023
1 parent f406b47 commit a359e1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ check-crates-publishing-pipeline:
- ONLY_CHECK_PIPELINE=true ./releng-scripts/publish-crates

# By default our pipelines are interruptible, but some special pipelines shouldn't be interrupted:
# * multi-project pipelines such as the ones triggered by the scripts repo
# * the scheduled automatic-crate-publishing pipeline
#
# In those cases, we add an interruptible .pre job; once that one has started,
Expand All @@ -286,6 +287,7 @@ uninterruptible-pipeline:
stage: .pre
interruptible: false
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline"
- if: $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "automatic-crate-publishing"
script: "true"

Expand Down

0 comments on commit a359e1e

Please sign in to comment.