Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
problem: appveyor fails to deploy
Browse files Browse the repository at this point in the history
either because of wrong gcloud-appveyor.json.enc file or because openssl cli not available

solution: install and use secure-file tool to decrypt prior to uploading
  • Loading branch information
whilei committed Jul 18, 2017
1 parent 4857cd8 commit 1dff9b7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ build_script:
artifacts:
- path: '*.zip'
name: geth
before_deploy:
# Set up GCP upload.
- nuget install secure-file -ExcludeVersion
- secure-file\tools\secure-file -decrypt gcloud-appveyor.json.enc -secret %GCP_PASSWD% -out .gcloud.json
deploy_script:
- ps: >-
If ($env:APPVEYOR_REPO_BRANCH -eq 'master') {
janus.exe deploy -to="builds.etcdevteam.com/go-ethereum/$env:VERSION_BASE/" -files="./*.zip" -key="./gcloud-appveyor.json.enc"
}
janus.exe deploy -to="builds.etcdevteam.com/go-ethereum/$env:VERSION_BASE/" -files="./*.zip" -key="./.gcloud.json"
}

0 comments on commit 1dff9b7

Please sign in to comment.