-
Notifications
You must be signed in to change notification settings - Fork 420
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
Design for cron triggering #69
Comments
Considering our current design is focused around HTTP requests, and all events don't necessarily come in that format, my understanding is that we will eventually end up having a separate event-adapter library (or will recommend lightweight adapter(s) that already exist; for example vincent's github adapter). With this in mind, I think the best way to approach this is to have an adapter that will produce an HTTP event or CloudEvent when the cronjob is supposed to execute. Knative eventing has something similar here, although it isn't as light on dependencies as we would like. |
Agree with @EliZucker , this part should not in the scope of |
The solution could be that we recommend Basically if I wanted to use Tekton as a complete CI solution (and I do! :D tektoncd/pipeline#267) then I would need to be able to setup cron triggering somehow. And if I found the "triggering" part of the project but found no guidance about how to setup triggering based on the passage of time (i.e. cron) I'd be very frustrated. So this issue is just to track that at the very least we should have docs to help users set this up - but we should also do some investigation and make sure we're happy with whatever we suggest (and decide what and if we want to implement anything ourselves). |
One thing we could do is recommend third party sources such as Google Cloud Scheduler, or easy cron. also, you can declare cron jobs within Kubernetes. I wouldn't mind taking a stab at it |
Sample for tektoncd#69
Sample for tektoncd#69
Closing for now thanks to #162 |
Expected Behavior
Folks will want to run Pipelines periodically, e.g. very night or every few hours they may want to trigger CI. Some use cases:
Actual Behavior
We've been discussing and designing solutions for event based triggering where the event comes from an external system like GitHub.
Hopefully this design will be super similar :D
Additional Info
Definitely not something we need for our first milestone but ppl have been asking for it so we can track it here and ppl can add details if needed :D
The text was updated successfully, but these errors were encountered: