commit | e1a4ac5eaec848a8b1d883c3963cfe399c71cb7d | [log] [tgz] |
---|---|---|
author | Tim Windelschmidt <tim@monogon.tech> | Tue Jun 20 12:17:54 2023 +0200 |
committer | Tim Windelschmidt <tim@monogon.tech> | Tue Jun 20 12:33:09 2023 +0000 |
tree | ef289013336335c69407d780bbccb614fb258282 | |
parent | 7e1c489409345f7212efdfcdfb105a5bbfd365c2 [diff] |
cloud/agent: generate hwreport only if a first heartbeat was successful This is mostly a hack but as we dont have a way (yet) to know when all devices are registered, we just wait until the first heartbeat was sent and only after that sent a hwreport. This should at least make sure that all important network interfaces are registered. Change-Id: Icdfc43c212470dcc37a2f916524b5f29ee42ae42 Reviewed-on: https://review.monogon.dev/c/monogon/+/1823 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
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 //...