commit | 634a3cf16ecf4cd551847185e7b539d16ad52d2d | [log] [tgz] |
---|---|---|
author | Tim Windelschmidt <tim@monogon.tech> | Wed Jun 14 20:01:33 2023 +0200 |
committer | Tim Windelschmidt <tim@monogon.tech> | Wed Jun 14 19:19:16 2023 +0000 |
tree | 7653202205bd238b3d9d02c2bf87ae66e277d933 | |
parent | b37d7d8ef4e318c9d35d34eff79fa0a304ff35aa [diff] |
metropolis/cli/metroctl: dont segfault on missing status Change-Id: Ib1a594e0ccca0f6a993e651b62e8adcfb9dc1ea4 Reviewed-on: https://review.monogon.dev/c/monogon/+/1814 Tested-by: Jenkins CI Reviewed-by: Serge Bazanski <serge@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 -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 //...