version: 2 jobs: build: working_directory: /go/src/k8s.io/helm parallelism: 3 docker: - image: golang:1.12.5 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: /.*/