commit | 00cf57dd411af5f5c9aa21ced2a2d6c67729297c | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Apr 20 11:19:00 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Apr 25 11:56:50 2023 +0000 |
tree | bdd35f818c7aca6d2f0bac93501d7a56fcfc2911 | |
parent | afd3cf8bb5c99e9a8db23a5f435f7c1e31c96f91 [diff] |
cloud/bmaas: split ShepherdAccess into Shepherd{AgentStart,Recovery} This effectively undoes our previous attempted consolidation of all Shepherd accesses under one tag. We now use two separate tags for the two main Shepherd work processes, and mutually exclude them in SQL. We do this so that we can see more clearly in work history (and in general when processing machines) what the Shepherd is actually trying to do to a machine. The downside of this implementation is that we now extend the BMDB/ETP model to being able to mutually exclude different processes. This is easy enough to express in SQL, but might make future generic modelling more difficult. An alternative would be to add an extra field to work/work history that acts as an informative field for operators to know the details of a work item. We might still want to do that in the future. However, that field being freeform, we could not really rely on it for machine parsing. Change-Id: I9578ac000f6112514fe587e9fddf7e85671c6437 Reviewed-on: https://review.monogon.dev/c/monogon/+/1584 Reviewed-by: Leopold Schabel <leo@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 //...