commit | 9fd3c3de3d48f328c5771f3659235774aa7df984 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:18:36 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 14:19:54 2023 +0000 |
tree | ed1c39faa59c9bfd6a3bdd6a2bdfe6814c73e2f6 | |
parent | 9739a4f0d1a48cbc4e9f6092d3bd471e833bb8c0 [diff] |
build/toolchain/musl-host-gcc: handle non-workspace-root execution This is needed to build stdlib with cgo, which is in turn required for the race checker to be enabled. Change-Id: Ic81542925a02c626f157dfd8c6650de3dbb30c7d Reviewed-on: https://review.monogon.dev/c/monogon/+/1832 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 //...