From a8024d2c8b8f580c28d6f009ad220ae1e98b8514 Mon Sep 17 00:00:00 2001 From: Andy Cunningham Date: Mon, 3 Dec 2018 22:03:33 -0800 Subject: [PATCH] fix gcloud key path --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8327e59..bea8eae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,8 +22,8 @@ jobs: - run: name: configure kubectl with gcloud command: | - echo $GCLOUD_SERVICE_KEY > ${HOME}/gcloud-service-key.json - gcloud auth activate-service-account --key-file=${HOME}/gcloud-service-key.json + echo $GCLOUD_SERVICE_KEY > /tmp/gcloud-service-key.json + gcloud auth activate-service-account --key-file=/tmp/gcloud-service-key.json gcloud --quiet config set project andy-sandbox gcloud --quiet config set compute/zone us-west1-a gcloud --quiet container clusters get-credentials dev