commit | c1ce95f7e86c74a76ae2b29986905cb34cb19e56 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:09:25 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 14:18:21 2023 +0000 |
tree | aef29ffa1227fe5e8e07b610838489290be2c7a5 | |
parent | 2e9898d28213ec4e3fc48d962c2e2afbc0c6595c [diff] |
metropolis/rpc: fix race condition This hands off a copy of the curator map across a channel instead of the mutable map itself. Change-Id: Ib7f4ed795648517ae19938c52a6cb193f293ac8b Reviewed-on: https://review.monogon.dev/c/monogon/+/1827 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@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 //...