mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Fix CI after rusty-cachier introduction (#11556)
* Fix CI after `rusty-cachier` introduction * Replace anchor with `extends`
This commit is contained in:
+12
-11
@@ -89,6 +89,16 @@ default:
|
|||||||
- rustup +nightly show
|
- rustup +nightly show
|
||||||
- cargo +nightly --version
|
- cargo +nightly --version
|
||||||
|
|
||||||
|
.docker-env:
|
||||||
|
image: "${CI_IMAGE}"
|
||||||
|
before_script:
|
||||||
|
- !reference [.rust-info-script, script]
|
||||||
|
- !reference [.rusty-cachier, before_script]
|
||||||
|
after_script:
|
||||||
|
- !reference [.rusty-cachier, after_script]
|
||||||
|
tags:
|
||||||
|
- linux-docker
|
||||||
|
|
||||||
# rusty-cachier's hidden job. Parts of this job are used to instrument the pipeline's other real jobs with rusty-cachier
|
# rusty-cachier's hidden job. Parts of this job are used to instrument the pipeline's other real jobs with rusty-cachier
|
||||||
# Description of the commands is available here - https://gitlab.parity.io/parity/infrastructure/ci_cd/rusty-cachier/client#description
|
# Description of the commands is available here - https://gitlab.parity.io/parity/infrastructure/ci_cd/rusty-cachier/client#description
|
||||||
.rusty-cachier:
|
.rusty-cachier:
|
||||||
@@ -100,16 +110,6 @@ default:
|
|||||||
after_script:
|
after_script:
|
||||||
- rusty-cachier snapshot destroy
|
- rusty-cachier snapshot destroy
|
||||||
|
|
||||||
.docker-env:
|
|
||||||
image: "${CI_IMAGE}"
|
|
||||||
before_script:
|
|
||||||
- !reference [.rust-info-script, script]
|
|
||||||
- !reference [.rusty-cachier, before_script]
|
|
||||||
after_script:
|
|
||||||
- !reference [.rusty-cachier, after_script]
|
|
||||||
tags:
|
|
||||||
- linux-docker
|
|
||||||
|
|
||||||
.test-refs:
|
.test-refs:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "web"
|
- if: $CI_PIPELINE_SOURCE == "web"
|
||||||
@@ -225,7 +225,8 @@ deploy-prometheus-alerting-rules:
|
|||||||
# This info is later used for the cache distribution and an overlay creation.
|
# This info is later used for the cache distribution and an overlay creation.
|
||||||
rusty-cachier-notify:
|
rusty-cachier-notify:
|
||||||
stage: notify
|
stage: notify
|
||||||
<<: *docker-env
|
extends:
|
||||||
|
- .docker-env
|
||||||
script:
|
script:
|
||||||
- rusty-cachier cache notify
|
- rusty-cachier cache notify
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user