commit | 46a45f941632de6ef0085eee373a6c3dad5e9f53 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Jul 19 17:09:52 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Jul 20 10:54:36 2023 +0000 |
tree | 07f2b51255011347175505c94c2a99ebdb0832c4 | |
parent | 9508b12bba50625eaccadc4aacf908ba538e3dd6 [diff] |
m/c/metroctl: move installer dependency to runfiles This is the first step in not requiring a full Metropolis build to build metroctl. Things are still actively coupled at build time, but the resulting binary can now run without any embedded installer. Change-Id: I55fc53c57ac6d1d3e75a225e7d7c79bae5759b67 Reviewed-on: https://review.monogon.dev/c/monogon/+/1945 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 -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 //...