revert some changes, could be buggy (#10399)
This commit is contained in:
		
							parent
							
								
									0815cc3b83
								
							
						
					
					
						commit
						4311d43497
					
				@ -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)"
 | 
			
		||||
@ -99,7 +99,7 @@ build-windows:
 | 
			
		||||
publish-docker:
 | 
			
		||||
  stage:                           publish
 | 
			
		||||
  only:                            *releaseable_branches
 | 
			
		||||
  <<:                              *no_git
 | 
			
		||||
  # <<:                              *no_git
 | 
			
		||||
  cache: {}
 | 
			
		||||
  dependencies:
 | 
			
		||||
    - build-linux
 | 
			
		||||
@ -129,7 +129,7 @@ publish-snap:
 | 
			
		||||
publish-onchain:
 | 
			
		||||
  stage:                           publish
 | 
			
		||||
  only:                            *releaseable_branches
 | 
			
		||||
  <<:                              *no_git
 | 
			
		||||
  # <<:                              *no_git
 | 
			
		||||
  cache:                           {}
 | 
			
		||||
  dependencies:
 | 
			
		||||
    - build-linux
 | 
			
		||||
@ -140,23 +140,6 @@ publish-onchain:
 | 
			
		||||
  tags:
 | 
			
		||||
    - 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:
 | 
			
		||||
  image:                           parity/awscli:latest
 | 
			
		||||
  stage:                           publish
 | 
			
		||||
@ -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
 | 
			
		||||
@ -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:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user