commit | 88a76b7a89b3fc81b9135b1197e1ea6fd3698121 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Mon Jul 24 13:10:33 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Jul 26 10:47:46 2023 +0000 |
tree | b1ab3800149e95405b41a21bd74437c1f43c55e7 | |
parent | 4ac7112b135518b610a84a3a6db535dbb41f1fcf [diff] |
build/ci: ensure that we can build metroctl for macOS We should probably soon have separate CI targets for different build/test kinds/targets, but this will do for now. Change-Id: I710a498f771fc8fd225c1e3b4666fb28e7421b7d Reviewed-on: https://review.monogon.dev/c/monogon/+/1962 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 //...