mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
Make triggered multi-project pipelines uninterruptible (#7076)
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
# moment of time.
|
||||
|
||||
stages:
|
||||
- .pre
|
||||
- weights
|
||||
- check
|
||||
- test
|
||||
@@ -185,6 +186,23 @@ default:
|
||||
after_script:
|
||||
- buildah logout --all
|
||||
|
||||
#### stage: .pre
|
||||
|
||||
# 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
|
||||
#
|
||||
# In those cases, we add an uninterruptible .pre job; once that one has started,
|
||||
# the entire pipeline becomes uninterruptible.
|
||||
uninterruptible-pipeline:
|
||||
extends: .kubernetes-env
|
||||
variables:
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
stage: .pre
|
||||
interruptible: false
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "pipeline"
|
||||
script: "true"
|
||||
|
||||
include:
|
||||
# weights jobs
|
||||
- scripts/ci/gitlab/pipeline/weights.yml
|
||||
|
||||
Reference in New Issue
Block a user