-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21500 from prksu/refactor-capdo-ci-jobs
Refactor CAPDO ci jobs
- Loading branch information
Showing
5 changed files
with
273 additions
and
41 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...luster-api-provider-digitalocean/cluster-api-provider-digitalocean-periodics-janitor.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,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 |
31 changes: 31 additions & 0 deletions
31
...er-api-provider-digitalocean/cluster-api-provider-digitalocean-periodics-release-0-4.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,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 |
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
156 changes: 156 additions & 0 deletions
156
...r-api-provider-digitalocean/cluster-api-provider-digitalocean-presubmits-release-0-4.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,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 |
Oops, something went wrong.