Skip to content

Commit 07f5711

Browse files
authored
Merge pull request #31605 from sbueringer/pr-capv-ci-latest
Test CAPV conformance with K8S CI latest
2 parents cf1d813 + 6b5fad6 commit 07f5711

File tree

2 files changed

+82
-2
lines changed

2 files changed

+82
-2
lines changed

config/jobs/kubernetes-sigs/cluster-api-provider-vsphere/cluster-api-provider-vsphere-periodics-main.yaml

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ periodics:
148148
- ./hack/e2e.sh
149149
env:
150150
- name: GINKGO_FOCUS
151-
value: "\\[Conformance\\]"
151+
value: "testing K8S conformance \\[Conformance\\]"
152152
# we need privileged mode in order to do docker in docker
153153
securityContext:
154154
privileged: true
@@ -165,6 +165,50 @@ periodics:
165165
testgrid-num-failures-to-alert: "4"
166166
description: Runs conformance tests for CAPV
167167

168+
169+
- name: periodic-cluster-api-provider-vsphere-conformance-ci-latest-main
170+
labels:
171+
preset-dind-enabled: "true"
172+
preset-cluster-api-provider-vsphere-e2e-config: "true"
173+
preset-cluster-api-provider-vsphere-gcs-creds: "true"
174+
preset-kind-volume-mounts: "true"
175+
interval: 24h
176+
decorate: true
177+
rerun_auth_config:
178+
github_team_slugs:
179+
- org: kubernetes-sigs
180+
slug: cluster-api-provider-vsphere-maintainers
181+
extra_refs:
182+
- org: kubernetes-sigs
183+
repo: cluster-api-provider-vsphere
184+
base_ref: main
185+
path_alias: sigs.k8s.io/cluster-api-provider-vsphere
186+
spec:
187+
containers:
188+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27
189+
command:
190+
- runner.sh
191+
args:
192+
- ./hack/e2e.sh
193+
env:
194+
- name: GINKGO_FOCUS
195+
value: "testing K8S conformance with K8S latest ci \\[Conformance\\]"
196+
# we need privileged mode in order to do docker in docker
197+
securityContext:
198+
privileged: true
199+
capabilities:
200+
add: ["NET_ADMIN"]
201+
resources:
202+
requests:
203+
cpu: "4000m"
204+
memory: "6Gi"
205+
annotations:
206+
testgrid-dashboards: vmware-cluster-api-provider-vsphere, sig-cluster-lifecycle-cluster-api-provider-vsphere
207+
testgrid-tab-name: periodic-conformance-ci-latest-main
208+
testgrid-alert-email: [email protected]
209+
testgrid-num-failures-to-alert: "4"
210+
description: Runs conformance tests with K8S ci latest for CAPV
211+
168212
- name: periodic-cluster-api-provider-vsphere-coverage-main
169213
cluster: eks-prow-build-cluster
170214
interval: 24h

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

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ presubmits:
223223
- ./hack/e2e.sh
224224
env:
225225
- name: GINKGO_FOCUS
226-
value: "\\[Conformance\\]"
226+
value: "testing K8S conformance \\[Conformance\\]"
227227
# we need privileged mode in order to do docker in docker
228228
securityContext:
229229
privileged: true
@@ -237,3 +237,39 @@ presubmits:
237237
testgrid-dashboards: vmware-cluster-api-provider-vsphere, sig-cluster-lifecycle-cluster-api-provider-vsphere
238238
testgrid-tab-name: pr-conformance-main
239239
description: Runs conformance tests for CAPV
240+
241+
- name: pull-cluster-api-provider-vsphere-conformance-ci-latest-main
242+
branches:
243+
- ^main$
244+
labels:
245+
preset-dind-enabled: "true"
246+
preset-cluster-api-provider-vsphere-e2e-config: "true"
247+
preset-cluster-api-provider-vsphere-gcs-creds: "true"
248+
preset-kind-volume-mounts: "true"
249+
always_run: false
250+
decorate: true
251+
path_alias: sigs.k8s.io/cluster-api-provider-vsphere
252+
max_concurrency: 3
253+
spec:
254+
containers:
255+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231208-8b9fd88e88-1.27
256+
command:
257+
- runner.sh
258+
args:
259+
- ./hack/e2e.sh
260+
env:
261+
- name: GINKGO_FOCUS
262+
value: "testing K8S conformance with K8S latest ci \\[Conformance\\]"
263+
# we need privileged mode in order to do docker in docker
264+
securityContext:
265+
privileged: true
266+
capabilities:
267+
add: ["NET_ADMIN"]
268+
resources:
269+
requests:
270+
cpu: "4000m"
271+
memory: "6Gi"
272+
annotations:
273+
testgrid-dashboards: vmware-cluster-api-provider-vsphere, sig-cluster-lifecycle-cluster-api-provider-vsphere
274+
testgrid-tab-name: pr-conformance-ci-latest-main
275+
description: Runs conformance tests with K8S ci latest for CAPV

0 commit comments

Comments
 (0)