|
|
@ -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
|
|
|
|