mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-09 20:27:06 +00:00
fix .test-refs-check-benches condition (#13906)
This check is meant to catch pipelines triggered by the scripts ci-linux staging tests. The correct CI_PIPELINE_SOURCE for multi-project pipelines such as this is "pipeline"; "parent_pipeline" is only set for child pipelines triggered /within the same repo/. cf https://docs.gitlab.com/ee/ci/jobs/job_control.html#common-if-clauses-for-rules
This commit is contained in:
1 parent
3c1fb62621
commit
35388a5132
1 file changed
+1
-1
@@ -179,7 +179,7 @@ variables:
|
||||
# exclude cargo-check-benches from such runs
|
||||
.test-refs-check-benches:
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "parent_pipeline" && $CI_IMAGE =~ /staging$/
|
||||
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "pipeline" && $CI_IMAGE =~ /staging$/
|
||||
when: never
|
||||
- if: $CI_PIPELINE_SOURCE == "web"
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
||||
Reference in new issue
Block a user