ci: reduce update-builder schedule from hourly to every 4 hours#3566
ci: reduce update-builder schedule from hourly to every 4 hours#3566Ankitsinghsisodya wants to merge 1 commit intoknative:mainfrom
Conversation
The builder image is published by an external team and does not change hourly. Running 24 times/day instead of 6 wastes ~18 runner-hours/day for no benefit. Align with the cadence used by all other update workflows. Closes knative#3563
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Ankitsinghsisodya The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @Ankitsinghsisodya. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Pull request overview
This PR reduces the run frequency of the update-builder scheduled GitHub Actions workflow to better align with the cadence of other update workflows and to avoid unnecessary runner usage.
Changes:
- Update
.github/workflows/update-builder.yamlcron schedule from hourly (0 * * * *) to every 4 hours (0 */4 * * *).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3566 +/- ##
==========================================
+ Coverage 53.76% 56.23% +2.46%
==========================================
Files 180 180
Lines 20465 20465
==========================================
+ Hits 11004 11509 +505
+ Misses 8355 7756 -599
- Partials 1106 1200 +94
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Problem
update-builder.yamlruns on an hourly cron (0 * * * *), while all other update workflows use0 */4 * * *(every 4 hours) or daily. The builder image is published by an external team and does not change hourly, so the extra runs provide no benefit while consuming ~18 runner-hours/day.Fix
Change the cron from
0 * * * *to0 */4 * * *to match the cadence of all other update workflows.Closes #3563