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