mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Fix cargo-check-benches job (#12301)
This commit is contained in:
+12
-12
@@ -131,6 +131,18 @@ default:
|
|||||||
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
|
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
|
||||||
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||||
|
|
||||||
|
# handle the specific case where benches could store incorrect bench data because of the downstream staging runs
|
||||||
|
# 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$/
|
||||||
|
when: never
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "web"
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
|
- if: $CI_COMMIT_REF_NAME == "master"
|
||||||
|
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
|
||||||
|
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||||
|
|
||||||
.test-refs-no-trigger:
|
.test-refs-no-trigger:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "pipeline"
|
- if: $CI_PIPELINE_SOURCE == "pipeline"
|
||||||
@@ -150,18 +162,6 @@ default:
|
|||||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
|
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
|
||||||
|
|
||||||
# handle the specific case where benches could store incorrect bench data because of the downstream staging runs
|
|
||||||
# exclude cargo-check-benches from such runs
|
|
||||||
.test-refs-no-trigger-prs-only-check-benches:
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "parent_pipeline" && $CI_IMAGE =~ /staging$/
|
|
||||||
when: never
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "pipeline"
|
|
||||||
when: never
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "web"
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
||||||
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
|
|
||||||
|
|
||||||
.test-refs-wasmer-sandbox:
|
.test-refs-wasmer-sandbox:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "web"
|
- if: $CI_PIPELINE_SOURCE == "web"
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ cargo-check-benches:
|
|||||||
CI_JOB_NAME: "cargo-check-benches"
|
CI_JOB_NAME: "cargo-check-benches"
|
||||||
extends:
|
extends:
|
||||||
- .docker-env
|
- .docker-env
|
||||||
- .test-refs-no-trigger-prs-only-check-benches
|
- .test-refs-check-benches
|
||||||
- .collect-artifacts
|
- .collect-artifacts
|
||||||
- .pipeline-stopper-artifacts
|
- .pipeline-stopper-artifacts
|
||||||
before_script:
|
before_script:
|
||||||
|
|||||||
Reference in New Issue
Block a user