commit | 0b84a9f5e2caef3f66e4d912b6ac18429dff2c2d | [log] [tgz] |
---|---|---|
author | Tim Windelschmidt <tim@monogon.tech> | Thu Jul 27 14:20:31 2023 +0000 |
committer | Tim Windelschmidt <tim@monogon.tech> | Tue Aug 01 13:30:41 2023 +0000 |
tree | e44c00c20213a01877783405929f27edc3357d79 | |
parent | 35fcf0397be02883ace364e650b3e8d9a2281e24 [diff] |
metropolis/node: show build commit on startup Previously it was not possible to identify the running version, with this change the build commit and tree state gets stamped into the binary and printed on boot. Change-Id: I3916e3d40dc87f28a58eb74c6450218550fb3214 Reviewed-on: https://review.monogon.dev/c/monogon/+/1978 Tested-by: Jenkins CI Reviewed-by: Serge Bazanski <serge@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 //...