Skip to content
Snippets Groups Projects
Commit 83a86ab1 authored by Mira Ressel's avatar Mira Ressel Committed by GitHub
Browse files

Make triggered multi-project pipelines uninterruptible (#7076)

parent b50e512e
Branches
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment