mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 02:01:02 +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}"
|
- export BRANCHNAME="weights-statemint-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
||||||
- !reference [.git-commit-push, script]
|
- !reference [.git-commit-push, script]
|
||||||
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for statemine/t" "$BRANCHNAME"
|
- ./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:
|
after_script:
|
||||||
- rm -rf .git/config
|
- rm -rf .git/config
|
||||||
tags:
|
tags:
|
||||||
@@ -48,6 +50,8 @@ benchmarks-collectives:
|
|||||||
- export BRANCHNAME="weights-collectives-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
- export BRANCHNAME="weights-collectives-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
||||||
- !reference [.git-commit-push, script]
|
- !reference [.git-commit-push, script]
|
||||||
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for collectives" "$BRANCHNAME"
|
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for collectives" "$BRANCHNAME"
|
||||||
|
- rm -f ./artifacts/polkadot-parachain
|
||||||
|
- rm -f ./artifacts/test-parachain
|
||||||
after_script:
|
after_script:
|
||||||
- rm -rf .git/config
|
- rm -rf .git/config
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -87,10 +87,8 @@ publish-benchmarks-assets-s3: &publish-benchmarks
|
|||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
BUCKET: "releases.parity.io"
|
BUCKET: "releases.parity.io"
|
||||||
PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks"
|
PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks-assets"
|
||||||
script:
|
script:
|
||||||
- echo "___Removing binary from artifacts___"
|
|
||||||
- rm -f ./artifacts/polkadot-parachain
|
|
||||||
- echo "___Publishing benchmark results___"
|
- echo "___Publishing benchmark results___"
|
||||||
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/
|
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/
|
||||||
after_script:
|
after_script:
|
||||||
@@ -98,6 +96,10 @@ publish-benchmarks-assets-s3: &publish-benchmarks
|
|||||||
|
|
||||||
publish-benchmarks-collectives-s3:
|
publish-benchmarks-collectives-s3:
|
||||||
<<: *publish-benchmarks
|
<<: *publish-benchmarks
|
||||||
|
variables:
|
||||||
|
GIT_STRATEGY: none
|
||||||
|
BUCKET: "releases.parity.io"
|
||||||
|
PREFIX: "cumulus/$CI_COMMIT_REF_NAME/benchmarks-collectives"
|
||||||
needs:
|
needs:
|
||||||
- job: benchmarks-collectives
|
- job: benchmarks-collectives
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
|||||||
Reference in New Issue
Block a user