commit | d02f2166634fd8c2ef3433ab7212088802cc7f89 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Mar 22 17:57:20 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Mar 23 13:34:11 2023 +0000 |
tree | 92d7a6eaf0dc07ba4ac53d07deaa325218281e62 | |
parent | 1ec1fe9f8af947c972f803d778f95d145606a6d0 [diff] |
m/n/core: fix crash on exit The current code crashes on exit if a console wasn't opened. Change-Id: I7fc235953fe04b8ea924a380e7eb9195a8883d6d Reviewed-on: https://review.monogon.dev/c/monogon/+/1387 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 //...