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
1.0 KiB

version: 2
jobs:
build:
working_directory: /go/src/k8s.io/helm
parallelism: 3
docker:
- image: golang:1.8
environment:
PROJECT_NAME: "kubernetes-helm"
steps:
- checkout
- run:
name: install dependencies
command: make bootstrap
- run:
name: go env
command: go env
- save_cache:
key: vendor-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }}
paths:
- vendor
- run:
name: test
command: ./scripts/ci.sh
deployment:
working_directory: /go/src/k8s.io/helm
docker:
- image: golang:1.8
environment:
PROJECT_NAME: "kubernetes-helm"
filters:
tags:
only: /.*/
branches:
only: master
steps:
- checkout
- restore_cache:
keys:
- vendor-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }}
- run:
name: go env
command: go env
- deploy:
name: deploy
command: ./scripts/ci/deploy.sh