mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
[ci] Run check-runtime only for PRs (#5858)
* [ci] Run check-runtime only for PRs * fix refs * remove pr ref from check-runtime * adjust dependent jobs * fix dependency
This commit is contained in:
committed by
GitHub
parent
6aef4711dc
commit
596b5df747
@@ -172,7 +172,8 @@ check-runtime:
|
|||||||
stage: stage1
|
stage: stage1
|
||||||
image: paritytech/tools:latest
|
image: paritytech/tools:latest
|
||||||
<<: *kubernetes-env
|
<<: *kubernetes-env
|
||||||
<<: *test-refs
|
rules:
|
||||||
|
- if: $CI_COMMIT_REF_NAME =~ /^release-v[0-9]+\.[0-9]+.*$/ # i.e. release-v0.9.27
|
||||||
variables:
|
variables:
|
||||||
GITLAB_API: "https://gitlab.parity.io/api/v4"
|
GITLAB_API: "https://gitlab.parity.io/api/v4"
|
||||||
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
|
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
|
||||||
@@ -307,7 +308,7 @@ build-staking-miner:
|
|||||||
stage: stage2
|
stage: stage2
|
||||||
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
|
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
|
||||||
needs:
|
needs:
|
||||||
- job: check-runtime
|
- job: cargo-fmt
|
||||||
artifacts: false
|
artifacts: false
|
||||||
<<: *docker-env
|
<<: *docker-env
|
||||||
<<: *test-pr-refs
|
<<: *test-pr-refs
|
||||||
@@ -336,7 +337,7 @@ test-node-metrics:
|
|||||||
stage: stage2
|
stage: stage2
|
||||||
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
|
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
|
||||||
needs:
|
needs:
|
||||||
- job: check-runtime
|
- job: cargo-fmt
|
||||||
artifacts: false
|
artifacts: false
|
||||||
<<: *docker-env
|
<<: *docker-env
|
||||||
<<: *compiler-info
|
<<: *compiler-info
|
||||||
|
|||||||
Reference in New Issue
Block a user