commit | 3fd0977e92c3e86cdfde736debdda66af05d1015 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Oct 26 19:13:32 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Mon Nov 13 20:11:06 2023 +0000 |
tree | 879808d1406f1f1caeb5030a10779d25a6c05a07 | |
parent | 8ec6ef0931c7e3d3084bc3180a9d88c002a1618d [diff] |
m/n/c/curator/watcher: init curator/watcher is a new library which simplifies access to the Curator from client code. It implements common logic found in a bunch of Metropolis code, where a node or multiple nodes are watched for updates. The single-node version of this RPC is not that complex, but the many-node version is and definitely deserves a client library to remove possible sources of implementation bugs. This doesn't yet switch over any of the existing code to use this library - that will come up in another CR on the stack. Change-Id: Ia1df6f21473f86cb9af1e962d157350a5cfd7d07 Reviewed-on: https://review.monogon.dev/c/monogon/+/2262 Reviewed-by: Lorenz Brun <lorenz@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 --config dbg
Launch an ephemeral test node:
bazel test //:launch --config 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 --config dbg //...