commit | 901c7326fe067707812757e4e9409f756edf0e37 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Jul 13 20:10:37 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed Jul 19 11:54:30 2023 +0000 |
tree | f07f9dc363f0448076024ec4217858dcf47bcb88 | |
parent | 3df66ebf2ae75de9e62302332412655e8fb45d04 [diff] |
m/p/localregistry: init Adds the localregistry package, which serves Bazel-built container images via the Docker/OCI V2 registry API. This will be used to serve test images instead of preseeding them. Change-Id: I0c2ceb9a83f807c9c87ab03bc1141ca67cc64268 Reviewed-on: https://review.monogon.dev/c/monogon/+/1926 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@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 //...