commit | 54a5a053f2250c03d8476293ecb98fdb458ee5fd | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Mon Oct 02 16:40:11 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Tue Oct 10 15:14:57 2023 +0000 |
tree | acfde3ff61c5181ca89998d725001071f86d9356 | |
parent | 4811e70b3cd8f237c1b57ac85cc4c02b57c82535 [diff] |
metropolis: implement and use A/B preloader This switches over from using the EFI built-in bootloader for A/B updates to using our own EFI preloader due to significant issues with in-the-wild EFI implementations. It is a very minimal design relying on a single Protobuf state file instead of EFI variables. Change-Id: Ieebd0a8172ebe3f44c69b3e8c278c53d3fe2eeb4 Reviewed-on: https://review.monogon.dev/c/monogon/+/2203 Tested-by: Jenkins CI Reviewed-by: Serge Bazanski <serge@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 //...