From a039764036c86549b7ef8660b557f831619b0b90 Mon Sep 17 00:00:00 2001 From: Daniel Goldstein Date: Tue, 20 Feb 2024 21:19:36 -0500 Subject: [PATCH] [ci] Remove unnecessary GSA activation for GAR policy step (#14308) Since recently adding metadata server support for batch jobs in GCP, `gcloud` should now "Just Work" using the CI service account in CI jobs without explicitly configuring it with a key file, so we no longer need this line. I tested that this succeeds with a dev deploy. --- build.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/build.yaml b/build.yaml index d072b4d311e..3e60c9a9bfd 100644 --- a/build.yaml +++ b/build.yaml @@ -3932,7 +3932,6 @@ steps: scopes: - deploy script: | - gcloud auth activate-service-account --key-file=/gsa-key/key.json gcloud artifacts repositories set-cleanup-policies hail \ --project={{ global.gcp_project }} \ --location=us \