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