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

[ci] Improve pipeline-cancel job #1725

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ test-linux-stable:
# but still want to have debug assertions.
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
script:
# --------- remove me ------
- sleep 30; exit 1
# --------------------------
- time cargo nextest run --all --release --locked --run-ignored all

test-doc:
Expand Down Expand Up @@ -640,7 +643,7 @@ zombienet-0005-migrate_solo_to_para:
# This job cancels the whole pipeline if any of provided jobs fail.
# In a DAG, every jobs chain is executed independently of others. The `fail_fast` principle suggests
# to fail the pipeline as soon as possible to shorten the feedback loop.
.cancel-pipeline:
cancel-pipeline:
stage: .post
needs:
- job: test-linux-stable
Expand All @@ -656,3 +659,5 @@ zombienet-0005-migrate_solo_to_para:
PR_NUM: "${PR_NUM}"
trigger:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
# remove branch, when pipeline-stopper for substrate and polakdot is updated to the same branch
branch: "as-improve"