Skip to content

Commit 463aaf3

Browse files
authored
Merge pull request #35006 from dims/add-kind-and-unit-periodic-and-presubmit-tests-against-golang-tip
Add kind and unit periodic and presubmit tests against golang tip
2 parents 21eecd3 + 6923833 commit 463aaf3

File tree

1 file changed

+189
-0
lines changed

1 file changed

+189
-0
lines changed

config/jobs/kubernetes/sig-arch/kubernetes-code-organization.yaml

Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,101 @@ presubmits:
9191
testgrid-alert-stale-results-hours: '24'
9292
fork-per-release: "true"
9393

94+
- name: pull-kubernetes-e2e-kind-golang-tip
95+
cluster: k8s-infra-prow-build
96+
optional: true
97+
always_run: false
98+
decorate: true
99+
skip_branches:
100+
- release-\d+\.\d+ # per-release settings
101+
labels:
102+
preset-dind-enabled: "true"
103+
decoration_config:
104+
timeout: 60m
105+
grace_period: 15m
106+
path_alias: k8s.io/kubernetes
107+
extra_refs:
108+
- org: kubernetes
109+
repo: test-infra
110+
base_ref: master
111+
path_alias: k8s.io/test-infra
112+
spec:
113+
containers:
114+
- image: gcr.io/k8s-staging-test-infra/krte:v20250613-876fb90a97-master
115+
command:
116+
- wrapper.sh
117+
- bash
118+
- -c
119+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
120+
env:
121+
- name: LABEL_FILTER
122+
value: "Feature: isEmpty && !Slow && !Disruptive && !Flaky"
123+
- name: PARALLEL
124+
value: "true"
125+
- name: GO_VERSION
126+
value: "devel"
127+
# we need privileged mode in order to do docker in docker
128+
securityContext:
129+
privileged: true
130+
resources:
131+
limits:
132+
cpu: 7
133+
memory: 9000Mi
134+
requests:
135+
cpu: 7
136+
memory: 9000Mi
137+
annotations:
138+
testgrid-dashboards: sig-arch-code-organization
139+
testgrid-tab-name: pull-kind-master-golang-tip
140+
testgrid-num-failures-to-alert: '10'
141+
testgrid-alert-stale-results-hours: '24'
142+
fork-per-release: "true"
143+
144+
- name: pull-kubernetes-e2e-unit-golang-tip
145+
cluster: k8s-infra-prow-build
146+
optional: true
147+
always_run: false
148+
decorate: true
149+
skip_branches:
150+
- release-\d+\.\d+ # per-release settings
151+
path_alias: k8s.io/kubernetes
152+
extra_refs:
153+
- org: kubernetes
154+
repo: test-infra
155+
base_ref: master
156+
path_alias: k8s.io/test-infra
157+
spec:
158+
# unit tests have no business requiring root or doing privileged operations
159+
securityContext:
160+
# NOTE: these are arbitrary non-root values. They don't exist in the
161+
# image and don't need to, the unit tests should only write to TMPDIR
162+
runAsUser: 2001
163+
runAsGroup: 2010
164+
containers:
165+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250613-876fb90a97-master
166+
securityContext:
167+
allowPrivilegeEscalation: false
168+
command:
169+
- runner.sh
170+
- make
171+
- test
172+
env:
173+
- name: GO_VERSION
174+
value: "devel"
175+
resources:
176+
limits:
177+
cpu: 7.2
178+
memory: "43Gi"
179+
requests:
180+
cpu: 7.2
181+
memory: "43Gi"
182+
annotations:
183+
testgrid-dashboards: sig-arch-code-organization
184+
testgrid-tab-name: pull-unit-master-golang-tip
185+
testgrid-num-failures-to-alert: '10'
186+
testgrid-alert-stale-results-hours: '24'
187+
fork-per-release: "true"
188+
94189
periodics:
95190
- interval: 4h
96191
cluster: k8s-infra-prow-build
@@ -181,3 +276,97 @@ periodics:
181276
requests:
182277
cpu: 7.2
183278
memory: "43Gi"
279+
280+
- interval: 4h
281+
cluster: k8s-infra-prow-build
282+
name: ci-kubernetes-e2e-kind-golang-tip
283+
annotations:
284+
testgrid-dashboards: sig-arch-code-organization
285+
testgrid-tab-name: kind-master-golang-tip
286+
description: Runs tests using golang tip
287+
testgrid-alert-email: [email protected]
288+
testgrid-num-columns-recent: '6'
289+
labels:
290+
preset-dind-enabled: "true"
291+
decorate: true
292+
decoration_config:
293+
timeout: 60m
294+
extra_refs:
295+
- org: kubernetes
296+
repo: kubernetes
297+
base_ref: master
298+
path_alias: k8s.io/kubernetes
299+
- org: kubernetes
300+
repo: test-infra
301+
base_ref: master
302+
path_alias: k8s.io/test-infra
303+
spec:
304+
containers:
305+
- image: gcr.io/k8s-staging-test-infra/krte:v20250613-876fb90a97-master
306+
command:
307+
- wrapper.sh
308+
- bash
309+
- -c
310+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
311+
env:
312+
- name: LABEL_FILTER
313+
value: "Feature: isEmpty && !Slow && !Disruptive && !Flaky"
314+
- name: PARALLEL
315+
value: "true"
316+
- name: GO_VERSION
317+
value: "devel"
318+
# we need privileged mode in order to do docker in docker
319+
securityContext:
320+
privileged: true
321+
resources:
322+
limits:
323+
cpu: 7
324+
memory: 9000Mi
325+
requests:
326+
cpu: 7
327+
memory: 9000Mi
328+
329+
- interval: 4h
330+
cluster: k8s-infra-prow-build
331+
name: ci-kubernetes-unit-golang-tip
332+
annotations:
333+
testgrid-dashboards: sig-arch-code-organization
334+
testgrid-tab-name: unit-master-golang-tip
335+
description: Runs unit tests using golang tip
336+
testgrid-alert-email: [email protected]
337+
testgrid-num-columns-recent: '6'
338+
decorate: true
339+
extra_refs:
340+
- org: kubernetes
341+
repo: kubernetes
342+
base_ref: master
343+
path_alias: k8s.io/kubernetes
344+
- org: kubernetes
345+
repo: test-infra
346+
base_ref: master
347+
path_alias: k8s.io/test-infra
348+
spec:
349+
# unit tests have no business requiring root or doing privileged operations
350+
securityContext:
351+
# NOTE: these are arbitrary non-root values. They don't exist in the
352+
# image and don't need to, the unit tests should only write to TMPDIR
353+
runAsUser: 2001
354+
runAsGroup: 2010
355+
containers:
356+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250613-876fb90a97-master
357+
securityContext:
358+
allowPrivilegeEscalation: false
359+
command:
360+
- runner.sh
361+
- make
362+
- test
363+
env:
364+
- name: GO_VERSION
365+
value: "devel"
366+
resources:
367+
limits:
368+
cpu: 7.2
369+
memory: "43Gi"
370+
requests:
371+
cpu: 7.2
372+
memory: "43Gi"

0 commit comments

Comments
 (0)