mirror of https://github.com/helm/helm
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.
39 lines
1011 B
39 lines
1011 B
version: 2
|
|
jobs:
|
|
build:
|
|
working_directory: /go/src/k8s.io/helm
|
|
parallelism: 3
|
|
docker:
|
|
- image: golang:1.12.2
|
|
environment:
|
|
PROJECT_NAME: "kubernetes-helm"
|
|
steps:
|
|
- checkout
|
|
- setup_remote_docker:
|
|
version: 18.06.0-ce
|
|
- restore_cache:
|
|
keys:
|
|
- glide-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }}
|
|
- glide- # used as a fall through if the checksum fails to find exact entry
|
|
- run:
|
|
name: install dependencies
|
|
command: .circleci/bootstrap.sh
|
|
- save_cache:
|
|
key: glide-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }}
|
|
paths:
|
|
- /root/.glide # Where the glide cache is stored
|
|
- run:
|
|
name: test
|
|
command: .circleci/test.sh
|
|
- deploy:
|
|
name: deploy
|
|
command: .circleci/deploy.sh
|
|
workflows:
|
|
version: 2
|
|
build:
|
|
jobs:
|
|
- build:
|
|
filters:
|
|
tags:
|
|
only: /.*/
|