| commit | ca9cfcf9cfbb0ae46ee4f6f0d207cdbd7085e460 | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@monogon.tech> | Tue May 02 19:29:14 2023 +0200 |
| committer | Lorenz Brun <lorenz@monogon.tech> | Wed May 03 09:47:02 2023 +0000 |
| tree | 772b7ebfbdfb6c0544860a919a346bcb462874bd | |
| parent | 0508c6df9ab35ebbf0f0367ba1f7ed74bdfb20c8 [diff] |
m/p/{efivars,sysfs}: use typed UUIDs
The functions ReadLoaderDevicePartUUID and DeviceByPartUUID passed
around UUIDs as strings. This is inconvenient as UUID strings are not
normalized and thus require special care.
Switch to Google's uuid library and use their type, same as most other
things in the monorepo.
Change-Id: I19deed804cff7036f756257fbf5689570cccc812
Reviewed-on: https://review.monogon.dev/c/monogon/+/1640
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 -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 //...