| commit | c5b52f17897b30a465761865fb0053b5d02c7756 | [log] [tgz] |
|---|---|---|
| author | Serge Bazanski <serge@monogon.tech> | Tue Feb 13 14:45:19 2024 +0100 |
| committer | Serge Bazanski <serge@monogon.tech> | Tue Feb 13 15:28:40 2024 +0000 |
| tree | 8f584fac1ad5aedfc1495d83251f3ca5292183a2 | |
| parent | bd8e2d7e1c3118899aa5f9501841f94e56aab24a [diff] |
build: fix workspace status detection `git status --porcelain` doesn't communicate status by return code, not sure where I got that from. Tested manually on main branch just now. Change-Id: I9b05ba552abaf6efe2364b7dec43728eba4ace6e Reviewed-on: https://review.monogon.dev/c/monogon/+/2766 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 //...