parent
3502b36232
commit
8b6c5be6a9
@ -44,6 +44,7 @@ test-linux:
|
||||
RUN_TESTS: all
|
||||
script:
|
||||
- scripts/gitlab/test-all.sh
|
||||
- sccache -s
|
||||
tags:
|
||||
- linux-docker
|
||||
|
||||
@ -118,7 +119,7 @@ publish-snap:
|
||||
allow_failure: true
|
||||
<<: *collect_artifacts
|
||||
|
||||
publish:onnet:update:
|
||||
publish-onnet-update:
|
||||
stage: publish-onchain
|
||||
only: *releaseable_branches
|
||||
cache: {}
|
||||
@ -126,7 +127,7 @@ publish:onnet:update:
|
||||
- build-linux
|
||||
- build-darwin
|
||||
- build-windows
|
||||
- publish:awss3:release
|
||||
- publish-awss3-release
|
||||
before_script: *determine_version
|
||||
script:
|
||||
- scripts/gitlab/publish-onnet-update.sh
|
||||
@ -134,7 +135,7 @@ publish:onnet:update:
|
||||
- linux-docker
|
||||
|
||||
# configures aws for fast uploads/syncs
|
||||
.s3_before_script: &s3_before_script
|
||||
.s3-before-script: &s3-before-script
|
||||
before_script:
|
||||
- mkdir -p ${HOME}/.aws
|
||||
- |
|
||||
@ -150,7 +151,7 @@ publish:onnet:update:
|
||||
addressing_style = path
|
||||
EOC
|
||||
|
||||
publish:awss3:release:
|
||||
publish-awss3-release:
|
||||
image: parity/awscli:latest
|
||||
stage: publish
|
||||
only: *releaseable_branches
|
||||
@ -161,7 +162,7 @@ publish:awss3:release:
|
||||
- build-windows
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
<<: *s3_before_script
|
||||
<<: *s3-before-script
|
||||
script:
|
||||
- echo "__________Push binaries to AWS S3____________"
|
||||
- case "${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}" in
|
||||
@ -174,7 +175,7 @@ publish:awss3:release:
|
||||
esac
|
||||
- aws s3 sync ./artifacts s3://${BUCKET}/${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}/
|
||||
after_script:
|
||||
- aws s3 ls s3://${BUCKET}/latest/
|
||||
- aws s3 ls s3://${BUCKET}/${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}/
|
||||
--recursive --human-readable --summarize
|
||||
tags:
|
||||
- linux-docker
|
||||
|
Loading…
Reference in New Issue
Block a user