commit | f551a7696824a9ddbac63191c489db8280aee0a4 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Tue Aug 29 23:21:25 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed Aug 30 11:58:42 2023 +0000 |
tree | b73af6eab62e92c6ceb2db6c8f1006682e1d2ec9 | |
parent | 5acd380930cf22284b22d8c2f45bd73465e64628 [diff] |
workspace: update rules_rust and add UEFI platform This updates rules_rust from 0.16 to 0.26 and adds a patch sent upstream for UEFI support. Explicit toolchain definitions are needed for UEFI, so three toolchains for all currently-supported host OSs (Linux and macOS) are added. Rust UEFI support libraries will be added in a followup CL. Change-Id: I52175f69f6a5c424f1f232748ff96dd6fcbbe92a Reviewed-on: https://review.monogon.dev/c/monogon/+/2104 Reviewed-by: Serge Bazanski <serge@monogon.tech> Tested-by: Jenkins CI
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 //...