commit | 5b8b86069584664f8be69467290d7cae7d000b8d | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Mar 09 17:22:21 2023 +0100 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Mar 09 20:09:06 2023 +0000 |
tree | 9eae59a652bcafb11e017a61db58e41c67f42977 | |
parent | 2d284b5718ad0948e7ef5afc5905f36701f4a3ab [diff] |
cloud: use machine_id for all agent communication The original proto used provider-scoped provider_ids, these are being replaced by a single machine_id, assigned by the BMaaS service. Its API works in terms of machine_id, not provider_id (see AgentHeartbeatRequest), so this needs to be changed. Change-Id: If13942d02a8ac0e2901c549a92a67b6b10a1e196 Reviewed-on: https://review.monogon.dev/c/monogon/+/1263 Tested-by: Leopold Schabel <leo@monogon.tech> 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 //...