From 82d89fea3e4132326ec5132a2bd8aa1daf18befd Mon Sep 17 00:00:00 2001 From: alvicsam Date: Tue, 20 Sep 2022 11:29:54 +0200 Subject: [PATCH 1/3] [WIP][ci] Revert cancel-pipeline job --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9df4c0b618661..22c134700fc66 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -278,8 +278,6 @@ rusty-cachier-notify: PR_NUM: "${PR_NUM}" trigger: project: "parity/infrastructure/ci_cd/pipeline-stopper" - # remove branch, when pipeline-stopper for polakdot is updated to the same branch - branch: "as-improve" # need to copy jobs this way because otherwise gitlab will wait # for all 3 jobs to finish instead of cancelling if one fails From 9ee803d9ef51950490474740f189e0f5c81c3da7 Mon Sep 17 00:00:00 2001 From: alvicsam Date: Tue, 20 Sep 2022 11:37:04 +0200 Subject: [PATCH 2/3] fail test-linux-stable --- .gitlab-ci.yml | 2 +- scripts/ci/gitlab/pipeline/test.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22c134700fc66..e6f26cbfd5cf7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,7 +41,7 @@ workflow: - if: $CI_COMMIT_TAG - if: $CI_COMMIT_BRANCH -variables: &default-vars +variables: GIT_STRATEGY: fetch GIT_DEPTH: 100 CARGO_INCREMENTAL: 0 diff --git a/scripts/ci/gitlab/pipeline/test.yml b/scripts/ci/gitlab/pipeline/test.yml index e85ab85afe6ed..b226cf07c3099 100644 --- a/scripts/ci/gitlab/pipeline/test.yml +++ b/scripts/ci/gitlab/pipeline/test.yml @@ -219,6 +219,7 @@ test-linux-stable: CI_JOB_NAME: "test-linux-stable" parallel: 3 script: + - - if [ ${CI_NODE_INDEX} == 1 ]; exit 1; fi - rusty-cachier snapshot create # this job runs all tests in former runtime-benchmarks, frame-staking and wasmtime tests # tests are partitioned by nextest and executed in parallel on $CI_NODE_TOTAL runners From 9ffa592fd3969bae12287cac814a5364b66f6d70 Mon Sep 17 00:00:00 2001 From: alvicsam Date: Tue, 20 Sep 2022 11:45:40 +0200 Subject: [PATCH 3/3] fix test-linux-stable --- scripts/ci/gitlab/pipeline/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/ci/gitlab/pipeline/test.yml b/scripts/ci/gitlab/pipeline/test.yml index b226cf07c3099..e85ab85afe6ed 100644 --- a/scripts/ci/gitlab/pipeline/test.yml +++ b/scripts/ci/gitlab/pipeline/test.yml @@ -219,7 +219,6 @@ test-linux-stable: CI_JOB_NAME: "test-linux-stable" parallel: 3 script: - - - if [ ${CI_NODE_INDEX} == 1 ]; exit 1; fi - rusty-cachier snapshot create # this job runs all tests in former runtime-benchmarks, frame-staking and wasmtime tests # tests are partitioned by nextest and executed in parallel on $CI_NODE_TOTAL runners