commit | 591d808678b9770bd579509928997dc5494806e8 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Mar 16 00:26:59 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Mar 16 13:41:02 2023 +0000 |
tree | 3afd01fdd280f279610160141c6ef1b02debb119 | |
parent | cf23ebc1afc53f93d56a0fd33209db7b033a991a [diff] |
m/test/e2e: stop downloading container images Having tests rely on The Internet isn't great, having tests rely on the Dockercorp registry is even worse. Instead, let's test everything using the preseed_test image. Change-Id: Ib82ce266592e9c6d2f0d4597abcc114c12746b1f Reviewed-on: https://review.monogon.dev/c/monogon/+/1338 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@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 //...