Skip to content

Commit

Permalink
[ci] Remove unnecessary GSA activation for GAR policy step (#14308)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
daniel-goldstein committed Feb 21, 2024
1 parent cd9bed9 commit a039764
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.yaml
Expand Up @@ -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 \
Expand Down

0 comments on commit a039764

Please sign in to comment.