Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e: use real reference values on bare-metal runners #1115

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

jmxnzo
Copy link
Contributor

@jmxnzo jmxnzo commented Jan 2, 2025

Until now we are using the generated reference values in our e2e tests on bare metal, which contain placeholder null values. This PR ensures, that the reference values of our e2e test correctly reflect the bare-metal runners (tdx & snp).

  • A ConfigMap, persistently storing the missing reference values of our bare-metal runners was added to our e2e cluster. Thus reachable by any workflow ran on the e2e cluster.
  • Reworked e2e testing logic of patchReferenceValues() as stated in #1104 by moving the invalidation of reference values into an own function

@jmxnzo jmxnzo added the no changelog PRs not listed in the release notes label Jan 2, 2025
@jmxnzo jmxnzo force-pushed the e2e/baremetal-runner-tcb branch from 1cfb8a9 to 52ae4ee Compare January 2, 2025 14:10
@jmxnzo jmxnzo marked this pull request as ready for review January 2, 2025 15:37
@jmxnzo jmxnzo requested a review from burgerdev as a code owner January 2, 2025 15:37
.github/workflows/e2e.yml Outdated Show resolved Hide resolved
e2e/internal/contrasttest/contrasttest.go Outdated Show resolved Hide resolved
e2e/internal/contrasttest/testdata/snp-minimum-tcb.json Outdated Show resolved Hide resolved
e2e/internal/contrasttest/contrasttest.go Outdated Show resolved Hide resolved
@jmxnzo jmxnzo changed the title e2e: use real minimumTCB values on bare-metal runners e2e: use real reference values on bare-metal runners Jan 3, 2025
@jmxnzo jmxnzo force-pushed the e2e/baremetal-runner-tcb branch from 6e05d8c to bf6c701 Compare January 3, 2025 16:29
@jmxnzo jmxnzo requested a review from burgerdev January 3, 2025 16:29
e2e/internal/contrasttest/contrasttest.go Outdated Show resolved Hide resolved
e2e/internal/contrasttest/contrasttest.go Outdated Show resolved Hide resolved
e2e/internal/kubeclient/kubeclient.go Outdated Show resolved Hide resolved
@jmxnzo jmxnzo force-pushed the e2e/baremetal-runner-tcb branch 2 times, most recently from 5557233 to 4a5cbf9 Compare January 9, 2025 15:42
@jmxnzo jmxnzo requested a review from burgerdev January 10, 2025 13:04
@jmxnzo jmxnzo force-pushed the e2e/baremetal-runner-tcb branch from 4a5cbf9 to 54e4da8 Compare January 10, 2025 14:20
@jmxnzo jmxnzo merged commit 662af0c into main Jan 10, 2025
10 checks passed
@jmxnzo jmxnzo deleted the e2e/baremetal-runner-tcb branch January 10, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants