cos-dkms: Add pre/post action hooks

Also simplifies running the compile command since it follows the same
pattern.

BUG=b/349400483
TEST=presubmit

Change-Id: I1970e17b85cd8cd38d3a8c7062f038535b049dea
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/86300
Reviewed-by: Oleksandr Tymoshenko <ovt@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Tested-by: Kevin Berry <kpberry@google.com>
6 files changed
tree: 037f558642f46ba9ae282dc96cd771e54f1389b0
  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.