| commit | 2a1d1b2e90a44e140dd95a492de0c857287e071f | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Tue Feb 06 07:07:42 2024 +0100 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Mon Feb 12 14:11:04 2024 +0000 |
| tree | 392015b9ffa5f6f38da494c0a2fc519f16883113 | |
| parent | 5d556cae21803212ac72a3713ed449b412f777af [diff] |
treewide: replace datafile pkg with rules_go/runfiles pkg rules_go/runfiles provides the same functionality as our datafile package. This change also contains some specifics for the now active bzlmod, which replaces all WORKSPACE related behaviour. As example the WORKSPACE name is now always set to _main. Change-Id: I1a69c72b479330a627b402135670f218c297906f Reviewed-on: https://review.monogon.dev/c/monogon/+/2745 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@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 --config dbg
Launch an ephemeral test node:
bazel test //:launch --config 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 --config dbg //...