mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 22:17:58 +00:00
[ci] Fix publish benchmark results (#1840)
* [ci] Fix publish benchmark results * Update scripts/ci/gitlab/pipeline/benchmarks.yml Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> * Update scripts/ci/gitlab/pipeline/benchmarks.yml Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
afdfa9308c
commit
e4855e352f
@@ -29,6 +29,8 @@ benchmarks-assets:
|
||||
- export BRANCHNAME="weights-statemint-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
||||
- !reference [.git-commit-push, script]
|
||||
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for statemine/t" "$BRANCHNAME"
|
||||
- rm -f ./artifacts/polkadot-parachain
|
||||
- rm -f ./artifacts/test-parachain
|
||||
after_script:
|
||||
- rm -rf .git/config
|
||||
tags:
|
||||
@@ -48,6 +50,8 @@ benchmarks-collectives:
|
||||
- export BRANCHNAME="weights-collectives-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
||||
- !reference [.git-commit-push, script]
|
||||
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for collectives" "$BRANCHNAME"
|
||||
- rm -f ./artifacts/polkadot-parachain
|
||||
- rm -f ./artifacts/test-parachain
|
||||
after_script:
|
||||
- rm -rf .git/config
|
||||
tags:
|
||||
|
||||
@@ -87,10 +87,8 @@ publish-benchmarks-assets-s3: &publish-benchmarks
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
BUCKET: "releases.parity.io"
|
||||
PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks"
|
||||
PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks-assets"
|
||||
script:
|
||||
- echo "___Removing binary from artifacts___"
|
||||
- rm -f ./artifacts/polkadot-parachain
|
||||
- echo "___Publishing benchmark results___"
|
||||
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/
|
||||
after_script:
|
||||
@@ -98,6 +96,10 @@ publish-benchmarks-assets-s3: &publish-benchmarks
|
||||
|
||||
publish-benchmarks-collectives-s3:
|
||||
<<: *publish-benchmarks
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
BUCKET: "releases.parity.io"
|
||||
PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks-collectives"
|
||||
needs:
|
||||
- job: benchmarks-collectives
|
||||
artifacts: true
|
||||
|
||||
Reference in New Issue
Block a user