Skip to content

Commit 438793a

Browse files
kubebuilder: add k8s 1.32 and cleanup/enhance the configuration
- Add k8s 1.23 - Remove unused branch feature/plugins - Add ENVVAR KIND_E2E true and improve CPU values to match with other configurations found in the repository as solve issues faced to run tests against 1.32
1 parent da5ec51 commit 438793a

File tree

1 file changed

+42
-6
lines changed

1 file changed

+42
-6
lines changed

config/jobs/kubernetes-sigs/kubebuilder/kubebuilder-presubmits.yaml

+42-6
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ presubmits:
3232
path_alias: sigs.k8s.io/kubebuilder
3333
branches:
3434
- ^master$
35-
- ^feature/plugins-.+$
3635
spec:
3736
containers:
3837
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241230-3006692a6f-master
@@ -42,12 +41,14 @@ presubmits:
4241
env:
4342
- name: KIND_K8S_VERSION
4443
value: "v1.30.8"
44+
- name: KIND_E2E
45+
value: "true"
4546
resources:
4647
limits:
47-
cpu: 4000m
48+
cpu: 6
4849
memory: 8Gi
4950
requests:
50-
cpu: 4000m
51+
cpu: 6
5152
memory: 8Gi
5253
securityContext:
5354
privileged: true
@@ -57,6 +58,40 @@ presubmits:
5758
labels:
5859
preset-dind-enabled: "true"
5960
preset-kind-volume-mounts: "true"
61+
- name: pull-kubebuilder-e2e-k8s-1-32-0
62+
cluster: eks-prow-build-cluster
63+
decorate: true
64+
always_run: true
65+
optional: false
66+
path_alias: sigs.k8s.io/kubebuilder
67+
branches:
68+
- ^master$
69+
spec:
70+
containers:
71+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241230-3006692a6f-master
72+
command:
73+
- runner.sh
74+
- ./test_e2e.sh
75+
env:
76+
- name: KIND_K8S_VERSION
77+
value: "v1.32.0"
78+
- name: KIND_E2E
79+
value: "true"
80+
resources:
81+
limits:
82+
cpu: 6
83+
memory: 8Gi
84+
requests:
85+
cpu: 6
86+
memory: 8Gi
87+
securityContext:
88+
privileged: true
89+
annotations:
90+
testgrid-dashboards: sig-api-machinery-kubebuilder
91+
testgrid-tab-name: kubebuilder-e2e-1-32-0
92+
labels:
93+
preset-dind-enabled: "true"
94+
preset-kind-volume-mounts: "true"
6095
- name: pull-kubebuilder-e2e-k8s-1-31-4
6196
cluster: eks-prow-build-cluster
6297
decorate: true
@@ -65,7 +100,6 @@ presubmits:
65100
path_alias: sigs.k8s.io/kubebuilder
66101
branches:
67102
- ^master$
68-
- ^feature/plugins-.+$
69103
spec:
70104
containers:
71105
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241230-3006692a6f-master
@@ -75,12 +109,14 @@ presubmits:
75109
env:
76110
- name: KIND_K8S_VERSION
77111
value: "v1.31.4"
112+
- name: KIND_E2E
113+
value: "true"
78114
resources:
79115
limits:
80-
cpu: 4000m
116+
cpu: 6
81117
memory: 8Gi
82118
requests:
83-
cpu: 4000m
119+
cpu: 6
84120
memory: 8Gi
85121
securityContext:
86122
privileged: true

0 commit comments

Comments
 (0)