Skip to content

Commit

Permalink
jobs: migrate kubernetes/cluster-api-provider-azure jobs to eks cluster
Browse files Browse the repository at this point in the history
- Add missing resource blocks

Signed-off-by: Iftach Konshtok <[email protected]>
  • Loading branch information
iftachk committed Jun 10, 2023
1 parent 1c481a4 commit 6d531d4
Show file tree
Hide file tree
Showing 2 changed files with 193 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
presubmits:
kubernetes-sigs/cluster-api-provider-azure:
- name: pull-cluster-api-provider-azure-test
cluster: eks-prow-build-cluster
always_run: true
optional: false
decorate: true
Expand Down Expand Up @@ -32,11 +33,19 @@ presubmits:
exit $result
securityContext:
privileged: true
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-test-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-build
cluster: eks-prow-build-cluster
always_run: true
optional: false
decorate: true
Expand All @@ -48,11 +57,19 @@ presubmits:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230513-7e1db2f1bb-1.27
command:
- "./scripts/ci-build.sh"
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-build-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-e2e
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
Expand Down Expand Up @@ -81,11 +98,19 @@ presubmits:
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-e2e-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-e2e-optional
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
Expand Down Expand Up @@ -116,11 +141,19 @@ presubmits:
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-e2e-optional-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-e2e-aks
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
Expand Down Expand Up @@ -151,11 +184,19 @@ presubmits:
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-e2e-aks-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-capi-e2e
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
run_if_changed: 'test\/e2e|templates\/test|scripts\/ci-e2e.sh|Makefile'
Expand Down Expand Up @@ -187,11 +228,19 @@ presubmits:
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-capi-e2e-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-verify
cluster: eks-prow-build-cluster
always_run: true
optional: false
decorate: true
Expand All @@ -210,11 +259,19 @@ presubmits:
- "verify"
securityContext:
privileged: true
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-verify-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-conformance
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
Expand Down Expand Up @@ -244,11 +301,15 @@ presubmits:
requests:
cpu: 2
memory: "9Gi"
limits:
cpu: 2
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-conformance-main
testgrid-alert-email: [email protected]
- name: pull-cluster-api-provider-azure-conformance-with-ci-artifacts
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
Expand Down Expand Up @@ -286,10 +347,14 @@ presubmits:
requests:
cpu: 2
memory: "9Gi"
limits:
cpu: 2
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-conformance-k8s-ci-main
- name: pull-cluster-api-provider-azure-windows-containerd-upstream-with-ci-artifacts
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
Expand Down Expand Up @@ -334,10 +399,14 @@ presubmits:
requests:
cpu: 2
memory: "9Gi"
limits:
cpu: 2
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-upstream-k8s-ci-windows-containerd-main
- name: pull-cluster-api-provider-azure-windows-containerd-upstream-with-ci-artifacts-serial-slow
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
Expand Down Expand Up @@ -384,10 +453,14 @@ presubmits:
requests:
cpu: 2
memory: "9Gi"
limits:
cpu: 2
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-upstream-k8s-ci-windows-containerd-serial-slow-main
- name: pull-cluster-api-provider-azure-apidiff
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
gcs_credentials_secret: "" # Use workload identity for uploading artifacts
Expand All @@ -404,10 +477,18 @@ presubmits:
- runner.sh
args:
- ./scripts/ci-apidiff.sh
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-apidiff-main
- name: pull-cluster-api-provider-azure-e2e-workload-upgrade
cluster: eks-prow-build-cluster
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
Expand Down Expand Up @@ -442,10 +523,13 @@ presubmits:
resources:
requests:
cpu: 7300m
limits:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-e2e-upgrade
- name: pull-cluster-api-provider-azure-apiversion-upgrade
cluster: eks-prow-build-cluster
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
Expand Down Expand Up @@ -483,11 +567,14 @@ presubmits:
resources:
requests:
cpu: 7300m
limits:
cpu: 7300m
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-apiversion-upgrade-main
description: This job creates clusters using supported older api versions (v1alpha4), and verifies that the clusters continue to operate properly after the api version is upgraded to the latest (v1beta1).
- name: pull-cluster-api-provider-azure-ci-entrypoint
cluster: eks-prow-build-cluster
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
Expand Down Expand Up @@ -516,6 +603,13 @@ presubmits:
value: "true"
- name: WINDOWS_SERVER_VERSION
value: "windows-2022"
resources:
limits:
cpu: 1
memory: 4Gi
requests:
cpu: 1
memory: 4Gi
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-ci-entrypoint-main
Expand Down
Loading

0 comments on commit 6d531d4

Please sign in to comment.