Update timer settings to match docs
In I478a64b21d9f19ece21ec5fb7a1327a106664529 (Move the requirements-constraints job to the periodic-weekly pipeline) we switched the job to run from the weekly pipeline. After checking on Saturday at approx 17:00 UTC) the job hadn't triggered. I took this to IRC[1]: 12:50 <tonyb> Tony Breeds: Totally not important but I'm noticing something strange with the periodic-weekly pipeline. Looking at: https://opendev.org/openstack/project-config/src/branch/master/zuul.d/pipelines.yaml#L214-L224 that pipeline is to run at 08:00am Saturday (UTC), but looking at https://zuul.opendev.org/t/openstack/builds?pipeline=periodic-weekly&skip=0 it seems to be running at 08:00am on Sunday? 13:22 <frickler> Jens Harbott tonyb: indeed, seems that zuul documentation is wrong. apschedule has mon=0 ... sun=6 https://apscheduler.readthedocs.io/en/3.x/modules/triggers/cron.html#module-apscheduler.triggers.cron 13:23 <frickler> Jens Harbott most weird about it is that nobody seems to have noticed this before Given the comment makes sense lets update the code to match. [1] https://meetings.opendev.org/irclogs/%23openstack-infra/%23openstack-infra.2022-08-20.log.html#t2022-08-20T17:50:48 Change-Id: I4d4d70730362a8c80cbcb0b5abf57a12fad2ae9f
This commit is contained in:
parent
46838fbda8
commit
d84a9b1ec7
@ -221,7 +221,8 @@
|
||||
timer:
|
||||
# Saturday 8am UTC is a better time to start weekend jobs, as Sunday
|
||||
# is a working day in some geographies.
|
||||
- time: '0 8 * * 6'
|
||||
# 5 is Saturday in apscheduler
|
||||
- time: '0 8 * * 5'
|
||||
|
||||
- pipeline:
|
||||
name: release-approval
|
||||
|
Loading…
Reference in New Issue
Block a user