[ci] Update runners for benchmarks (#2138)

* [ci] Update runners for benchmarks

* run benchmarks in this pr to get weights

* run benches only

* comment .post jobs

* add docker env to benches

* add git diff to artifacts

* divide assets

* update weights

* return ci

* fix refs for benchmarks
This commit is contained in:
Alexander Samusev
2023-01-26 15:46:02 +01:00
committed by GitHub
parent c1af8fc100
commit 5a621926a4
71 changed files with 1795 additions and 1797 deletions
+9 -5
View File
@@ -15,12 +15,13 @@ benchmarks-build:
benchmarks-assets:
stage: benchmarks-run
timeout: 1d
extends:
- .docker-env
- .collect-artifacts
- .benchmarks-refs
before_script:
- !reference [.docker-env, before_script]
timeout: 1d
script:
- ./scripts/benchmarks-ci.sh assets statemine ./artifacts
- ./scripts/benchmarks-ci.sh assets statemint ./artifacts
@@ -34,11 +35,13 @@ benchmarks-assets:
after_script:
- rm -rf .git/config
tags:
- weights
- weights-vm
benchmarks-collectives:
stage: benchmarks-run
timeout: 1d
extends:
- .docker-env
- .collect-artifacts
- .benchmarks-refs
before_script:
@@ -55,16 +58,17 @@ benchmarks-collectives:
after_script:
- rm -rf .git/config
tags:
- weights
- weights-vm
benchmarks-bridge-hubs:
stage: benchmarks-run
timeout: 1d
extends:
- .docker-env
- .collect-artifacts
- .benchmarks-refs
before_script:
- !reference [.docker-env, before_script]
timeout: 1d
script:
- ./scripts/benchmarks-ci.sh bridge-hubs bridge-hub-kusama ./artifacts
- ./scripts/benchmarks-ci.sh bridge-hubs bridge-hub-rococo ./artifacts
@@ -77,4 +81,4 @@ benchmarks-bridge-hubs:
after_script:
- rm -rf .git/config
tags:
- weights
- weights-vm