commit | ea6353fd49b3978cfef7f99ada99a99f8bc10715 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:08:55 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 14:18:34 2023 +0000 |
tree | b854dec6f99a7555abc32b1ca27b74b2af815294 | |
parent | 98a6cccb052c5d17f4f2429edf41d57bd74b7ffd [diff] |
metropolis/clusternet: fix race condition This gives the wireguard backend a copy of the peer data instead of a pointer into mutable memory. Change-Id: I47ee83f3d484cc809c35d2e1779b519ec60c7c78 Reviewed-on: https://review.monogon.dev/c/monogon/+/1825 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 //...