Skip to content

Commit 1ed729b

Browse files
committed
Add experimental support to parse audit logs in pull-audit-kind-conformance
1 parent d7b71fd commit 1ed729b

File tree

2 files changed

+649
-0
lines changed

2 files changed

+649
-0
lines changed

config/jobs/kubernetes/sig-arch/conformance-audit.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ presubmits:
1616
timeout: 150m
1717
grace_period: 15m
1818
path_alias: k8s.io/kubernetes
19+
extra_refs:
20+
- org: kubernetes
21+
repo: test-infra
22+
base_ref: master
23+
path_alias: k8s.io/test-infra
1924
spec:
2025
containers:
2126
- image: gcr.io/k8s-staging-test-infra/krte:v20250815-171060767f-master
@@ -27,6 +32,9 @@ presubmits:
2732
curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/"
2833
&& curl -sO https://raw.githubusercontent.com/ii/kind/ci-audit-logging/hack/ci/e2e-k8s.sh
2934
&& bash e2e-k8s.sh
35+
&& python3 ./../test-infra/experiment/audit/audit_log_parser.py ${ARTIFACTS}/audit/audit*.log \
36+
--output "${ARTIFACTS}/audit/audit-endpoints.txt" \
37+
--swagger-url "file://$PWD/api/openapi-spec/swagger.json"
3038
env:
3139
- name: BUILD_TYPE
3240
value: docker

0 commit comments

Comments
 (0)