mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
[CI] Add manual Gitlab job for running all benchmarks (#3515)
* initial weights job * add artifact * revertme: changes to test branch * add benchmarking instructions * Revert "revertme: changes to test branch" This reverts commit 2eab22037223967e66a70a16fda14f58e41c6ced. * add kusama + westend weights jobs * fix chevdor comments * add temporary changes for testing again * fix * fix * test sccache fix * Revert "add temporary changes for testing again" This reverts commit bb5a7660151f404994c85abfff31502aac89c1d1. * whitespace
This commit is contained in:
@@ -326,6 +326,33 @@ publish-adder-collator-image:
|
||||
# this artifact is used in trigger-simnet job
|
||||
dotenv: ./artifacts/collator.env
|
||||
|
||||
.update_weights: &update-weights
|
||||
stage: build
|
||||
when: manual
|
||||
tags:
|
||||
- weights
|
||||
variables:
|
||||
RUNTIME: polkadot
|
||||
artifacts:
|
||||
paths:
|
||||
- ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
|
||||
script: |
|
||||
./scripts/run_benches_for_runtime.sh $RUNTIME
|
||||
git diff -P > ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
|
||||
|
||||
update_polkadot_weights:
|
||||
<<: *update-weights
|
||||
|
||||
update_kusama_weights:
|
||||
<<: *update-weights
|
||||
variables:
|
||||
RUNTIME: kusama
|
||||
|
||||
update_westend_weights:
|
||||
<<: *update-weights
|
||||
variables:
|
||||
RUNTIME: westend
|
||||
|
||||
#### stage: publish
|
||||
|
||||
publish-s3-release: &publish-s3
|
||||
|
||||
Reference in New Issue
Block a user