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

Commit 3f434df

Browse files
TriplEightgnunicornakrus3kritbkchr
authored
CI: run cargo deny nightly (#8376)
* CI: run cargo deny only nightly before it's fixed * Release missing 3.0 crates: pallet-node-authorization sc-finality-grandpa-warp-sync (#8360) * bump pallet-node-authorization * prepping sc-finality-grandpa-warp-sync for release * bump Cargo.lock * Update ss58-registry.json (#8351) Added Plasm Network description * [CI] Require D*-audit labels for any runtime changes (#8345) * add check for audit labels if runtime change * fix shellcheck nits * include lib.sh in check_runtime.sh * fix check_labels.sh * fix check_labels.sh * oops, this is github actions... * why wont this work * fetch all refs * Update check-labels.yml * print env - wtf is happening * checkout the PR... * ffs * fix * REVERT ME: test runtime check * Revert "REVERT ME: test runtime check" This reverts commit 0fd2b04. * Fix CI benchmark check (#8380) * CI: run cargo deny only nightly before it's fixed Co-authored-by: Benjamin Kampmann <[email protected]> Co-authored-by: Aleksandr Krupenkin <[email protected]> Co-authored-by: Martin Pugh <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
1 parent 66098c2 commit 3f434df

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.gitlab-ci.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ default:
119119
- if: $CI_COMMIT_REF_NAME == "tags"
120120
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
121121

122+
.nightly-pipeline: &nightly-pipeline
123+
rules:
124+
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
125+
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
126+
122127
#### stage: .pre
123128

124129
skip-if-draft:
@@ -199,17 +204,7 @@ test-prometheus-alerting-rules:
199204
cargo-deny:
200205
stage: test
201206
<<: *docker-env
202-
rules:
203-
- if: $CI_PIPELINE_SOURCE == "pipeline"
204-
when: never
205-
- changes:
206-
- "Cargo.lock"
207-
- "**/Cargo.toml"
208-
- if: $CI_PIPELINE_SOURCE == "web"
209-
- if: $CI_PIPELINE_SOURCE == "schedule"
210-
- if: $CI_COMMIT_REF_NAME == "master"
211-
- if: $CI_COMMIT_REF_NAME == "tags"
212-
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
207+
<<: *nightly-pipeline
213208
script:
214209
- cargo deny check --hide-inclusion-graph -c .maintain/deny.toml
215210
after_script:
@@ -654,9 +649,7 @@ deploy-prometheus-alerting-rules:
654649

655650
trigger-simnet:
656651
stage: deploy
657-
rules:
658-
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
659-
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
652+
<<: *nightly-pipeline
660653
needs:
661654
- job: publish-docker-substrate
662655
trigger:

0 commit comments

Comments
 (0)