commit | 1e0e3a47f72a8fb251bec9a98cb3d6acffe79989 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed Jun 28 16:40:18 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Jul 27 13:58:35 2023 +0000 |
tree | 64f18c66ac03870d1cbbae02b91e6f14a4ebc090 | |
parent | fd49f22e3a98d42ffe4d508a1e49ef2549fa8ecf [diff] |
m/p/blockdev: init Adds blockdev, a package providing a Go interface for generic block devices as well as an implementation of it for Linux and auxiliary types. This will replace most ad-hoc block device handling in the monorepo. Change-Id: I3a4e3b7c31a8344f7859210bbb4942977d1ad1d2 Reviewed-on: https://review.monogon.dev/c/monogon/+/1871 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 //...