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"
steps:
- checkout
- setup_remote_docker
- 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
command: .circleci/test.sh
- run: echo $BLACK
- deploy:
name: deploy
command: ./scripts/ci/deploy.sh
name: deploy
command: .circleci/deploy.sh

Loading…
Cancel
Save