Skip to content

Commit

Permalink
Merge pull request #33838 from Amulyam24/capi-jobs
Browse files Browse the repository at this point in the history
CAPIBM: add presubmit jobs for release-0.9 branch
  • Loading branch information
k8s-ci-robot authored Nov 28, 2024
2 parents 1ed099e + a7bbf51 commit ab1dea0
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand All @@ -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"
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ab1dea0

Please sign in to comment.