From 8c1c678b9d09261b64aa07d66947f0b923622c40 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 62b0afa9b0..29f08f5452 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