Skip to content

Commit d7b998e

Browse files
authored
Merge pull request #35352 from dims/add-a-presubmit-equivalent-of-ci-audit-kind-conformance
Add a presubmit equivalent of ci-audit-kind-conformance
2 parents c5cc3c9 + 9976c9d commit d7b998e

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
presubmits:
2+
kubernetes/kubernetes:
3+
# same as ci-audit-kind-conformance, but a presubmit job
4+
- name: pull-audit-kind-conformance
5+
cluster: k8s-infra-prow-build
6+
optional: true
7+
always_run: false
8+
decorate: true
9+
skip_branches:
10+
- release-\d+\.\d+ # per-release settings
11+
labels:
12+
preset-service-account: "true"
13+
preset-dind-enabled: "true"
14+
preset-kind-volume-mounts: "true"
15+
decoration_config:
16+
timeout: 150m
17+
grace_period: 15m
18+
path_alias: k8s.io/kubernetes
19+
spec:
20+
containers:
21+
- image: gcr.io/k8s-staging-test-infra/krte:v20250815-171060767f-master
22+
command:
23+
- wrapper.sh
24+
- bash
25+
- -c
26+
-
27+
curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/"
28+
&& curl -sO https://raw.githubusercontent.com/ii/kind/ci-audit-logging/hack/ci/e2e-k8s.sh
29+
&& bash e2e-k8s.sh
30+
env:
31+
- name: BUILD_TYPE
32+
value: docker
33+
# we need privileged mode in order to do docker in docker
34+
securityContext:
35+
privileged: true
36+
resources:
37+
# these are both a bit below peak usage during build
38+
# this is mostly for building kubernetes
39+
limits:
40+
cpu: 2000m
41+
memory: "9000Mi"
42+
requests:
43+
# during the tests more like 3-20m is used
44+
cpu: 2000m
45+
memory: "9000Mi"
46+
annotations:
47+
testgrid-dashboards: sig-arch-conformance
48+
testgrid-tab-name: presubmit-kind-conformance-audit
49+
test-grid-alert-email: [email protected]
50+
testgrid-num-failures-to-alert: '1'
51+
152
periodics:
253
# conformance test against kubernetes master branch with `kind` and auditlogs
354
# Other than annotations and modified ci-audit-logging e2e-k8s.sh

0 commit comments

Comments
 (0)