commit | a9580a7970010d14ccbfe86c22483eeae9b7c05c | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Jan 12 14:44:35 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Mon Jan 23 09:53:32 2023 +0000 |
tree | 237a68cba739f4cc29b97bacd602412336a2372c | |
parent | 60a00a9b08b416be8a29a5d2a19f44e3ab3192d5 [diff] |
c/bmaas/bmdb: implement backoff and history This augments the existing Work mechanism with a Fail outcome/method which allows insertion of a machine & process backoff until a deadline expires. We also add a history/audit table which contains information about the work history of a machine - when some work started, finished, failed or got cancelled. Change-Id: If890a412977c1d3c7ff3baa69987fb74932818a0 Reviewed-on: https://review.monogon.dev/c/monogon/+/1086 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 //...