Skip to content

Commit

Permalink
Merge pull request #21500 from prksu/refactor-capdo-ci-jobs
Browse files Browse the repository at this point in the history
Refactor CAPDO ci jobs
  • Loading branch information
k8s-ci-robot authored Mar 24, 2021
2 parents 8d287a3 + a8c502f commit a89ee68
Show file tree
Hide file tree
Showing 5 changed files with 273 additions and 41 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
periodics:
- name: periodic-cluster-api-provider-digitalocean-janitor
decorate: true
decoration_config:
timeout: 1h
interval: 12h
labels:
preset-do-credential: "true"
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-digitalocean
base_ref: master
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "runner.sh"
- "./scripts/ci-janitor.sh"
resources:
requests:
cpu: 1
memory: "2Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-periodic-janitor
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
periodics:
- name: periodic-cluster-api-provider-digitalocean-conformance-release-0-4
decorate: true
decoration_config:
timeout: 4h
interval: 24h
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
preset-do-credential: "true"
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-digitalocean
base_ref: release-0.4
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "runner.sh"
- "./scripts/ci-conformance.sh"
securityContext:
privileged: true
resources:
requests:
cpu: 2
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-periodic-conformance-release-0-4
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
periodics:
- name: periodic-cluster-api-provider-digitalocean-janitor
decorate: true
decoration_config:
timeout: 1h
interval: 12h
labels:
preset-do-credential: "true"
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-digitalocean
base_ref: master
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "runner.sh"
- "./scripts/ci-janitor.sh"
resources:
requests:
cpu: 1
memory: "2Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: periodic-do-janitor
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com
- name: periodic-cluster-api-provider-digitalocean-conformance-v1alpha3
- name: periodic-cluster-api-provider-digitalocean-conformance
decorate: true
decoration_config:
timeout: 4h
Expand All @@ -41,7 +15,7 @@ periodics:
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-master
command:
- "runner.sh"
- "./scripts/ci-conformance.sh"
Expand All @@ -53,5 +27,5 @@ periodics:
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: periodic-conformance-v1alpha3
testgrid-tab-name: capdo-periodic-conformance
testgrid-alert-email: kubernetes-sig-cluster-lifecycle-cluster-api-alerts@googlegroups.com
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
presubmits:
kubernetes-sigs/cluster-api-provider-digitalocean:
- name: pull-cluster-api-provider-digitalocean-test-release-0-4
always_run: true
optional: false
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
branches:
- ^release-0.4$
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "./scripts/ci-test.sh"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-pr-test-release-0-4
- name: pull-cluster-api-provider-digitalocean-build-release-0-4
always_run: true
optional: false
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
branches:
- ^release-0.4$
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "./scripts/ci-build.sh"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-pr-build-release-0-4
- name: pull-cluster-api-provider-digitalocean-verify-release-0-4
always_run: true
optional: false
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
branches:
- ^release-0.4$
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- make
args:
- verify
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-pr-verify-release-0-4
- name: pull-cluster-api-provider-digitalocean-lint-release-0-4
always_run: true
optional: false
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
branches:
- ^release-0.4$
spec:
containers:
- image: golangci/golangci-lint:v1.21.0
command:
- make
args:
- lint
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-pr-lint-release-0-4
- name: pull-cluster-api-provider-digitalocean-e2e-release-0-4
always_run: true
optional: false
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
decoration_config:
timeout: 5h
max_concurrency: 1
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
preset-do-credential: "true"
branches:
- ^release-0.4$
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "runner.sh"
- "./scripts/ci-e2e.sh"
securityContext:
privileged: true
resources:
requests:
cpu: 1
memory: "4Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-pr-e2e-release-0-4
- name: pull-cluster-api-provider-digitalocean-capi-e2e-release-0-4
always_run: false
optional: true
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
decoration_config:
timeout: 5h
max_concurrency: 1
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
preset-do-credential: "true"
branches:
- ^release-0.4$
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "runner.sh"
- "./scripts/ci-e2e.sh"
env:
- name: GINKGO_FOCUS
value: "Cluster API E2E tests"
securityContext:
privileged: true
resources:
requests:
cpu: 1
memory: "4Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-pr-capi-e2e-release-0-4
- name: pull-cluster-api-provider-digitalocean-conformance-release-0-4
always_run: false
optional: true
decorate: true
path_alias: "sigs.k8s.io/cluster-api-provider-digitalocean"
decoration_config:
timeout: 5h
max_concurrency: 1
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
preset-do-credential: "true"
branches:
- ^release-0.4$
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210312-67f589a-1.18
command:
- "runner.sh"
- "./scripts/ci-conformance.sh"
securityContext:
privileged: true
resources:
requests:
cpu: 2
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-digitalocean
testgrid-tab-name: capdo-pr-conformance-release-0-4
Loading

0 comments on commit a89ee68

Please sign in to comment.