commit | 3aa00d46256216c799b0a8c4bcaeddcdfada483a | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Mon Nov 20 23:08:41 2023 +0100 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed Nov 22 20:54:23 2023 +0000 |
tree | 8fed2cccd0de0b0693af6bc27bf9612de2e373d3 | |
parent | 600e2eb39a6581b5c48deac66c4c29015e48b877 [diff] |
third_party/nix: make run launch-multi2 work This makes commands like `bazel run //:launch-multi2` work in the nix-shell which is nicer than running it inside a Bazel test. Long-term we should work on reducing these ambient deps, but considering all the other deps in that list I think this makes sense for the time being. Change-Id: Iaef701f19bf363536e415b9a0c51a220b8785ca6 Reviewed-on: https://review.monogon.dev/c/monogon/+/2337 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@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 //...