From cc41308138344a4caa576d0823c7570a37f0d459 Mon Sep 17 00:00:00 2001 From: Ivy Gooch Date: Tue, 3 Dec 2024 10:39:24 -0800 Subject: [PATCH] Removes unnecessary check from the cloudbuild file --- cloudbuild.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 49aa0ff1df..0f22d7c36b 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -313,10 +313,6 @@ steps: fi testClusterLocation="${region}" - if [ "$1" = 'local' ] - then - gcloud auth login - fi gcloud container clusters get-credentials "$testCluster" --region="$testClusterLocation" --project="$PROJECT_ID" if [ "$cloudProduct" = gke-autopilot ] ; then