mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
[ci] Divide subsystem-regression-tests into 2 jobs (#4076)
Currently `subsystem-regression-tests` job fails if the first benchmarks fail and there is no result for the second benchmark. Also dividing the job makes the pipeline faster (currently it's a longest job) cc https://github.com/paritytech/ci_cd/issues/969 cc @AndreiEres --------- Co-authored-by: Andrei Eres <eresav@me.com>
This commit is contained in:
committed by
GitHub
parent
f13408d57f
commit
6ebf491b50
@@ -70,7 +70,9 @@ publish-subsystem-benchmarks:
|
|||||||
- .kubernetes-env
|
- .kubernetes-env
|
||||||
- .publish-gh-pages-refs
|
- .publish-gh-pages-refs
|
||||||
needs:
|
needs:
|
||||||
- job: subsystem-regression-tests
|
- job: subsystem-benchmark-availability-recovery
|
||||||
|
artifacts: true
|
||||||
|
- job: subsystem-benchmark-availability-distribution
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: publish-rustdoc
|
- job: publish-rustdoc
|
||||||
artifacts: false
|
artifacts: false
|
||||||
@@ -109,7 +111,9 @@ trigger_workflow:
|
|||||||
needs:
|
needs:
|
||||||
- job: publish-subsystem-benchmarks
|
- job: publish-subsystem-benchmarks
|
||||||
artifacts: false
|
artifacts: false
|
||||||
- job: subsystem-regression-tests
|
- job: subsystem-benchmark-availability-recovery
|
||||||
|
artifacts: true
|
||||||
|
- job: subsystem-benchmark-availability-distribution
|
||||||
artifacts: true
|
artifacts: true
|
||||||
script:
|
script:
|
||||||
- echo "Triggering workflow"
|
- echo "Triggering workflow"
|
||||||
|
|||||||
@@ -511,12 +511,12 @@ test-syscalls:
|
|||||||
fi
|
fi
|
||||||
allow_failure: false # this rarely triggers in practice
|
allow_failure: false # this rarely triggers in practice
|
||||||
|
|
||||||
subsystem-regression-tests:
|
subsystem-benchmark-availability-recovery:
|
||||||
stage: test
|
stage: test
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
|
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
|
||||||
when: always
|
when: always
|
||||||
expire_in: 1 days
|
expire_in: 1 hour
|
||||||
paths:
|
paths:
|
||||||
- charts/
|
- charts/
|
||||||
extends:
|
extends:
|
||||||
@@ -525,6 +525,23 @@ subsystem-regression-tests:
|
|||||||
- .run-immediately
|
- .run-immediately
|
||||||
script:
|
script:
|
||||||
- cargo bench --profile=testnet -p polkadot-availability-recovery --bench availability-recovery-regression-bench --features subsystem-benchmarks
|
- cargo bench --profile=testnet -p polkadot-availability-recovery --bench availability-recovery-regression-bench --features subsystem-benchmarks
|
||||||
|
tags:
|
||||||
|
- benchmark
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
subsystem-benchmark-availability-distribution:
|
||||||
|
stage: test
|
||||||
|
artifacts:
|
||||||
|
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
|
expire_in: 1 hour
|
||||||
|
paths:
|
||||||
|
- charts/
|
||||||
|
extends:
|
||||||
|
- .docker-env
|
||||||
|
- .common-refs
|
||||||
|
- .run-immediately
|
||||||
|
script:
|
||||||
- cargo bench --profile=testnet -p polkadot-availability-distribution --bench availability-distribution-regression-bench --features subsystem-benchmarks
|
- cargo bench --profile=testnet -p polkadot-availability-distribution --bench availability-distribution-regression-bench --features subsystem-benchmarks
|
||||||
tags:
|
tags:
|
||||||
- benchmark
|
- benchmark
|
||||||
|
|||||||
Reference in New Issue
Block a user