commit | 9104e381ab7a2c90087843de00204eed9ed7cf99 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Apr 04 20:08:21 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Apr 06 14:19:04 2023 +0000 |
tree | 73bd733d7615f660d33ee8cae514782b66b53734 | |
parent | c09cca0e59c56f054a2f47872e54f83cad288c31 [diff] |
metropolis/test/e2e: add self-test image for networking We don't have any networking tests in our E2E tests. This adds an image which de-facto implements one. Or at least, will implement one once we move to split workers/controllers and contacting a Kubernetes apiserver from a pod will mean we're actually testing cross-node traffic. Change-Id: I3d7be3824ac041d72e1c19cd468d30dbcb71fa03 Reviewed-on: https://review.monogon.dev/c/monogon/+/1481 Reviewed-by: Lorenz Brun <lorenz@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 //...