commit | eca5af965b6d95d953066a298ee896791ee00796 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:31:37 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Jun 21 15:01:58 2023 +0000 |
tree | 095d92aeddcd7861b4c204bc2a9abb5db24977cb | |
parent | 2876efab007ae58856891dbe5cb3e985d948c6d9 [diff] |
.bazelrc: add go tags: {net,osuser}go This makes our code not use glibc-based implementations of user and host resolution even when cgo is enabled for race detection. Change-Id: I162105ef58291dc225fb158b56c93cfb7bce9a54 Reviewed-on: https://review.monogon.dev/c/monogon/+/1834 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 //...