commit | cb9f3d3d495b12e26772271e368340a38244d586 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Jul 27 15:21:49 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Jul 27 13:58:35 2023 +0000 |
tree | ba362d7665cf7c48f246b9040ce65a506ea5b93b | |
parent | 1e0e3a47f72a8fb251bec9a98cb3d6acffe79989 [diff] |
m/p/blockdev: add darwin implementation This adds a minimal blockdev implementation for Darwin/macOS. Properly implementing Discard() is left for later as it would require extending x/sys/unix and it is allowed to just return ErrUnsupported for all calls. Change-Id: I5f3c85935301857c1f25edd8b8f9acdbe4abf4ad Reviewed-on: https://review.monogon.dev/c/monogon/+/1977 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 //...