Skip to content

Commit a37986f

Browse files
feat: add Australia/Sydney timezone to base cronjobs (google#5097)
Add `timeZone: "Australia/Sydney"` to all CronJob configurations under `deployment/clouddeploy/gke-indexer/base/` and `deployment/clouddeploy/gke-workers/base/` directories. This configures the cron schedules to evaluate against Sydney time instead of UTC. --- *PR created automatically by Jules for task [12924298385411470107](https://jules.google.com/task/12924298385411470107) started by @another-rex* Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 2a93bc7 commit a37986f

17 files changed

+17
-0
lines changed

deployment/clouddeploy/gke-indexer/base/indexer-controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ kind: CronJob
1717
metadata:
1818
name: indexer-controller
1919
spec:
20+
timeZone: "Australia/Sydney"
2021
schedule: "0 0 * * *"
2122
concurrencyPolicy: Forbid
2223
jobTemplate:

deployment/clouddeploy/gke-workers/base/alpine-cve-convert.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "180"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "17 * * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/backup.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "2880"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "0 18 * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/cpe-repo-gen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "2880"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "15 5 * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/custommetrics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "5"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "* * * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/debian-convert.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "180"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "0 * * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/debian-copyright-mirror.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "2880"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "0 5 * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/debian-cve-convert.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "120"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "47 * * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/debian-first-version.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "2880"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "0 1 * * *"
910
concurrencyPolicy: Forbid
1011
jobTemplate:

deployment/clouddeploy/gke-workers/base/exporter.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
cronLastSuccessfulTimeMins: "30"
77
spec:
8+
timeZone: "Australia/Sydney"
89
schedule: "*/15 * * * *"
910
concurrencyPolicy: Forbid
1011
# If the previous job overruns by more than a minute,

0 commit comments

Comments
 (0)