Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 5 additions & 24 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ variables:
when: on_success
expire_in: 1 mos
paths:
- artifacts/
- artifacts/

.determine_version: &determine_version
- VERSION="$(sed -r -n '1,/^version/s/^version = "([^"]+)".*$/\1/p' Cargo.toml)"
Expand Down Expand Up @@ -99,7 +99,7 @@ build-windows:
publish-docker:
stage: publish
only: *releaseable_branches
<<: *no_git
# <<: *no_git
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove it or not

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

cache: {}
dependencies:
- build-linux
Expand Down Expand Up @@ -129,7 +129,7 @@ publish-snap:
publish-onchain:
stage: publish
only: *releaseable_branches
<<: *no_git
# <<: *no_git
cache: {}
dependencies:
- build-linux
Expand All @@ -140,23 +140,6 @@ publish-onchain:
tags:
- linux-docker

# configures aws for fast uploads/syncs
.s3-before-script: &s3-before-script
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this being removed?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to docker parity/awscli @TriplEight ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's here now

before_script:
- mkdir -p ${HOME}/.aws
- |
cat > ${HOME}/.aws/config <<EOC
[default]
s3 =
max_concurrent_requests = 20
max_queue_size = 10000
multipart_threshold = 64MB
multipart_chunksize = 16MB
max_bandwidth = 50MB/s
use_accelerate_endpoint = false
addressing_style = path
EOC

publish-awss3-release:
image: parity/awscli:latest
stage: publish
Expand All @@ -167,9 +150,6 @@ publish-awss3-release:
- build-linux
- build-darwin
- build-windows
variables:
GIT_STRATEGY: none
<<: *s3-before-script
script:
- echo "__________Push binaries to AWS S3____________"
- case "${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}" in
Expand All @@ -185,10 +165,11 @@ publish-awss3-release:
- aws s3 ls s3://${BUCKET}/${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}/
--recursive --human-readable --summarize
tags:
- linux-docker
- linux-docker

publish-docs:
stage: publish
# <<: *no_git
only:
- tags
except:
Expand Down