mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +00:00
Add rusty-cachier notify job (#11554)
* Add `rusty-cachier notify` job * Add comments
This commit is contained in:
@@ -34,6 +34,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- publish
|
- publish
|
||||||
- deploy
|
- deploy
|
||||||
|
- notify
|
||||||
|
|
||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
@@ -88,6 +89,8 @@ default:
|
|||||||
- rustup +nightly show
|
- rustup +nightly show
|
||||||
- cargo +nightly --version
|
- cargo +nightly --version
|
||||||
|
|
||||||
|
# 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
|
||||||
.rusty-cachier:
|
.rusty-cachier:
|
||||||
before_script:
|
before_script:
|
||||||
- curl -s https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.parity.io/parity/infrastructure/ci_cd/rusty-cachier/client/-/raw/release/util/install.sh | bash
|
- curl -s https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.parity.io/parity/infrastructure/ci_cd/rusty-cachier/client/-/raw/release/util/install.sh | bash
|
||||||
@@ -216,6 +219,16 @@ deploy-prometheus-alerting-rules:
|
|||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- ./scripts/ci/monitoring/**/*
|
- ./scripts/ci/monitoring/**/*
|
||||||
|
|
||||||
|
#### stage: notify
|
||||||
|
|
||||||
|
# This job notifies rusty-cachier about the latest commit with the cache.
|
||||||
|
# This info is later used for the cache distribution and an overlay creation.
|
||||||
|
rusty-cachier-notify:
|
||||||
|
stage: notify
|
||||||
|
<<: *docker-env
|
||||||
|
script:
|
||||||
|
- rusty-cachier cache notify
|
||||||
|
|
||||||
#### stage: .post
|
#### stage: .post
|
||||||
|
|
||||||
# This job cancels the whole pipeline if any of provided jobs fail.
|
# This job cancels the whole pipeline if any of provided jobs fail.
|
||||||
|
|||||||
Reference in New Issue
Block a user