commit | 86afa224665bb3c465c0ff36d97baafebc673264 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Apr 06 10:47:50 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Apr 06 09:55:51 2023 +0000 |
tree | d4cdce3099580c1b34b8855be47807bfbc05643a | |
parent | 7920852953a4b0846ddb16cb82a038b064ba473a [diff] |
m/n/c/cluster: when registering, save node credentials before starting roleserver This makes sure we don't start heartbeating (and generally running any production roles) before we have our newly generated credentials persisted into ESP. In turn this should make our E2E tests less flaky. Change-Id: I6440c53b346080015e082d97af06f795f7b8ed60 Reviewed-on: https://review.monogon.dev/c/monogon/+/1497 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 //...