| commit | 7f14f91765c6b32a95aac5d2b40a25bba1eae695 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Fri Dec 15 21:49:15 2023 +0100 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Fri Dec 15 21:39:49 2023 +0000 |
| tree | d3da64e7bf9baf6c89e29df78ce86504e64e9c89 | |
| parent | a7cfc1c29ec81525846a48b98d0f66e2899c13b8 [diff] |
workspace: return to pre nix-shell directory before running bazel Change-Id: I64ec0f26e2b7fd4ec9497bc59d68df438f3496d4 Reviewed-on: https://review.monogon.dev/c/monogon/+/2579 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@monogon.tech>
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 --config dbg
Launch an ephemeral test node:
bazel test //:launch --config 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 --config dbg //...