commit | 6af91052f33c881c402012038c2f3fd8ee254cdd | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Feb 23 09:36:27 2023 +0000 |
committer | Serge Bazanski <serge@monogon.tech> | Mon Mar 06 10:47:29 2023 +0000 |
tree | 62dc7cfe94006831ff3d81eea1d96d76a90827ba | |
parent | 0f1939a2f68eb848cca7971808dc451528b47b4f [diff] |
BUILD: add stub_shebangs to py_runtimes for NixOS This is needed as otherwise NixOS bazel will happily use hardcoded /nix/store paths here. Change-Id: Ia32268fd6cb249c05c0ec8f550d761444616adbf Reviewed-on: https://review.monogon.dev/c/monogon/+/1147 Reviewed-by: Leopold Schabel <leo@monogon.tech> Tested-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 //...