commit | d6397766915e4427f74d59656718acffc92d872c | [log] [tgz] |
---|---|---|
author | Leopold <leo@monogon.tech> | Tue Jan 31 18:16:07 2023 +0100 |
committer | Leopold Schabel <leo@monogon.tech> | Tue Jan 31 17:56:09 2023 +0000 |
tree | a3ca53093fb6f0caa39b5b252c1530a76ce64a47 | |
parent | 52c261e956bc48b538f15b64d89a39f5f567ceaa [diff] |
build/ci: add "go mod tidy" step This ensures that go.{mod,sum} are up to date and that there aren't any missing placeholders. Change-Id: I2ebc60a8f43f62bf8b70df66e68fafd7026b6148 Reviewed-on: https://review.monogon.dev/c/monogon/+/1107 Reviewed-by: Mateusz Zalega <mateusz@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 //...