-
Notifications
You must be signed in to change notification settings - Fork 39
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
Support cron scheduling via GCP Cloud Scheduler #107
base: master
Are you sure you want to change the base?
Support cron scheduling via GCP Cloud Scheduler #107
Conversation
I think this would be a great addition to the project. Any suggestions on when/if this will be merged? |
Not sure tbh 🤷 Waiting for @alachaum's review 👀 |
I see. @alachaum Is there any help that we can provide to get this PR merged? 🤝 |
@alachaum |
Summary
For: #20
Added GCP Cloud Scheduler support for cron job scheduling. I followed the linked issue and @ceritium's PR while also adding basic ActiveJob and OIDC support. Let me know what you think!
Testing
CloudScheduler::Manager
as follows:Manager.synchronize!
will sync your GCP project's Cloud Scheduler jobs with whatever you have in the config file. It will create any jobs that you add, update stale jobs, and delete any jobs that you remove.I didn't add a rake task since I wanted to give the end users the freedom to use the manager however they see fit. Let me know if you want me to add it back.
Thanks!