cos_gpu_installer: add flag `-signature-url`

cos-gpu-intaller:v2 uses `-driver-version` to
find driver signature in cos-tools. But for
testing, `-nvidia-installer-url` is used so we
cannot pass `-driver-version` and we cannot
release signature for testing to cos-tools.
So this CL adds a flag `-signature-url` to find
signature at a URL in test mode.

`-signature-url` can only be used together with
`-nvidia-installer-url` and `-test`.

BUG=b/161566626

Change-Id: Ibb55004c6c8f19b1cbb82ec755df10a27d86428f
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/30400
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Tested-by: He Gao <hegao@google.com>
2 files changed
tree: 015d52d327f393c53a8f1425b6baf617d1fa25a2
  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.