mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
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 0fd2b04abeeac12dd8ede4c0708cb796f9e3e722. * Fix CI benchmark check (#8380) * CI: run cargo deny only nightly before it's fixed Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org> Co-authored-by: Aleksandr Krupenkin <mail@akru.me> Co-authored-by: Martin Pugh <pugh@s3kr.it> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -119,6 +119,11 @@ default:
|
||||
- if: $CI_COMMIT_REF_NAME == "tags"
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||
|
||||
.nightly-pipeline: &nightly-pipeline
|
||||
rules:
|
||||
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
|
||||
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
|
||||
|
||||
#### stage: .pre
|
||||
|
||||
skip-if-draft:
|
||||
@@ -199,17 +204,7 @@ test-prometheus-alerting-rules:
|
||||
cargo-deny:
|
||||
stage: test
|
||||
<<: *docker-env
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "pipeline"
|
||||
when: never
|
||||
- changes:
|
||||
- "Cargo.lock"
|
||||
- "**/Cargo.toml"
|
||||
- if: $CI_PIPELINE_SOURCE == "web"
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
- if: $CI_COMMIT_REF_NAME == "master"
|
||||
- if: $CI_COMMIT_REF_NAME == "tags"
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||
<<: *nightly-pipeline
|
||||
script:
|
||||
- cargo deny check --hide-inclusion-graph -c .maintain/deny.toml
|
||||
after_script:
|
||||
@@ -654,9 +649,7 @@ deploy-prometheus-alerting-rules:
|
||||
|
||||
trigger-simnet:
|
||||
stage: deploy
|
||||
rules:
|
||||
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
|
||||
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
|
||||
<<: *nightly-pipeline
|
||||
needs:
|
||||
- job: publish-docker-substrate
|
||||
trigger:
|
||||
|
||||
Reference in New Issue
Block a user