Skip to content

Commit 1d15f1e

Browse files
Add duplicate job for cluster-api-e2e-main on GKE cluster for testing.
Signed-off-by: Muhammad Adil Ghaffar <[email protected]>
1 parent b55f0fa commit 1d15f1e

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

config/jobs/kubernetes-sigs/cluster-api/cluster-api-main-presubmits.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,54 @@ presubmits:
289289
annotations:
290290
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
291291
testgrid-tab-name: capi-pr-e2e-main
292+
# This job is added for testing purposes only.
293+
- name: pull-cluster-api-e2e-main-gke
294+
cluster: k8s-infra-prow-build
295+
labels:
296+
preset-dind-enabled: "true"
297+
preset-kind-volume-mounts: "true"
298+
extra_refs:
299+
- org: kubernetes
300+
repo: kubernetes
301+
base_ref: master
302+
path_alias: k8s.io/kubernetes
303+
decorate: true
304+
decoration_config:
305+
timeout: 180m
306+
always_run: false
307+
branches:
308+
# The script this job runs is not in all branches.
309+
- ^main$
310+
path_alias: sigs.k8s.io/cluster-api
311+
spec:
312+
containers:
313+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250714-70266d743a-1.33
314+
args:
315+
- runner.sh
316+
- "./scripts/ci-e2e.sh"
317+
env:
318+
# enable IPV6 in bootstrap image
319+
- name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
320+
value: "true"
321+
- name: GINKGO_LABEL_FILTER
322+
value: "!Conformance"
323+
# Ensure required kind images get built.
324+
- name: KIND_BUILD_IMAGES
325+
value: "KUBERNETES_VERSION,KUBERNETES_VERSION_LATEST_CI,KUBERNETES_VERSION_UPGRADE_TO,KUBERNETES_VERSION_UPGRADE_FROM"
326+
# we need privileged mode in order to do docker in docker
327+
securityContext:
328+
privileged: true
329+
resources:
330+
requests:
331+
cpu: 3000m
332+
memory: 8Gi
333+
limits:
334+
cpu: 3000m
335+
memory: 8Gi
336+
annotations:
337+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api
338+
testgrid-tab-name: capi-pr-e2e-main-gke
339+
292340
- name: pull-cluster-api-e2e-upgrade-1-33-1-34-main
293341
cluster: eks-prow-build-cluster
294342
labels:

0 commit comments

Comments
 (0)