| commit | 925ec3de7a8562ef478216c77dff68c8235aeabd | [log] [tgz] |
|---|---|---|
| author | Serge Bazanski <serge@monogon.tech> | Mon Feb 05 14:38:20 2024 +0100 |
| committer | Serge Bazanski <serge@monogon.tech> | Thu Feb 08 11:10:07 2024 +0000 |
| tree | da40b46730911a514b5f03e842ab3b3951f8f9cf | |
| parent | 0c2801516b5191472bd4bc1a07ab6f414a805b27 [diff] |
m/cli/metroctl: clean up RPC API This removes a bunch of logic from the metroctl core RPC functions, forcing users (currently only other metroctl code) to use grpc.Dial and the metropolis RPC library directly. We also make the core functions take ConnectOptions structures where appropriate instead of passing around tons of arguments. Change-Id: I4d7aa232a659097da35027dfb9b87c58cbb4ab84 Reviewed-on: https://review.monogon.dev/c/monogon/+/2742 Reviewed-by: Lorenz Brun <lorenz@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 --config dbg
Launch an ephemeral test node:
bazel test //:launch --config 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 --config dbg //...