Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare Cluster API periodics and presubmit for v1alpha4
Signed-off-by: Vince Prignano <vincepri@vmware.com>
- Loading branch information
Showing
4 changed files
with
286 additions
and
39 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
config/jobs/kubernetes-sigs/cluster-api/cluster-api-periodics-main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
periodics: | ||
- name: periodic-cluster-api-test | ||
interval: 1h | ||
decorate: true | ||
labels: | ||
preset-service-account: "true" | ||
extra_refs: | ||
- org: kubernetes-sigs | ||
repo: cluster-api | ||
base_ref: master | ||
path_alias: sigs.k8s.io/cluster-api | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
command: | ||
- "./scripts/ci-test.sh" | ||
resources: | ||
requests: | ||
cpu: 7300m | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-test-main | ||
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com | ||
testgrid-num-failures-to-alert: "2" | ||
- name: periodic-cluster-api-e2e-main | ||
interval: 1h | ||
decorate: true | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
extra_refs: | ||
- org: kubernetes-sigs | ||
repo: cluster-api | ||
base_ref: master | ||
path_alias: sigs.k8s.io/cluster-api | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
args: | ||
- runner.sh | ||
- "./scripts/ci-e2e.sh" | ||
# we need privileged mode in order to do docker in docker | ||
securityContext: | ||
privileged: true | ||
resources: | ||
requests: | ||
cpu: 7300m | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-e2e-main | ||
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com | ||
testgrid-num-failures-to-alert: "2" | ||
- name: periodic-cluster-api-verify-book-links-main | ||
interval: 6h | ||
decorate: true | ||
extra_refs: | ||
- org: kubernetes-sigs | ||
repo: cluster-api | ||
base_ref: master | ||
path_alias: sigs.k8s.io/cluster-api | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
command: | ||
- "runner.sh" | ||
- "make" | ||
- "verify-book-links" | ||
env: | ||
- name: GITHUB_TOKEN | ||
valueFrom: | ||
secretKeyRef: | ||
name: cluster-lifecycle-github-token | ||
key: cluster-lifecycle-github-token | ||
volumes: | ||
- name: cluster-lifecycle-github-token | ||
secret: | ||
secretName: cluster-lifecycle-github-token | ||
items: | ||
- key: cluster-lifecycle-github-token | ||
path: cluster-lifecycle-github-token | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-verify-book-links-main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
160 changes: 160 additions & 0 deletions
160
config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
presubmits: | ||
kubernetes-sigs/cluster-api: | ||
- name: pull-cluster-api-build | ||
decorate: true | ||
path_alias: sigs.k8s.io/cluster-api | ||
always_run: true | ||
labels: | ||
preset-service-account: "true" | ||
branches: | ||
# The script this job runs is not in all branches. | ||
- ^master$ | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
command: | ||
- runner.sh | ||
- ./scripts/ci-build.sh | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-pr-build-main | ||
- name: pull-cluster-api-make | ||
decorate: true | ||
path_alias: sigs.k8s.io/cluster-api | ||
always_run: true | ||
labels: | ||
preset-service-account: "true" | ||
preset-dind-enabled: "true" | ||
branches: | ||
# The script this job runs is not in all branches. | ||
- ^master$ | ||
spec: | ||
containers: | ||
- command: | ||
- runner.sh | ||
- ./scripts/ci-make.sh | ||
# docker-in-docker needs privileged mode | ||
securityContext: | ||
privileged: true | ||
image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
resources: | ||
requests: | ||
cpu: 7300m | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-pr-make-main | ||
- name: pull-cluster-api-apidiff | ||
decorate: true | ||
path_alias: sigs.k8s.io/cluster-api | ||
always_run: true | ||
optional: true | ||
labels: | ||
preset-service-account: "true" | ||
branches: | ||
# The script this job runs is not in all branches. | ||
- ^master$ | ||
spec: | ||
containers: | ||
- command: | ||
- runner.sh | ||
- ./scripts/ci-apidiff.sh | ||
image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-pr-apidiff-main | ||
- name: pull-cluster-api-verify | ||
decorate: true | ||
path_alias: sigs.k8s.io/cluster-api | ||
always_run: true | ||
labels: | ||
preset-service-account: "true" | ||
skip_branches: | ||
- gh-pages | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
command: | ||
- "runner.sh" | ||
- "make" | ||
- "verify" | ||
resources: | ||
requests: | ||
cpu: 7300m | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-pr-verify-main | ||
- name: pull-cluster-api-test | ||
decorate: true | ||
path_alias: sigs.k8s.io/cluster-api | ||
always_run: true | ||
labels: | ||
preset-service-account: "true" | ||
branches: | ||
# The script this job runs is not in all branches. | ||
- ^master$ | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
args: | ||
- runner.sh | ||
- ./scripts/ci-test.sh | ||
resources: | ||
requests: | ||
cpu: 7300m | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-pr-test-main | ||
- name: pull-cluster-api-e2e | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
decorate: true | ||
branches: | ||
# The script this job runs is not in all branches. | ||
- ^master$ | ||
path_alias: sigs.k8s.io/cluster-api | ||
run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|scripts|test|third_party|util)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
args: | ||
- runner.sh | ||
- "./scripts/ci-e2e.sh" | ||
env: | ||
- name: GINKGO_FOCUS | ||
value: "\\[PR-Blocking\\]" | ||
# we need privileged mode in order to do docker in docker | ||
securityContext: | ||
privileged: true | ||
resources: | ||
requests: | ||
cpu: 7300m | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-pr-e2e-main | ||
- name: pull-cluster-api-e2e-full | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
decorate: true | ||
optional: true | ||
always_run: false | ||
branches: | ||
# The script this job runs is not in all branches. | ||
- ^master$ | ||
path_alias: sigs.k8s.io/cluster-api | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/kubekins-e2e:v20200930-82b41a1-1.19 | ||
args: | ||
- runner.sh | ||
- "./scripts/ci-e2e.sh" | ||
# we need privileged mode in order to do docker in docker | ||
securityContext: | ||
privileged: true | ||
resources: | ||
requests: | ||
cpu: 7300m | ||
annotations: | ||
testgrid-dashboards: sig-cluster-lifecycle-cluster-api | ||
testgrid-tab-name: capi-pr-e2e-full-main |
Oops, something went wrong.