Skip to content

Commit e54946d

Browse files
committed
jobs: migrate kubernetes/cluster-api-addon-provider-helm jobs to eks cluster
- Add missing resource blocks - remove unused decoration_config Signed-off-by: Iftach Konshtok <[email protected]>
1 parent f34b2db commit e54946d

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

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

+31-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
presubmits:
22
kubernetes-sigs/cluster-api-addon-provider-helm:
33
- name: pull-cluster-api-addon-provider-helm-build-main
4+
cluster: eks-prow-build-cluster
45
decorate: true
5-
decoration_config:
6-
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
76
path_alias: sigs.k8s.io/cluster-api-addon-provider-helm
87
always_run: true
98
branches:
@@ -16,13 +15,19 @@ presubmits:
1615
command:
1716
- runner.sh
1817
- ./scripts/ci-build.sh
18+
resources:
19+
limits:
20+
cpu: 1
21+
memory: 4Gi
22+
requests:
23+
cpu: 1
24+
memory: 4Gi
1925
annotations:
2026
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm
2127
testgrid-tab-name: caaph-pr-build-main
2228
- name: pull-cluster-api-addon-provider-helm-apidiff-main
29+
cluster: eks-prow-build-cluster
2330
decorate: true
24-
decoration_config:
25-
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
2631
path_alias: sigs.k8s.io/cluster-api-addon-provider-helm
2732
always_run: true
2833
optional: true
@@ -36,13 +41,19 @@ presubmits:
3641
- runner.sh
3742
- ./scripts/ci-apidiff.sh
3843
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230616-e730b60769-1.26
44+
resources:
45+
limits:
46+
cpu: 1
47+
memory: 4Gi
48+
requests:
49+
cpu: 1
50+
memory: 4Gi
3951
annotations:
4052
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm
4153
testgrid-tab-name: caaph-pr-apidiff-main
4254
- name: pull-cluster-api-addon-provider-helm-verify-main
55+
cluster: eks-prow-build-cluster
4356
decorate: true
44-
decoration_config:
45-
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
4657
path_alias: sigs.k8s.io/cluster-api-addon-provider-helm
4758
always_run: true
4859
labels:
@@ -58,17 +69,20 @@ presubmits:
5869
- "runner.sh"
5970
- ./scripts/ci-verify.sh
6071
resources:
72+
limits:
73+
cpu: 7300m
74+
memory: 4Gi
6175
requests:
6276
cpu: 7300m
77+
memory: 4Gi
6378
securityContext:
6479
privileged: true
6580
annotations:
6681
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm
6782
testgrid-tab-name: caaph-pr-verify-main
6883
- name: pull-cluster-api-addon-provider-helm-test-main
84+
cluster: eks-prow-build-cluster
6985
decorate: true
70-
decoration_config:
71-
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
7286
path_alias: sigs.k8s.io/cluster-api-addon-provider-helm
7387
always_run: true
7488
branches:
@@ -82,15 +96,18 @@ presubmits:
8296
- runner.sh
8397
- ./scripts/ci-test.sh
8498
resources:
99+
limits:
100+
cpu: 7300m
101+
memory: 4Gi
85102
requests:
86103
cpu: 7300m
104+
memory: 4Gi
87105
annotations:
88106
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm
89107
testgrid-tab-name: caaph-pr-test-main
90108
- name: pull-cluster-api-addon-provider-helm-test-mink8s-main
109+
cluster: eks-prow-build-cluster
91110
decorate: true
92-
decoration_config:
93-
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
94111
path_alias: sigs.k8s.io/cluster-api-addon-provider-helm
95112
always_run: true
96113
branches:
@@ -112,8 +129,12 @@ presubmits:
112129
- name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION
113130
value: "1.20.2"
114131
resources:
132+
limits:
133+
cpu: 7300m
134+
memory: 4Gi
115135
requests:
116136
cpu: 7300m
137+
memory: 4Gi
117138
annotations:
118139
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-addon-provider-helm
119140
testgrid-tab-name: caaph-pr-test-mink8s-main

0 commit comments

Comments
 (0)