Commit 8d302bd0 authored by Adam Reese's avatar Adam Reese

ref(ci): remove glide setup in circle.yml

parent e2003143
machine: machine:
environment: environment:
GLIDE_VERSION: "0.10.1" GOVERSION: "1.6.2"
GO15VENDOREXPERIMENT: 1 GOPATH: "${HOME}/.go_workspace"
GOPATH: /usr/local/go_workspace WORKDIR: "${GOPATH}/src/k8s.io/helm"
HOME: /home/ubuntu
IMPORT_PATH: "k8s.io/helm"
PATH: $HOME/go/bin:$PATH
GOROOT: $HOME/go
services: services:
- docker - docker
dependencies: dependencies:
pre:
- sudo rm -rf /usr/local/go
- rm -rf "$GOPATH"
override: override:
- mkdir -p $HOME/go - wget "https://storage.googleapis.com/golang/go${GOVERSION}.linux-amd64.tar.gz"
- wget "https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz" - sudo tar -C /usr/local -xzf "go${GOVERSION}.linux-amd64.tar.gz"
- tar -C $HOME -xzf go1.6.linux-amd64.tar.gz
- go version - mkdir -p "$(dirname ${WORKDIR})"
- cp -R "${HOME}/helm" "${WORKDIR}"
- cd "${WORKDIR}" && make bootstrap
post:
- go env - go env
- sudo chown -R $(whoami):staff /usr/local
- cd $GOPATH
- mkdir -p $GOPATH/src/$IMPORT_PATH
- cd $HOME/helm
- rsync -az --delete ./ "$GOPATH/src/$IMPORT_PATH/"
- wget "https://github.com/Masterminds/glide/releases/download/$GLIDE_VERSION/glide-$GLIDE_VERSION-linux-amd64.tar.gz"
- mkdir -p $HOME/bin
- tar -vxz -C $HOME/bin --strip=1 -f glide-$GLIDE_VERSION-linux-amd64.tar.gz
- export PATH="$HOME/bin:$PATH" GLIDE_HOME="$HOME/.glide"
test: test:
override: override:
- cd $GOPATH/src/$IMPORT_PATH && make bootstrap test - cd "${WORKDIR}" && make test
deployment: deployment:
master-branch: gcr:
branch: master branch: master
commands: commands:
- echo $GCLOUD_SERVICE_KEY | base64 --decode > ${HOME}/gcloud-service-key.json - echo $GCLOUD_SERVICE_KEY | base64 --decode > ${HOME}/gcloud-service-key.json
- sudo docker login -e 1234@5678.com -u _json_key -p "$(cat ${HOME}/gcloud-service-key.json)" https://gcr.io - docker login -e 1234@5678.com -u _json_key -p "$(cat ${HOME}/gcloud-service-key.json)" https://gcr.io
- cd $GOPATH/src/$IMPORT_PATH - cd "${WORKDIR}" && make docker-build
- make docker-build - docker push gcr.io/kubernetes-helm/tiller:canary
- sudo docker push gcr.io/kubernetes-helm/tiller:canary
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment