Use the GCS Go client to fetch artifacts in cos-gpu-installer

Using HTTP directly to download artifacts causes problems with HTTP
error handling and authentication. Let's use the GCS Go client to solve
those problems.

BUG=b/308853611
TEST=test GPU driver installation with this docker container in vm
Change-Id: Ie235eb1e943b8e791da886e3782a5de6c09d11eb
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/62075
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Shuo Yang <gshuoy@google.com>
Tested-by: Shuo Yang <gshuoy@google.com>
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
10 files changed
tree: e55c58b93cfd95c20b4b398b3542e7bbe5f7df1a
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. .gitignore
  6. BUILD.bazel
  7. cloudbuild.yaml
  8. CONTRIBUTING.md
  9. deps.bzl
  10. go.mod
  11. go.sum
  12. LICENSE
  13. postsubmit-cloudbuild.yaml
  14. README.md
  15. run_tests.sh
  16. run_unit_tests.sh
  17. 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.