Skip to content

Commit 9d386cb

Browse files
committed
stagger jobs using cron
1 parent be7f4b7 commit 9d386cb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

config/jobs/kubernetes/cloud-provider-ibmcloud/cloud-provider-ibmcloud-ppc64le-periodics.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ periodics:
7171
memory: 20Gi
7272

7373
- name: ci-kubernetes-integration-1-34-ppc64le
74-
interval: 6h # bump to 24h after initial debugging
74+
cron: "0 0-18/6 * * *" # every 6h starting at 00:00 UTC
7575
cluster: k8s-infra-ppc64le-prow-build
7676
decorate: true
7777
extra_refs:
@@ -107,7 +107,7 @@ periodics:
107107
feature.node.kubernetes.io/ppc64le.smtlevel: "4"
108108

109109
- name: ci-kubernetes-integration-1-33-ppc64le
110-
interval: 6h # bump to 24h after initial debugging
110+
cron: "0 1-19/6 * * *" # every 6h starting at 01:00 UTC
111111
cluster: k8s-infra-ppc64le-prow-build
112112
decorate: true
113113
extra_refs:
@@ -143,7 +143,7 @@ periodics:
143143
feature.node.kubernetes.io/ppc64le.smtlevel: "4"
144144

145145
- name: ci-kubernetes-ppc64le-conformance-latest-kubetest2
146-
interval: 3h
146+
cron: "0 2-23/3 * * *" # every 3h starting at 02:00 UTC
147147
cluster: k8s-infra-ppc64le-prow-build
148148
labels:
149149
preset-ibmcloud-cred: "true"
@@ -226,7 +226,7 @@ periodics:
226226
exit $rc2
227227
fi
228228
- name: ci-kubernetes-ppc64le-e2e-node-latest-kubetest2
229-
interval: 6h
229+
cron: "30 3-21/6 * * *" # every 6h starting at 03:30 UTC
230230
cluster: k8s-infra-ppc64le-prow-build
231231
labels:
232232
preset-ibmcloud-cred: "true"
@@ -297,7 +297,7 @@ periodics:
297297
[ -z "${BOSKOS_HOST:-}" ] || release_account >> "$ARTIFACTS/boskos.log" 2>&1
298298
[ $rc != 0 ] && echo "ERROR: E2ENode Test suite exited with code:$rc"; exit $rc
299299
- name: ci-kubernetes-ppc64le-e2e-alpha-enabled-default
300-
interval: 6h
300+
cron: "30 4-22/6 * * *" # every 6h starting at 04:30 UTC
301301
cluster: k8s-infra-ppc64le-prow-build
302302
labels:
303303
preset-ibmcloud-cred: "true"
@@ -363,7 +363,7 @@ periodics:
363363
[ -z "${BOSKOS_HOST:-}" ] || release_account >> "$ARTIFACTS/boskos.log" 2>&1
364364
[ $rc != 0 ] && echo "ERROR: alpha-enabled-default tests exited with code: $rc"; exit $rc
365365
- name: ci-kubernetes-e2e-ppc64le-default
366-
interval: 8h
366+
cron: "0 6-22/8 * * *" # every 8h starting at 06:00 UTC
367367
cluster: k8s-infra-ppc64le-prow-build
368368
labels:
369369
preset-ibmcloud-cred: "true"
@@ -426,7 +426,7 @@ periodics:
426426
[ -z "${BOSKOS_HOST:-}" ] || release_account >> "$ARTIFACTS/boskos.log" 2>&1
427427
[ $rc != 0 ] && echo "ERROR: E2e default tests exited with code: $rc"; exit $rc
428428
- name: ci-kubernetes-ppc64le-e2e-slow-kubetest2
429-
interval: 3h
429+
cron: "30 7-22/3 * * *" # every 3h starting at 07:30 UTC
430430
cluster: k8s-infra-ppc64le-prow-build
431431
labels:
432432
preset-ibmcloud-cred: "true"
@@ -489,7 +489,7 @@ periodics:
489489
[ -z "${BOSKOS_HOST:-}" ] || release_account >> "$ARTIFACTS/boskos.log" 2>&1
490490
[ $rc != 0 ] && echo "ERROR: E2e Slow tests exited with code: $rc"; exit $rc
491491
- name: ci-kubernetes-e2e-ppc64le-serial-kubetest2
492-
interval: 8h
492+
cron: "30 9-17/8 * * *" # every 8h starting at 09:30 UTC
493493
cluster: k8s-infra-ppc64le-prow-build
494494
labels:
495495
preset-ibmcloud-cred: "true"

0 commit comments

Comments
 (0)