File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,15 @@ CLUSTER ?= bedrock-prow
24
24
25
25
activate-serviceaccount:
26
26
ifdef GOOGLE_APPLICATION_CREDENTIALS
27
- gcloud auth activate-service-account --key-file=" $( GOOGLE_APPLICATION_CREDENTIALS) "
27
+ gcloud auth activate-service-account --key-file=" $( GOOGLE_APPLICATION_CREDENTIALS) " || true
28
28
endif
29
29
30
30
get-cluster-credentials: activate-serviceaccount
31
- gcloud container clusters get-credentials " $( CLUSTER) " --project=" $( PROJECT) " --zone=" $( ZONE) "
31
+ mkdir -p ~ /.kube; cp -v /etc/kubeconfig/config ~ /.kube; kubectl config use-context default; kubectl get nodes; echo going forward retiring google cloud
32
+
33
+ ifdef GOOGLE_APPLICATION_CREDENTIALS
34
+ gcloud container clusters get-credentials " $( CLUSTER) " --project=" $( PROJECT) " --zone=" $( ZONE) " || true
35
+ endif
32
36
33
37
config-docker: get-cluster-credentials
34
38
@common/scripts/artifactory_config_docker.sh
You can’t perform that action at this time.
0 commit comments