commit | d141d182614f915ae44250b84c6be10276ca4840 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Mon Oct 02 15:07:01 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Oct 05 13:46:24 2023 +0000 |
tree | 8d590cd643144299ccb28960ea7af55b79d8e304 | |
parent | 1dc60af36a57d434689032234fdc9e9d00ed957e [diff] |
workspace: add Rust EFI infrastructure This bumps rules_rust, cleans up the toolchains with the new version. It also adds the Prost codegen to "normal" crate set as well as a new crate set specific to EFI. This is separate because of Rust no-std's dependence on create feature tags. Change-Id: Ie76e66ee83696948391420ca3b011a3a71258690 Reviewed-on: https://review.monogon.dev/c/monogon/+/2202 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 //...