From a7bbf5156ce4aff2482ed6978e7da65a19bff459 Mon Sep 17 00:00:00 2001 From: Amulyam24 Date: Mon, 25 Nov 2024 12:03:34 +0530 Subject: [PATCH] CAPIBM: add presubmit jobs for release-0.9 branch and update images --- ...rovider-ibmcom-presubmits-release-0.9.yaml | 170 ++++++++++++++++++ ...luster-api-provider-ibmcom-presubmits.yaml | 14 +- 2 files changed, 177 insertions(+), 7 deletions(-) create mode 100644 config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits-release-0.9.yaml diff --git a/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits-release-0.9.yaml b/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits-release-0.9.yaml new file mode 100644 index 000000000000..c7e7f9ef1934 --- /dev/null +++ b/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits-release-0.9.yaml @@ -0,0 +1,170 @@ +presubmits: + kubernetes-sigs/cluster-api-provider-ibmcloud: + - name: pull-cluster-api-provider-ibmcloud-make-release-0-9 + cluster: eks-prow-build-cluster + always_run: true + branches: + # The script this job runs is not in all branches. + - ^release-0.9 + decorate: true + path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud + labels: + preset-service-account: "true" + preset-dind-enabled: "true" + spec: + containers: + - command: + - "runner.sh" + - "./scripts/ci-make.sh" + # docker-in-docker needs privileged mode + securityContext: + privileged: true + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 + imagePullPolicy: Always + resources: + limits: + cpu: "2" + memory: "6Gi" + requests: + cpu: "2" + memory: "6Gi" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud + testgrid-tab-name: pr-make-release-0-9 + - name: pull-cluster-api-provider-ibmcloud-test-release-0-9 + cluster: eks-prow-build-cluster + always_run: true + branches: + # The script this job runs is not in all branches. + - ^release-0.9 + decorate: true + path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud + labels: + preset-service-account: "true" + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 + imagePullPolicy: Always + command: + - "./scripts/ci-test.sh" + resources: + limits: + cpu: "2" + memory: "6Gi" + requests: + cpu: "2" + memory: "6Gi" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud + testgrid-tab-name: pr-test-release-0-9 + - name: pull-cluster-api-provider-ibmcloud-smoke-test-release-0-9 + cluster: eks-prow-build-cluster + always_run: true + branches: + # The script this job runs is not in all branches. + - ^release-0.9 + decorate: true + path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud + labels: + preset-service-account: "true" + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 + imagePullPolicy: Always + env: + - name: "IBMCLOUD_API_KEY" + value: "dummyApiKey" + command: + - "runner.sh" + - "./scripts/ci-smoke-test.sh" + # docker-in-docker needs privileged mode + securityContext: + privileged: true + resources: + limits: + cpu: "2" + memory: "6Gi" + requests: + cpu: "2" + memory: "6Gi" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud + testgrid-tab-name: pr-smoke-test-release-0-9 + - name: pull-cluster-api-provider-ibmcloud-build-release-0-9 + cluster: eks-prow-build-cluster + always_run: true + branches: + # The script this job runs is not in all branches. + - ^release-0.9 + optional: false + decorate: true + path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 + command: + - "./scripts/ci-build.sh" + resources: + limits: + memory: "6Gi" + cpu: "2" + requests: + memory: "6Gi" + cpu: "2" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud + testgrid-tab-name: pr-build-release-0-9 + - name: pull-cluster-api-provider-ibmcloud-verify-release-0-9 + cluster: eks-prow-build-cluster + always_run: true + branches: + # The script this job runs is not in all branches. + - ^release-0.9 + optional: false + decorate: true + path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud" + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 + command: + - "make" + - "verify" + resources: + limits: + cpu: "2" + memory: "6Gi" + requests: + cpu: "2" + memory: "6Gi" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud + testgrid-tab-name: pr-verify-release-0-9 + - name: pull-cluster-api-provider-ibmcloud-apidiff-release-0-9 + cluster: eks-prow-build-cluster + decorate: true + path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud" + always_run: true + optional: true + labels: + preset-service-account: "true" + branches: + - ^release-0.9 + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 + command: + - runner.sh + args: + - ./scripts/ci-apidiff.sh + resources: + limits: + cpu: "2" + memory: "6Gi" + requests: + cpu: "2" + memory: "6Gi" + annotations: + testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud + testgrid-tab-name: pr-apidiff-release-0-9 diff --git a/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits.yaml b/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits.yaml index f95cc8077f58..99b41274435d 100644 --- a/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api-provider-ibmcloud/cluster-api-provider-ibmcom-presubmits.yaml @@ -19,7 +19,7 @@ presubmits: # docker-in-docker needs privileged mode securityContext: privileged: true - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29 + image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 imagePullPolicy: Always resources: limits: @@ -43,7 +43,7 @@ presubmits: preset-service-account: "true" spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29 + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 imagePullPolicy: Always command: - "./scripts/ci-test.sh" @@ -71,7 +71,7 @@ presubmits: preset-kind-volume-mounts: "true" spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29 + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 imagePullPolicy: Always env: - name: "IBMCLOUD_API_KEY" @@ -103,7 +103,7 @@ presubmits: path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29 + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 command: - "./scripts/ci-build.sh" resources: @@ -127,7 +127,7 @@ presubmits: path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud" spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29 + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 command: - "make" - "verify" @@ -155,7 +155,7 @@ presubmits: - ^main$ spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29 + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 command: - runner.sh args: @@ -190,7 +190,7 @@ presubmits: - ^main$ spec: containers: - - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.29 + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241127-f74b74d1f9-1.30 command: - runner.sh args: