From e672a83aaabeb0a4c309731c6e3ca67b83c0f3ae Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Thu, 20 Aug 2020 13:49:32 -0500 Subject: [PATCH] Force kube config location for GCP with KUBECONFIG env var --- ci_gcp/gitlab-ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci_gcp/gitlab-ci.yaml b/ci_gcp/gitlab-ci.yaml index b460bca..03e6434 100644 --- a/ci_gcp/gitlab-ci.yaml +++ b/ci_gcp/gitlab-ci.yaml @@ -30,6 +30,8 @@ gstest deploy client: extends: .helm_based_job image: google/cloud-sdk:latest stage: deploy Client + variables: + KUBECONFIG: "/root/.kube/config" before_script: - source ./helpers/shell_aliases.sh - gcloud auth activate-service-account "${GEOSPHERE_DEPLOY_GCP_SA_EMAIL}" --key-file="${GEOSPHERE_DEPLOY_GCP_SA_KEY}" -- GitLab