commit | b033b380387a999b7ad19f9d001c42ec570c8945 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Mar 07 20:06:36 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Mar 07 22:29:46 2023 +0000 |
tree | 6093a955f5c08f29e6590fb71781849d100a3e0e | |
parent | d8290c8082f752f52d0ba1c765f668e2992bc5d4 [diff] |
*: fix gomodproxy compatibility This is necessary for the source to be fetchable from third-party Go projects (currently via a replace directive, as source.monogon.dev isn't go-getable). Otherwise, `go mod tidy` complains: reading https://sum.golang.org/lookup/github.com/monogon-dev/monogon@v0.0.0-20230223122556-665b10937eb8: 404 Not Found server response: not found: create zip: build/analysis/BUILD.bazel: case-insensitive file name collision: "BUILD" and "build" build/analysis/importsort/BUILD.bazel: case-insensitive file name collision: "BUILD" and "build" build/analysis/importsort/classify.go: case-insensitive file name collision: "BUILD" and "build" build/analysis/importsort/importsort.go: case-insensitive file name collision: "BUILD" and "build" build/analysis/importsort/importsort_test.go: case-insensitive file name collision: "BUILD" and "build" build/analysis/importsort/testdata/README.md: case-insensitive file name collision: "BUILD" and "build" [Truncated: too long.] Change-Id: If5947be74f7dfcf4ba4bd79c4dc37589f324b891 Reviewed-on: https://review.monogon.dev/c/monogon/+/1223 Tested-by: Leopold Schabel <leo@monogon.tech> 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 //...