From d84a9b1ec7b625e6159366e95932f88d5e142868 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Sat, 20 Aug 2022 14:33:51 -0500 Subject: [PATCH] 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 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 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 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 --- zuul.d/pipelines.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zuul.d/pipelines.yaml b/zuul.d/pipelines.yaml index 08db786009..cccec8bbcc 100644 --- a/zuul.d/pipelines.yaml +++ b/zuul.d/pipelines.yaml @@ -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