commit | cf23ebc1afc53f93d56a0fd33209db7b033a991a | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Mar 14 17:02:04 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Mar 15 16:36:18 2023 +0000 |
tree | 23395adcd31b1ec31377de20ca46f5e98b9ff242 | |
parent | bfc280739cdbae950611e5d35a1adb5cd0f58feb [diff] |
m/cli/metroctl: factor out some helper functions We will need these to create metroctl-compatible configs from //metropolis/cluster/launch. Change-Id: I2705afefb62b7e1b35c87d9753c4ca9c7f534c26 Reviewed-on: https://review.monogon.dev/c/monogon/+/1324 Tested-by: Jenkins CI Reviewed-by: Mateusz Zalega <mateusz@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 //...