commit | 1f8cad7568ad2e8e539fe44f1b2d51e1f2a19fd5 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Mon Mar 20 16:58:10 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Mar 21 16:39:39 2023 +0000 |
tree | ed38d5ecb2f775c73c0ac8c23a68e610ce261591 | |
parent | d174e556db5e2ad25e406babf34442a529756081 [diff] |
m/{cli,test/launch}: integrate launch/cluster with metroctl This makes test-launch2 (and possibly later any other code that uses the launch/cluster library) tell the user that they can connect to the newly launched cluster using metroctl, either by using specific flags, or using a wrapper script, or using kubectl. Change-Id: I54035ee02f3cbab3d17f46b1f1685b91aab275a9 Reviewed-on: https://review.monogon.dev/c/monogon/+/1373 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@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 //...