commit | fe5192dc5369ab47be1552a6935f9cb745d9f837 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Mar 16 11:33:56 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Mar 16 21:23:27 2023 +0000 |
tree | f41853b28d396a6fb1fbd9b6a9f5d16e679d0c59 | |
parent | 356cbf3e49af75d9cccf92fd8d0a3236727f6761 [diff] |
m/n/core/cluster: clean up The cluster.Manager structure got heavily refactored over its life, and we ended up with a whole bunch of stuff that wasn't even being used. Let's clean that up. We also change the oneway logic to use a channel instead of a locked boolean. Change-Id: I3e8158ad5938be1636efc9d7fad7eb6d6e953ccf Reviewed-on: https://review.monogon.dev/c/monogon/+/1354 Reviewed-by: Leopold Schabel <leo@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 -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 //...