Merge pull request #5248 from adamreese/v3/bump-golang

chore(ci): bump golang to 1.11.5
pull/5251/head
Adam Reese 6 years ago committed by GitHub
commit 6af20be8de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@ jobs:
working_directory: /go/src/k8s.io/helm working_directory: /go/src/k8s.io/helm
parallelism: 3 parallelism: 3
docker: docker:
- image: circleci/golang:1.10.0 - image: circleci/golang:1.11.5
environment: environment:
- PROJECT_NAME: "kubernetes-helm" - PROJECT_NAME: "kubernetes-helm"
- GOCACHE: "/tmp/go/cache" - GOCACHE: "/tmp/go/cache"
@ -13,26 +13,26 @@ jobs:
- restore_cache: - restore_cache:
key: gopkg-{{ .Branch }}-{{ checksum "Gopkg.lock" }} key: gopkg-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
paths: paths:
- /go/src/k8s.io/helm/vendor - /go/src/k8s.io/helm/vendor
- run: - run:
name: install dependencies name: install dependencies
command: .circleci/bootstrap.sh command: .circleci/bootstrap.sh
- save_cache: - save_cache:
key: gopkg-{{ .Branch }}-{{ checksum "Gopkg.lock" }} key: gopkg-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
paths: paths:
- /go/src/k8s.io/helm/vendor - /go/src/k8s.io/helm/vendor
- restore_cache: - restore_cache:
keys: keys:
- build-cache-{{ .Branch }}-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }} - build-cache-{{ .Branch }}-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }}
paths: paths:
- /tmp/go/cache - /tmp/go/cache
- run: - run:
name: test name: test
command: .circleci/test.sh command: .circleci/test.sh
- save_cache: - save_cache:
key: build-cache-{{ .Branch }}-{{ .Environment.CIRCLE_BUILD_NUM }} key: build-cache-{{ .Branch }}-{{ .Environment.CIRCLE_BUILD_NUM }}
paths: paths:
- /tmp/go/cache - /tmp/go/cache
- deploy: - deploy:
name: deploy name: deploy
command: .circleci/deploy.sh command: .circleci/deploy.sh

@ -41,7 +41,7 @@ curl https://sdk.cloud.google.com | bash
${HOME}/google-cloud-sdk/bin/gcloud --quiet components update ${HOME}/google-cloud-sdk/bin/gcloud --quiet components update
echo "Configuring gcloud authentication" echo "Configuring gcloud authentication"
echo "${GCLOUD_SERVICE_KEY}" | base64 --decode > "${HOME}/gcloud-service-key.json" echo "${GCLOUD_SERVICE_KEY}" | base64 --decode >"${HOME}/gcloud-service-key.json"
${HOME}/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file "${HOME}/gcloud-service-key.json" ${HOME}/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file "${HOME}/gcloud-service-key.json"
${HOME}/google-cloud-sdk/bin/gcloud config set project "${PROJECT_NAME}" ${HOME}/google-cloud-sdk/bin/gcloud config set project "${PROJECT_NAME}"

Loading…
Cancel
Save