commit | ad131883747f73e51526dd6f163df23b913f69ed | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed Jun 28 16:42:20 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Jul 27 13:58:35 2023 +0000 |
tree | e5dee1d605cf4df4c507529185a82b49dbb841b3 | |
parent | cb9f3d3d495b12e26772271e368340a38244d586 [diff] |
treewide: port everything to blockdev This gets rid of most ad-hoc block device code, using blockdev for everything. It also gets rid of diskfs for everything but tests. This enables Metropolis to be installed on non-512-byte block sizes. Change-Id: I644b5b68bb7bed8106585df3179674789031687a Reviewed-on: https://review.monogon.dev/c/monogon/+/1873 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 //...