This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree 1 file changed +7
-14
lines changed 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,11 @@ default:
119
119
- if : $CI_COMMIT_REF_NAME == "tags"
120
120
- if : $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
121
121
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
+
122
127
# ### stage: .pre
123
128
124
129
skip-if-draft :
@@ -199,17 +204,7 @@ test-prometheus-alerting-rules:
199
204
cargo-deny :
200
205
stage : test
201
206
<< : *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
213
208
script :
214
209
- cargo deny check --hide-inclusion-graph -c .maintain/deny.toml
215
210
after_script :
@@ -654,9 +649,7 @@ deploy-prometheus-alerting-rules:
654
649
655
650
trigger-simnet :
656
651
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
660
653
needs :
661
654
- job : publish-docker-substrate
662
655
trigger :
You can’t perform that action at this time.
0 commit comments