cos_gpu_insatller: do not load public key or check release track in test mode

In test mode, platform key is used which is already in
a derived test image. There is no need to load the public
key and it cannot be loaded to the secondary trusted keyring.

All prerelease builds are in dev-channel. For testing we
don't need to check release track.

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