Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI has suggested a fix for the git pull issue #513

Merged
merged 1 commit into from
Jul 30, 2018
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ before_install:
- if [ ! -d ${HOME}/google-cloud-sdk ]; then
curl https://sdk.cloud.google.com | bash /dev/stdin --disable-prompts;
fi
# go get doesn't seem to work in deploy step, so fetch it here instead
- go get -u github.com/estesp/manifest-tool

deploy:
- provider: script
Expand Down
2 changes: 2 additions & 0 deletions travis-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ function goreleaser() {
function gcr_push() {
openssl aes-256-cbc -K $encrypted_708bef23737d_key -iv $encrypted_708bef23737d_iv -in heptio-images-ee4b0474b93e.json.enc -out ./heptio-images-ee4b0474b93e.json -d
gcloud auth activate-service-account --key-file heptio-images-ee4b0474b93e.json
# https://github.com/travis-ci/travis-ci/issues/9905
unset GIT_HTTP_USER_AGENT
IMAGE_BRANCH="$TRAVIS_BRANCH" DOCKER="gcloud docker -- " make container push
}

Expand Down