pkg/cos: Access cos-tools with geo-redundancy

For geo-redundancy, now there are three GCS buckets for COS
artifacts. This commit changes the default bucket from
cos-tools to one of cos-tools, cos-tools-asia and cos-tools-eu
based on the zone the VM is running in.

cos_gpu_installer_v2 is also updated to use geo-redundant
buckets by default.

BUG=b/178641293
TEST=test cos-gpu-installer-v2 in GCE instances

Change-Id: Ibcf0c6dd7f04d80e163b8a22c43d9d144cd1416a
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/24053
Reviewed-by: Arnav Kansal <rnv@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Tested-by: He Gao <hegao@google.com>
2 files changed
tree: 406cd7feb93a4118796d0c9d955fbab55f723221
  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.