commit | c49b207a66a994ccda382d685022d08cbd9ee582 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Jun 21 23:12:01 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Jun 22 12:38:25 2023 +0000 |
tree | b0eed5a22bdb110ea4c115a2bea403e1e00e5dc2 | |
parent | 51a3ed59a1408fe5d8103dca5b6a04dbaa4e5b6a [diff] |
m/n/core/net/hostsfile: do not stomp over cluster directory If we join a cluster after reboot, we already have a cluster directory on the ESP. We should not write over it with an empty one, but instead wait until we've received a recent copy of it from the cluster. Fixes https://github.com/monogon-dev/monogon/issues/228 Change-Id: Ibbfa23009eaa9feb99a332ac0c5e17dd89aea7bf Reviewed-on: https://review.monogon.dev/c/monogon/+/1846 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 //...