| commit | d79881d8a07f0d5460e78b10adbb13be6052e6fd | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@monogon.tech> | Thu Nov 30 19:02:06 2023 +0100 |
| committer | Lorenz Brun <lorenz@monogon.tech> | Thu Dec 21 14:10:41 2023 +0000 |
| tree | ff8c332c8d1e202c7cdae83814cdd4a91dd6d2c2 | |
| parent | 4f00f90934c3eb969b1490582b8194d8706a3e81 [diff] |
m/n/c/update: auto-repair preloader environment On every successful boot this checks the correctness of the preloader as well as the EFI boot entries. If anything is wrong, it automatically recreates the affected state. This also gives us a way to update the A/B preloader. Change-Id: I72137de2e3803e72a99a8397d2bfa818314229e5 Reviewed-on: https://review.monogon.dev/c/monogon/+/2413 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@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 //...