commit | 98054a1ddb45d9e0246a0f7f7b93f9e90619a544 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Jun 14 18:16:21 2023 +0200 |
committer | Tim Windelschmidt <tim@monogon.tech> | Wed Jun 14 17:07:27 2023 +0000 |
tree | 52ce0573faf5cddbb60c7ed99463837ba14426c8 | |
parent | 0c2f9ded884f7f54d74a8c251c51231841f71728 [diff] |
metropolis/node: fix non-secure TPM/storage policy codepaths This fixes enoug things to pass manually ran E2E tests with the initial cluster confiugration changed to a number of possible combinations (with/without TPM, with authenticated/encrypted/insecure storage). These should, of course, be automatically tested. However, that is pending on the extension of E2E test system that will let it run long-term tests against real clusters. Otherwise we'd just waste tons of time running the entire matrix of possible combinations on every CR. Change-Id: I71a56f9a31c738ee2b2d4dfa10d2a58fd5cb0554 Reviewed-on: https://review.monogon.dev/c/monogon/+/1810 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@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 //...