Skip to content

Commit da4de6a

Browse files
authored
Merge pull request #35534 from pohly/alpha-job-removal
sig-testing: alpha/beta "enabled" and "conformance" presubmits
2 parents 375335d + 04f210d commit da4de6a

File tree

2 files changed

+214
-0
lines changed

2 files changed

+214
-0
lines changed

config/jobs/kubernetes/sig-testing/kubernetes-kind-presubmits.yaml

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,106 @@ presubmits:
314314
cpu: 7
315315
memory: 9000Mi
316316

317+
- name: pull-kubernetes-e2e-kind-beta-enabled
318+
cluster: k8s-infra-prow-build
319+
annotations:
320+
description: Runs tests with no special requirements in a KinD cluster where beta feature gates and APIs are enabled, i.e. this does not include tests for off-by-default beta features.
321+
testgrid-num-failures-to-alert: '10'
322+
testgrid-alert-stale-results-hours: '24'
323+
testgrid-create-test-group: 'true'
324+
optional: true
325+
always_run: false
326+
decorate: true
327+
skip_branches:
328+
- release-\d+\.\d+ # per-release settings
329+
labels:
330+
preset-dind-enabled: "true"
331+
decoration_config:
332+
timeout: 60m
333+
grace_period: 15m
334+
path_alias: k8s.io/kubernetes
335+
spec:
336+
containers:
337+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
338+
command:
339+
- wrapper.sh
340+
- bash
341+
- -c
342+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
343+
env:
344+
- name: FEATURE_GATES
345+
value: '{"AllBeta":true}'
346+
- name: RUNTIME_CONFIG
347+
value: '{"api/beta":"true", "api/ga":"true"}'
348+
- name: FOCUS
349+
value: ""
350+
- name: SKIP
351+
value: ""
352+
- name: LABEL_FILTER
353+
value: "Feature: isEmpty && !Deprecated && !Slow && !Disruptive && !Flaky"
354+
- name: PARALLEL
355+
value: "true"
356+
# we need privileged mode in order to do docker in docker
357+
securityContext:
358+
privileged: true
359+
resources:
360+
limits:
361+
cpu: 7
362+
memory: 9000Mi
363+
requests:
364+
cpu: 7
365+
memory: 9000Mi
366+
367+
- name: pull-kubernetes-e2e-kind-beta-enabled-conformance
368+
cluster: k8s-infra-prow-build
369+
annotations:
370+
description: Runs conformance tests in a KinD cluster where beta feature gates and APIs are enabled.
371+
testgrid-num-failures-to-alert: '10'
372+
testgrid-alert-stale-results-hours: '24'
373+
testgrid-create-test-group: 'true'
374+
optional: true
375+
always_run: false
376+
decorate: true
377+
skip_branches:
378+
- release-\d+\.\d+ # per-release settings
379+
labels:
380+
preset-dind-enabled: "true"
381+
decoration_config:
382+
timeout: 60m
383+
grace_period: 15m
384+
path_alias: k8s.io/kubernetes
385+
spec:
386+
containers:
387+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
388+
command:
389+
- wrapper.sh
390+
- bash
391+
- -c
392+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
393+
env:
394+
- name: FEATURE_GATES
395+
value: '{"AllBeta":true}'
396+
- name: RUNTIME_CONFIG
397+
value: '{"api/beta":"true", "api/ga":"true"}'
398+
- name: FOCUS
399+
value: ""
400+
- name: SKIP
401+
value: ""
402+
- name: LABEL_FILTER
403+
value: "Conformance && !Deprecated && !Slow && !Disruptive && !Flaky"
404+
- name: PARALLEL
405+
value: "true"
406+
# we need privileged mode in order to do docker in docker
407+
securityContext:
408+
privileged: true
409+
resources:
410+
limits:
411+
cpu: 7
412+
memory: 9000Mi
413+
requests:
414+
cpu: 7
415+
memory: 9000Mi
416+
317417
- name: pull-kubernetes-e2e-kind-alpha-beta-features
318418
annotations:
319419
description: Runs tests with no special requirements other than alpha or beta feature gates in a KinD cluster where alpha and beta feature gates and APIs are enabled.
@@ -361,6 +461,108 @@ presubmits:
361461
cpu: 7
362462
memory: 9000Mi
363463

