File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,24 @@ machine:
33 - docker
44 environment :
55 CLOUDSDK_CORE_DISABLE_PROMPTS : 1
6- image_name : codeclimate-bundler-audit
7-
8- dependencies :
9- pre :
10- - echo $gcloud_json_key_base64 | sed 's/ //g' | base64 -d > /tmp/gcloud_key.json
11- - curl https://sdk.cloud.google.com | bash
12- - gcloud auth activate-service-account $gcloud_account_email --key-file /tmp/gcloud_key.json
13- - gcloud docker -a
6+ PRIVATE_REGISTRY : us.gcr.io/code_climate
147
158test :
169 override :
1710 - bundle exec rake
18- - docker build -t=$registry_root/$image_name :b$CIRCLE_BUILD_NUM .
11+ - docker build -t=$PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME :b$CIRCLE_BUILD_NUM .
1912
2013deployment :
2114 registry :
2215 branch : master
16+ owner : codeclimate
2317 commands :
24- - docker push $registry_root/$image_name:b$CIRCLE_BUILD_NUM
18+ - echo $gcloud_json_key_base64 | sed 's/ //g' | base64 -d > /tmp/gcloud_key.json
19+ - curl https://sdk.cloud.google.com | bash
20+ - gcloud auth activate-service-account $gcloud_account_email --key-file /tmp/gcloud_key.json
21+ - gcloud docker -a
22+ - docker push $PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME:b$CIRCLE_BUILD_NUM
2523
24+ notify :
25+ webhooks :
26+ - url : https://cc-slack-proxy.herokuapp.com/circle
You can’t perform that action at this time.
0 commit comments