commit | d20af4f15347651efa7b90490f8e657d35281883 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:08:24 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:06:46 2023 +0000 |
tree | 49f01ce9ba6d73e06cf7ff3b7184c5db1d9c7b25 | |
parent | e1a4ac5eaec848a8b1d883c3963cfe399c71cb7d [diff] |
metropolis/pkg/cmd: fix race condition cmd.Wait should not be accessed concurrently. Change-Id: Icaaa1a22b1d23211dc1259af6cf97463228944ae Reviewed-on: https://review.monogon.dev/c/monogon/+/1824 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 //...