You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helm/.circleci/config.yml

47 lines
959 B

---
version: 2
jobs:
build:
working_directory: /go/src/helm.sh/helm
parallelism: 3
docker:
- image: circleci/golang:1.12
environment:
- GOCACHE: "/tmp/go/cache"
steps:
- checkout
- restore_cache:
key: gopkg-{{ checksum "Gopkg.lock" }}
- restore_cache:
keys:
- build-cache-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }}
- run:
name: test
command: make test-coverage
- save_cache:
key: gopkg-{{ checksum "Gopkg.lock" }}
paths:
- /go/src/helm.sh/helm/vendor
- /go/pkg/dep
- save_cache:
key: build-cache-{{ .Environment.CIRCLE_BUILD_NUM }}
paths:
- /tmp/go/cache
- deploy:
name: deploy
command: .circleci/deploy.sh
workflows:
version: 2
build:
jobs:
- build:
filters:
tags:
only: /.*/