Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add presubmit job for release-0.2 branch #26208

Merged
merged 1 commit into from
May 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
presubmits:
kubernetes-sigs/cluster-api-provider-ibmcloud:
- name: pull-cluster-api-provider-ibmcloud-make-release-0-2
always_run: true
branches:
# The script this job runs is not in all branches.
- ^release-0.2
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:v20220428-de61deb68b-1.23
imagePullPolicy: Always
resources:
requests:
memory: "6Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
testgrid-tab-name: pr-make-release-0-2
- name: pull-cluster-api-provider-ibmcloud-test-release-0-2
always_run: true
branches:
# The script this job runs is not in all branches.
- ^release-0.2
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:v20220428-de61deb68b-1.23
imagePullPolicy: Always
command:
- "./scripts/ci-test.sh"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
testgrid-tab-name: pr-test-release-0-2
- name: pull-cluster-api-provider-ibmcloud-smoke-test-release-0-2
always_run: true
branches:
# The script this job runs is not in all branches.
- ^release-0.2
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:v20220428-de61deb68b-1.23
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
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
testgrid-tab-name: pr-smoke-test-release-0-2
- name: pull-cluster-api-provider-ibmcloud-build-release-0-2
always_run: true
branches:
# The script this job runs is not in all branches.
- ^release-0.2
optional: false
decorate: true
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220428-de61deb68b-1.23
command:
- "./scripts/ci-build.sh"
resources:
requests:
memory: "6Gi"
cpu: "2"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
testgrid-tab-name: pr-build-release-0-2
- name: pull-cluster-api-provider-ibmcloud-verify-release-0-2
always_run: true
branches:
# The script this job runs is not in all branches.
- ^release-0.2
optional: false
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-ibmcloud"
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220428-de61deb68b-1.23
command:
- "make"
- "verify"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-ibmcloud
testgrid-tab-name: pr-verify-release-0-2