cos-dkms: Add default GCS bucket

Make it so that the appropriate cos-tools bucket is chosen when a user
passes --gcs-bucket=cos-default.

This also extracts functions to simplify getting the default COS
artifact buckets for an instance.

BUG=b/389672237
TEST=presubmit

Change-Id: I297860fbb51bc984bb356a2ee63e4772774b237f
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/90861
Tested-by: Kevin Berry <kpberry@google.com>
Reviewed-by: Arnav Kansal <rnv@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
4 files changed
tree: 9df5470a860a23f02bdb99e048fde31b886ff376
  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_builds.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.