Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix publish job (#10317)
Browse files Browse the repository at this point in the history
* fix publish job

* dashes and colonels
  • Loading branch information
TriplEight committed Feb 8, 2019
1 parent 3502b36 commit 8b6c5be
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ test-linux:
RUN_TESTS: all
script:
- scripts/gitlab/test-all.sh
- sccache -s
tags:
- linux-docker

Expand Down Expand Up @@ -118,23 +119,23 @@ publish-snap:
allow_failure: true
<<: *collect_artifacts

publish:onnet:update:
publish-onnet-update:
stage: publish-onchain
only: *releaseable_branches
cache: {}
dependencies:
- build-linux
- build-darwin
- build-windows
- publish:awss3:release
- publish-awss3-release
before_script: *determine_version
script:
- scripts/gitlab/publish-onnet-update.sh
tags:
- 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
- |
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8b6c5be

Please sign in to comment.