commit | 1fb2b10801eb4ea56a1e00f174923ec83f039623 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Apr 06 10:13:46 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Apr 06 09:55:51 2023 +0000 |
tree | 8e1ef90a747d7d9559088deb321af96b09d626bb | |
parent | 86afa224665bb3c465c0ff36d97baafebc673264 [diff] |
m/node/core: run hostsfile from roleserver, provide feedback on cluster directory Not providing a heartbeat and status until we save a cluster directory to ESP is a quick and dirty way to make sure we don't mark a node as HEALTHY until it has performed the bare minimum of setup to be rebootable. This is important in our E2E tests to reduce flakiness. In the future we should have some node status field or general 'sync' API exposed, but this will do for now. Change-Id: Ibad9e91f01abeacdfe4400ef7cb36ca17f68ba0a Reviewed-on: https://review.monogon.dev/c/monogon/+/1498 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@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 //...