Add hyperdisk disk-type support for cos-customizer.

Hyperdisk requires a minimum of 4GB disk size, which the cidata disk was previously under (131072 KiB). This CL increases the cidata disk size to 4GB to meet the minimum requirement that hyperdisk requires. This change also adds an integration test that ensures an image can be made successfully with the disk type hyperdisk. Note: n4 machine type should be used for disk type hyperdisk.

BUG=b/331281876
TEST=./run_tests, `bazel test -- ... -//src/pkg/tools/...`

Change-Id: I2ccbabbdd59e31ae297fd24ccd15fac77fff5b11
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/73273
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Tested-by: Sejal Sharma <sejalsharma@google.com>
4 files changed
tree: cca99269d1f54daca5bfc2c49e2abcf78befb40f
  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.