commit | cfbbbdba0e7fa60c87ea6119697dff4e5e84a6ee | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Mar 22 17:48:08 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Mon Mar 27 17:19:31 2023 +0000 |
tree | 30432c52dd18343481633e08806ee38305f2e6f1 | |
parent | 504ea31137ab223b11d40469887ba7ab91f999ab [diff] |
m/cli/metroctl: refactor, use tabular layout This lays out the files to make it more obvious what command each file implements, and uses the newly implemented tabular formatting for listing/describing nodes. Change-Id: I90feeae67de0f78090dd5440cbad4cb9aa6bb6bc Reviewed-on: https://review.monogon.dev/c/monogon/+/1392 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@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 //...