commit | 246f2fe5d8139b167550b957365118d62ad8f4a9 | [log] [tgz] |
---|---|---|
author | Tim Windelschmidt <tim@monogon.tech> | Thu Oct 26 04:39:35 2023 +0200 |
committer | Tim Windelschmidt <tim@monogon.tech> | Wed Nov 01 12:54:17 2023 +0000 |
tree | fbded2cea378207e9a605225a75bfbb84995da21 | |
parent | d9f1f1ec67af21eba685505d7b3086fc222106e1 [diff] |
tools: extend bazel wrapper to execute commands inside nix-shell Change-Id: I27fd2e2ac863fabdc015437594bc2cc677279af1 Reviewed-on: https://review.monogon.dev/c/monogon/+/2239 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 --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 //...