cos-customizer: install-gpu: Auth with GCS

Currently, cos-customizer lists gs://nvidia-drivers-us-public as an
anonymous user. It probably does this to simplify running cos-customizer
outside of cloud build.

Nvidia recently changed their bucket permissions to disallow anonymous
users from accessing it. So cos-customizer fails when it tries to read
gs://nvidia-drivers-us-public as an anonymous user.

Since the use case outside of cloud build isn't super important, let's
stop listing that bucket as an anonymous user to get things working
again.

BUG=b/217461037
TEST=`gcloud builds submit --config=testing/gpu_test.yaml`

Change-Id: If3e0ed6f33fe0f30165e4ff49bf7b446b581d7d2
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/28842
Tested-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: He Gao <hegao@google.com>
1 file changed
tree: d91bf3f401a622f3fdd137145503d05228c6857b
  1. release/
  2. src/
  3. testing/
  4. BUILD.bazel
  5. cloudbuild.yaml
  6. CONTRIBUTING.md
  7. deps.bzl
  8. go.mod
  9. go.sum
  10. LICENSE
  11. README.md
  12. run_tests.sh
  13. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.