| commit | 4e6fe4aefa98b1c027c4e934472c94b60abe727e | [log] [tgz] |
|---|---|---|
| author | Serge Bazanski <serge@monogon.tech> | Thu Mar 23 17:35:22 2023 +0100 |
| committer | Serge Bazanski <serge@monogon.tech> | Wed Mar 29 12:44:42 2023 +0000 |
| tree | 0ca77bec8f3048ea67010756b8efa87e0852122f | |
| parent | 677887828c5440ac794e2cbd892f2c3314f7b63e [diff] |
third_party/qemu: add qemu-img
This will be used to make our tests faster by using qcow2 images instead
of copying the entire node disk on startup.
Test with:
bazel run '@qemu//:qemu-img'
Change-Id: If696ed9d26cf5de3318cba0d4bb8c58fd1f1d686
Reviewed-on: https://review.monogon.dev/c/monogon/+/1395
Reviewed-by: Leopold Schabel <leo@monogon.tech>
Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch -c dbg
Launch an ephemeral test node:
bazel test //:launch -c dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test -c dbg //...