revert some changes, could be buggy (#10399)
This commit is contained in:
parent
0815cc3b83
commit
4311d43497
@ -33,7 +33,7 @@ variables:
|
|||||||
when: on_success
|
when: on_success
|
||||||
expire_in: 1 mos
|
expire_in: 1 mos
|
||||||
paths:
|
paths:
|
||||||
- artifacts/
|
- artifacts/
|
||||||
|
|
||||||
.determine_version: &determine_version
|
.determine_version: &determine_version
|
||||||
- VERSION="$(sed -r -n '1,/^version/s/^version = "([^"]+)".*$/\1/p' Cargo.toml)"
|
- VERSION="$(sed -r -n '1,/^version/s/^version = "([^"]+)".*$/\1/p' Cargo.toml)"
|
||||||
@ -99,7 +99,7 @@ build-windows:
|
|||||||
publish-docker:
|
publish-docker:
|
||||||
stage: publish
|
stage: publish
|
||||||
only: *releaseable_branches
|
only: *releaseable_branches
|
||||||
<<: *no_git
|
# <<: *no_git
|
||||||
cache: {}
|
cache: {}
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-linux
|
- build-linux
|
||||||
@ -129,7 +129,7 @@ publish-snap:
|
|||||||
publish-onchain:
|
publish-onchain:
|
||||||
stage: publish
|
stage: publish
|
||||||
only: *releaseable_branches
|
only: *releaseable_branches
|
||||||
<<: *no_git
|
# <<: *no_git
|
||||||
cache: {}
|
cache: {}
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-linux
|
- build-linux
|
||||||
@ -140,23 +140,6 @@ publish-onchain:
|
|||||||
tags:
|
tags:
|
||||||
- linux-docker
|
- linux-docker
|
||||||
|
|
||||||
# configures aws for fast uploads/syncs
|
|
||||||
.s3-before-script: &s3-before-script
|
|
||||||
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:
|
publish-awss3-release:
|
||||||
image: parity/awscli:latest
|
image: parity/awscli:latest
|
||||||
stage: publish
|
stage: publish
|
||||||
@ -167,9 +150,6 @@ publish-awss3-release:
|
|||||||
- build-linux
|
- build-linux
|
||||||
- build-darwin
|
- build-darwin
|
||||||
- build-windows
|
- build-windows
|
||||||
variables:
|
|
||||||
GIT_STRATEGY: none
|
|
||||||
<<: *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
|
||||||
@ -185,10 +165,11 @@ publish-awss3-release:
|
|||||||
- aws s3 ls s3://${BUCKET}/${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}/
|
- 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
|
||||||
|
|
||||||
publish-docs:
|
publish-docs:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
# <<: *no_git
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user