[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:
Alexander Samusev
2022-11-09 13:57:56 +01:00
committed by GitHub
parent afdfa9308c
commit e4855e352f
2 changed files with 9 additions and 3 deletions
+5 -3
View File
@@ -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