Repository navigation
ci(p5): run kyverno test in static-gates with a self-test (DRF-67) - #74
Merged
Merged
Conversation
New job `kyverno` runs gitops/tests/kyverno_test.sh: the L1 cases in gitops/tests/kyverno/ inside the pinned kyverno-cli v1.20.0 image (by digest, no network, repo read-only). It passes only on "N passed and 0 failed" with N >= 1, then flips one expectation in a copy and requires that run to fail. Local: 14/14, self-test 11 passed 3 failed. SPEC-P5 P5-T2.2 note and the Kyverno runbook appendix updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
DRF-67 asks for
kyverno testPASS in CI. Until now the 14 L1 cases ingitops/tests/kyverno/only ran locally.What
gitops/tests/kyverno_test.sh: runskyverno testinreg.kyverno.io/kyverno/kyverno-cliv1.20.0 pinned by digest (same digest asdocs/evidence/p5/P5-T1_PINS_20261122.md),--network none, repo mounted read-only.Test Summary: N tests passed and 0 tests failedwith N >= 1 and exit 0.result: passtofail, and requires that run to fail..github/workflows/static-gates.yml: new jobkyvernoonubuntu-24.04(thegitopsjob runs in a Python container without Docker).docs/runbooks/P5_L2_KIND_KYVERNO.mdwith the one-line rerun.Verification (local, Claude)
bash gitops/tests/kyverno_test.sh: 14 passed 0 failed; self-test 11 passed 3 failed →PASS kyverno test and self-test.bash gitops/check.sh: PASS.bash gitops/tests/check_guards.sh: 77/77.No AWS, no credential, no secret referenced.
🤖 Generated with Claude Code