commit | 44cacd6bd39f0d70aab912e4d02f2ef2e453bc4d | [log] [tgz] |
---|---|---|
author | Tim Windelschmidt <tim@monogon.tech> | Mon Jun 12 23:54:45 2023 +0200 |
committer | Tim Windelschmidt <tim@monogon.tech> | Tue Jun 13 09:40:46 2023 +0000 |
tree | 1ab3deae3f63c854bf4e2a89f25937ad062a6130 | |
parent | f9e3a6558f8725123e4cde38098e80c1167fb47c [diff] |
cloud: validate that there are not positional arguments flag.Parse() parses arguments after boolean flags as positional argument. This produces unexpected behaviour like this: ``` > -a "true" -b "true" a: false > -a -b "true" b: true ``` Change-Id: I0f8555fc45acf305a5efd365a6eae03eb8930942 Reviewed-on: https://review.monogon.dev/c/monogon/+/1798 Reviewed-by: Serge Bazanski <serge@monogon.tech> Tested-by: Jenkins CI
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 //...