-
Notifications
You must be signed in to change notification settings - Fork 955
Update the GitHub build schedule to every Sunday #470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
08895da
to
8451210
Compare
TestPlease ignore the many commits - this will be a squash and merge commit. Tests succeeded. Test that it does not trigger on days that are not desiredThe bb_schedule branch was pushed to the docs-test GitHub org, which had previously built on Oct 8.
Test that schedule build happens with new logicMake a test branch,
where the hh:mm was updated throughout the day (Friday) as we did testing. (Thanks to @bjorkert for his DM finding typos and making suggestions.) Push Finally got the syntax correct. Then go back and clean up the code. Tests with final syntaxSuccess:
|
Purpose
Our previous attempt to build on the second Saturday of the month was configured to build every Saturday and on the 8-14th day of the month.
While doing this PR to fix the logic, also fix the name, run-name from
Loop Follow
toLoopFollow
. That change will be for LoopFollow only. The other apps will need similar changes to modify the build schedule.Update the build_xxx.yml logic.
Change the schedule to run at a specific time every Sunday:
This new method eliminates one build process per month. The monthly build starts at the same time as the weekly check for updates.
The once a month logic is much simpler
day_in_month
that determines if this is the second time this day of the week has happened in this monthIS_SECOND_IN_MONTH
is used to decide whether to skip or execute a build