commit | 30021af6eaf9f2963d83314c283ebdd23fff2674 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:30:11 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 14:19:43 2023 +0000 |
tree | b8be79d10a869ebb1e2aac4a5a89ce187206bb60 | |
parent | ea6353fd49b3978cfef7f99ada99a99f8bc10715 [diff] |
metropolis/node/build: allow impure code in root if race checking is enabled This allows us to build the root filesystem with race detection enabled. Change-Id: I370ce2114090f828f0d9843fd4a7dc87c47bd153 Reviewed-on: https://review.monogon.dev/c/monogon/+/1835 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 //...