Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #16 from vshn/fix-times
Browse files Browse the repository at this point in the history
Fix: Don't run job at 22:00 UTC because that can be 00:00 Europe/Zurich
  • Loading branch information
davidgubler authored Aug 23, 2022
2 parents 4ddbefe + b3d245b commit c4d5615
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion component/class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ parameters:
collector:
registry: 'ghcr.io'
repository: 'vshn/cloudscale-metrics-collector'
tag: 'v0.3.2'
tag: 'v0.3.3'
2 changes: 1 addition & 1 deletion component/component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ local secrets = [
},
},
},
schedule: '10 4,10,16,22 * * *',
schedule: '10 4,10,16 * * *', # Times in UTC! Don't run job around midnight as cloudscale API may return incomplete data
successfulJobsHistoryLimit: 3,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ spec:
secretKeyRef:
key: token
name: cloudscale
image: ghcr.io/vshn/cloudscale-metrics-collector:v0.3.2
image: ghcr.io/vshn/cloudscale-metrics-collector:v0.3.3
name: cloudscale-metrics-collector-backfill
resources: {}
restartPolicy: OnFailure
schedule: 10 4,10,16,22 * * *
schedule: 10 4,10,16 * * *
successfulJobsHistoryLimit: 3

0 comments on commit c4d5615

Please sign in to comment.