Skip to content

Commit 0b8c49d

Browse files
authored
Merge pull request #35392 from dims/run-pull-kubernetes-audit-kind-conformance-when-conformance-files-are-touched
run pull-kubernetes-audit-kind-conformance when any conformance related files are touched
2 parents 3b9cdb0 + 0b1060f commit 0b8c49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ presubmits:
55
cluster: k8s-infra-prow-build
66
optional: true
77
always_run: false
8+
run_if_changed: '^(test/conformance/testdata/|api/openapi-spec/)'
89
decorate: true
910
skip_branches:
1011
- release-\d+\.\d+ # per-release settings
@@ -33,7 +34,6 @@ presubmits:
3334
&& curl -sO https://raw.githubusercontent.com/ii/kind/ci-audit-logging/hack/ci/e2e-k8s.sh
3435
&& bash e2e-k8s.sh
3536
&& python3 ./../test-infra/experiment/audit/audit_log_parser.py --audit-logs ${ARTIFACTS}/audit/audit*.log --output "${ARTIFACTS}/audit/audit-endpoints.txt" --audit-operations-json "${ARTIFACTS}/audit/audit-operations.json" --swagger-url "file://$PWD/api/openapi-spec/swagger.json"
36-
&& set -x
3737
&& python3 ./../test-infra/experiment/audit/kubernetes_api_analysis.py --pull-audit-endpoints "${ARTIFACTS}/audit/audit-endpoints.txt" --swagger-url "file://$PWD/api/openapi-spec/swagger.json"
3838
env:
3939
- name: BUILD_TYPE

0 commit comments

Comments
 (0)