[ci] Improve pipeline stopper (#6300)

* [ci] Improve pipeline stopper

* break test-linux-stable

* fix test-linux-stable
This commit is contained in:
Alexander Samusev
2022-11-16 14:49:17 +01:00
committed by GitHub
parent 4b9f3aa82c
commit 40221806d4
+17 -1
View File
@@ -227,8 +227,24 @@ deploy-parity-testnet:
PR_NUM: "${PR_NUM}" PR_NUM: "${PR_NUM}"
trigger: trigger:
project: "parity/infrastructure/ci_cd/pipeline-stopper" project: "parity/infrastructure/ci_cd/pipeline-stopper"
branch: "as-improve"
.cancel-pipeline-test-linux-stable: remove-cancel-pipeline-message:
stage: .post
rules:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
variables:
PROJECT_ID: "${CI_PROJECT_ID}"
PROJECT_NAME: "${CI_PROJECT_NAME}"
PIPELINE_ID: "${CI_PIPELINE_ID}"
FAILED_JOB_URL: "https://gitlab.com"
FAILED_JOB_NAME: "nope"
PR_NUM: "${CI_COMMIT_REF_NAME}"
trigger:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
branch: "as-improve"
cancel-pipeline-test-linux-stable:
extends: .cancel-pipeline-template extends: .cancel-pipeline-template
needs: needs:
- job: test-linux-stable - job: test-linux-stable