commit | 677887828c5440ac794e2cbd892f2c3314f7b63e | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Mar 28 20:13:18 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Mar 29 12:34:59 2023 +0000 |
tree | 4704995fc5fcd838f615efeaf3c6f2a4b578160e | |
parent | e6bc2275053e06ea8d1274d132e5bb071aac6a75 [diff] |
m/n/core/curator: check that pubkey is given when expecting self-signed certificate PeerInfo.Unauthenticated does not imply Unauthenticated.SelfSigned, which might be nil if a client connects without a certificate at all. This makes sure we don't crash when that happens. Change-Id: I52ceefe13f1eab9efe549e900a1ae715086b499e Reviewed-on: https://review.monogon.dev/c/monogon/+/1414 Reviewed-by: Leopold Schabel <leo@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 //...