Skip to content

Commit ab1dea0

Browse files
authored
Merge pull request #33838 from Amulyam24/capi-jobs
CAPIBM: add presubmit jobs for release-0.9 branch
2 parents 1ed099e + a7bbf51 commit ab1dea0

File tree

2 files changed

+177
-7
lines changed

2 files changed

+177
-7
lines changed
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
presubmits:
2+
kubernetes-sigs/cluster-api-provider-ibmcloud:
3+
- name: pull-cluster-api-provider-ibmcloud-make-release-0-9
4+
cluster: eks-prow-build-cluster
5+
always_run: true
6+
branches:
7+
# The script this job runs is not in all branches.
8+
- ^release-0.9
9+
decorate: true
10+
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
11+
labels:
12+
preset-service-account: "true"
13+
preset-dind-enabled: "true"
14+
spec:
15+
containers:
16+
- command:
17+
- "runner.sh"
18+
- "./scripts/ci-make.sh"
19+
# docker-in-docker needs privileged mode
20+
securityContext:
21+
privileged: true
22+
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
23+
imagePullPolicy: Always
24+
resources:
25+
limits:
26+
cpu: "2"
27+
memory: "6Gi"
28+
requests:
29+
cpu: "2"
30+
memory: "6Gi"
31+
annotations:
32+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
33+
testgrid-tab-name: pr-make-release-0-9
34+
- name: pull-cluster-api-provider-ibmcloud-test-release-0-9
35+
cluster: eks-prow-build-cluster
36+
always_run: true
37+
branches:
38+
# The script this job runs is not in all branches.
39+
- ^release-0.9
40+
decorate: true
41+
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
42+
labels:
43+
preset-service-account: "true"
44+
spec:
45+
containers:
46+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
47+
imagePullPolicy: Always
48+
command:
49+
- "./scripts/ci-test.sh"
50+
resources:
51+
limits:
52+
cpu: "2"
53+
memory: "6Gi"
54+
requests:
55+
cpu: "2"
56+
memory: "6Gi"
57+
annotations:
58+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
59+
testgrid-tab-name: pr-test-release-0-9
60+
- name: pull-cluster-api-provider-ibmcloud-smoke-test-release-0-9
61+
cluster: eks-prow-build-cluster
62+
always_run: true
63+
branches:
64+
# The script this job runs is not in all branches.
65+
- ^release-0.9
66+
decorate: true
67+
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
68+
labels:
69+
preset-service-account: "true"
70+
preset-dind-enabled: "true"
71+
preset-kind-volume-mounts: "true"
72+
spec:
73+
containers:
74+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
75+
imagePullPolicy: Always
76+
env:
77+
- name: "IBMCLOUD_API_KEY"
78+
value: "dummyApiKey"
79+
command:
80+
- "runner.sh"
81+
- "./scripts/ci-smoke-test.sh"
82+
# docker-in-docker needs privileged mode
83+
securityContext:
84+
privileged: true
85+
resources:
86+
limits:
87+
cpu: "2"
88+
memory: "6Gi"
89+
requests:
90+
cpu: "2"
91+
memory: "6Gi"
92+
annotations:
93+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
94+
testgrid-tab-name: pr-smoke-test-release-0-9
95+
- name: pull-cluster-api-provider-ibmcloud-build-release-0-9
96+
cluster: eks-prow-build-cluster
97+
always_run: true
98+
branches:
99+
# The script this job runs is not in all branches.
100+
- ^release-0.9
101+
optional: false
102+
decorate: true
103+
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
104+
spec:
105+
containers:
106+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
107+
command:
108+
- "./scripts/ci-build.sh"
109+
resources:
110+
limits:
111+
memory: "6Gi"
112+
cpu: "2"
113+
requests:
114+
memory: "6Gi"
115+
cpu: "2"
116+
annotations:
117+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
118+
testgrid-tab-name: pr-build-release-0-9
119+
- name: pull-cluster-api-provider-ibmcloud-verify-release-0-9
120+
cluster: eks-prow-build-cluster
121+
always_run: true
122+
branches:
123+
# The script this job runs is not in all branches.
124+
- ^release-0.9
125+
optional: false
126+
decorate: true
127+
path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud"
128+
spec:
129+
containers:
130+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
131+
command:
132+
- "make"
133+
- "verify"
134+
resources:
135+
limits:
136+
cpu: "2"
137+
memory: "6Gi"
138+
requests:
139+
cpu: "2"
140+
memory: "6Gi"
141+
annotations:
142+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
143+
testgrid-tab-name: pr-verify-release-0-9
144+
- name: pull-cluster-api-provider-ibmcloud-apidiff-release-0-9
145+
cluster: eks-prow-build-cluster
146+
decorate: true
147+
path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud"
148+
always_run: true
149+
optional: true
150+
labels:
151+
preset-service-account: "true"
152+
branches:
153+
- ^release-0.9
154+
spec:
155+
containers:
156+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
157+
command:
158+
- runner.sh
159+
args:
160+
- ./scripts/ci-apidiff.sh
161+
resources:
162+
limits:
163+
cpu: "2"
164+
memory: "6Gi"
165+
requests:
166+
cpu: "2"
167+
memory: "6Gi"
168+
annotations:
169+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
170+
testgrid-tab-name: pr-apidiff-release-0-9

config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ presubmits:
1919
# docker-in-docker needs privileged mode
2020
securityContext:
2121
privileged: true
22-
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29
22+
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
2323
imagePullPolicy: Always
2424
resources:
2525
limits:
@@ -43,7 +43,7 @@ presubmits:
4343
preset-service-account: "true"
4444
spec:
4545
containers:
46-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29
46+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
4747
imagePullPolicy: Always
4848
command:
4949
- "./scripts/ci-test.sh"
@@ -71,7 +71,7 @@ presubmits:
7171
preset-kind-volume-mounts: "true"
7272
spec:
7373
containers:
74-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29
74+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
7575
imagePullPolicy: Always
7676
env:
7777
- name: "IBMCLOUD_API_KEY"
@@ -103,7 +103,7 @@ presubmits:
103103
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
104104
spec:
105105
containers:
106-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29
106+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
107107
command:
108108
- "./scripts/ci-build.sh"
109109
resources:
@@ -127,7 +127,7 @@ presubmits:
127127
path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud"
128128
spec:
129129
containers:
130-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29
130+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
131131
command:
132132
- "make"
133133
- "verify"
@@ -155,7 +155,7 @@ presubmits:
155155
- ^main$
156156
spec:
157157
containers:
158-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29
158+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
159159
command:
160160
- runner.sh
161161
args:
@@ -190,7 +190,7 @@ presubmits:
190190
- ^main$
191191
spec:
192192
containers:
193-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29
193+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30
194194
command:
195195
- runner.sh
196196
args:

0 commit comments

Comments
 (0)