464+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled
465+
annotations:
466+
description: Runs tests with no special requirements in a KinD cluster where alpha and beta feature gates and APIs are enabled, i.e. this does not include tests for alpha features and off-by-default beta features.
467+
testgrid-num-failures-to-alert: '10'
468+
testgrid-alert-stale-results-hours: '24'
469+
testgrid-create-test-group: 'true'
470+
cluster: k8s-infra-prow-build
471+
optional: true
472+
run_if_changed: ^pkg/features/
473+
decorate: true
474+
skip_branches:
475+
- release-\d+\.\d+ # per-release settings
476+
labels:
477+
preset-dind-enabled: "true"
478+
decoration_config:
479+
timeout: 60m
480+
grace_period: 15m
481+
path_alias: k8s.io/kubernetes
482+
spec:
483+
containers:
484+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
485+
command:
486+
- wrapper.sh
487+
- bash
488+
- -c
489+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
490+
env:
491+
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
492+
- name: FEATURE_GATES
493+
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
494+
- name: RUNTIME_CONFIG
495+
value: '{"api/all":"true"}'
496+
- name: FOCUS
497+
value: ""
498+
- name: SKIP
499+
value: ""
500+
- name: LABEL_FILTER
501+
value: "Feature: isEmpty && !Deprecated && !Slow && !Disruptive && !Flaky"
502+
- name: PARALLEL
503+
value: "true"
504+
# we need privileged mode in order to do docker in docker
505+
securityContext:
506+
privileged: true
507+
resources:
508+
limits:
509+
cpu: 7
510+
memory: 9000Mi
511+
requests:
512+
cpu: 7
513+
memory: 9000Mi
514+
515+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled-conformance
516+
annotations:
517+
description: Runs conformance tests in a KinD cluster where alpha and beta feature gates and APIs are enabled.
518+
testgrid-num-failures-to-alert: '10'
519+
testgrid-alert-stale-results-hours: '24'
520+
testgrid-create-test-group: 'true'
521+
cluster: k8s-infra-prow-build
522+
optional: true
523+
run_if_changed: ^pkg/features/
524+
decorate: true
525+
skip_branches:
526+
- release-\d+\.\d+ # per-release settings
527+
labels:
528+
preset-dind-enabled: "true"
529+
decoration_config:
530+
timeout: 60m
531+
grace_period: 15m
532+
path_alias: k8s.io/kubernetes
533+
spec:
534+
containers:
535+
- image: gcr.io/k8s-staging-test-infra/krte:v20250904-c89b045f57-master
536+
command:
537+
- wrapper.sh
538+
- bash
539+
- -c
540+
- curl -sSL https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz | tar xvfz - -C "${PATH%%:*}/" && e2e-k8s.sh
541+
env:
542+
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
543+
- name: FEATURE_GATES
544+
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
545+
- name: RUNTIME_CONFIG
546+
value: '{"api/all":"true"}'
547+
- name: FOCUS
548+
value: ""
549+
- name: SKIP
550+
value: ""
551+
- name: LABEL_FILTER
552+
value: "Conformance && !Deprecated && !Slow && !Disruptive && !Flaky"
553+
- name: PARALLEL
554+
value: "true"
555+
# we need privileged mode in order to do docker in docker
556+
securityContext:
557+
privileged: true
558+
resources:
559+
limits:
560+
cpu: 7
561+
memory: 9000Mi
562+
requests:
563+
cpu: 7
564+
memory: 9000Mi
565+
364566
- name: pull-kubernetes-e2e-kind-alpha-beta-features-race
365567
annotations:
366568
description: Runs tests with no special requirements other than alpha or beta feature gates in a KinD cluster where alpha and beta feature gates and APIs are enabled and control plane components are built with race detection.

config/testgrids/kubernetes/presubmits/config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,21 @@ dashboards:
107107
- name: pull-kubernetes-e2e-kind-beta-features
108108
test_group_name: pull-kubernetes-e2e-kind-beta-features
109109
base_options: width=10
110+
- name: pull-kubernetes-e2e-kind-beta-enabled
111+
test_group_name: pull-kubernetes-e2e-kind-beta-enabled
112+
base_options: width=10
113+
- name: pull-kubernetes-e2e-kind-beta-enabled-conformance
114+
test_group_name: pull-kubernetes-e2e-kind-beta-enabled-conformance
115+
base_options: width=10
110116
- name: pull-kubernetes-e2e-kind-alpha-beta-features
111117
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-features
112118
base_options: width=10
119+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled
120+
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-enabled
121+
base_options: width=10
122+
- name: pull-kubernetes-e2e-kind-alpha-beta-enabled-conformance
123+
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-enabled-conformance
124+
base_options: width=10
113125
- name: pull-kubernetes-e2e-kind-alpha-beta-features-race
114126
test_group_name: pull-kubernetes-e2e-kind-alpha-beta-features-race
115127
base_options: width=10

0 commit comments

Comments
 (0)