commit | 5bfdb97df902a2ef27aecf40620d56773f9e90b3 | [log] [tgz] |
---|---|---|
author | Tim Windelschmidt <tim@monogon.tech> | Sat Nov 25 06:01:28 2023 +0100 |
committer | Tim Windelschmidt <tim@monogon.tech> | Sat Nov 25 19:29:46 2023 +0000 |
tree | 59684e3bed0821b6f1139d32042cb76ac0d2d8ec | |
parent | 1a773dd14503c985d4f4a8717a7d5a5ebcbe6552 [diff] |
tools/bazel: Allow direct invocation of bazel wrapper and add more docs Change-Id: I5f03225fb3d5c0304e2f3843ac3d81af2d1b504e Reviewed-on: https://review.monogon.dev/c/monogon/+/2384 Reviewed-by: Leopold Schabel <leo@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 //...