[ci] scripts: don't rebuild for every pallet benchmark (#5126)

* scripts: don't rebuild for every pallet benchmark

* ci: remove orphan variable

* [ci] run_benches_for_runtime.sh: explicit relative path names

* [ci] scripts: handle failing benchmarks
This commit is contained in:
Mara Robin B
2022-03-15 15:59:33 +01:00
committed by GitHub
parent 109c422149
commit 2c8ea1e0e4
2 changed files with 18 additions and 20 deletions
+1 -4
View File
@@ -514,13 +514,12 @@ update_polkadot_weights: &update-weights
stage: stage2
when: manual
variables:
PROFILE: production
RUNTIME: polkadot
artifacts:
paths:
- ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
script:
- ./scripts/run_benches_for_runtime.sh $RUNTIME $PROFILE
- ./scripts/run_benches_for_runtime.sh $RUNTIME
- git diff -P > ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
# uses the "shell" executors
tags:
@@ -529,13 +528,11 @@ update_polkadot_weights: &update-weights
update_kusama_weights:
<<: *update-weights
variables:
PROFILE: production
RUNTIME: kusama
update_westend_weights:
<<: *update-weights
variables:
PROFILE: production
RUNTIME: westend
#### stage: stage3