fix(ci): move deploy instructions to build job

https://circleci.com/docs/2.0/configuration-reference/#deploy
pull/2905/head
Adam Reese 8 years ago
parent 720c9bf55f
commit 24298056df
No known key found for this signature in database
GPG Key ID: 06F35E60A7A18DD6

@ -9,38 +9,18 @@ jobs:
PROJECT_NAME: "kubernetes-helm" PROJECT_NAME: "kubernetes-helm"
steps: steps:
- checkout - checkout
- setup_remote_docker
- run: - run:
name: install dependencies name: install dependencies
command: make bootstrap command: make bootstrap
- run:
name: go env
command: go env
- save_cache: - save_cache:
key: vendor-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }} key: vendor-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }}
paths: paths:
- vendor - vendor
- run: - run:
name: test name: test
command: ./scripts/ci.sh command: .circleci/test.sh
deployment: - run: echo $BLACK
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: - deploy:
name: deploy name: deploy
command: ./scripts/ci/deploy.sh command: .circleci/deploy.sh

Loading…
Cancel
Save