commit | 32c5fb80970db711fc2f81ceef2b07c29b409e5b | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Aug 03 17:37:56 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Mon Aug 07 17:54:59 2023 +0000 |
tree | 45b735a5f41722d0cc5fc6886e894d498830a132 | |
parent | f025d1b20232385fa09459794dda9f9df0f5295a [diff] |
m/n/c/update: fix matching boot entries The matching code accidentally worked as long as there was only one boot entry for each loader path (boot-a.efi/boot-b.efi) as it type-asserted a pointer which caused ok to always be false and thus all entries passed through the UUID check. This fixes the type assertion and following logic. Change-Id: I83fdd2204028633dc274055f7d1ecb458747174e Reviewed-on: https://review.monogon.dev/c/monogon/+/2031 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 -c dbg
Launch an ephemeral test node:
bazel test //:launch -c 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 -c dbg //...