Comments (5)
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.
from triggers.
Agree with @EliZucker , this part should not in the scope of Trigger
.
Any reason we don't leverage Knative eventing
or Knative contrib
? not light enough?
if so i guess we need consider to create tekton's event source repo.
from triggers.
The solution could be that we recommend Knative eventing
, I don't want to jump to any conclusions just yet!
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).
from triggers.
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
from triggers.
Closing for now thanks to #162
from triggers.
Related Issues (20)
- TriggerTemplate unable to use JSON array as parameter HOT 9
- `githubOwners` not creating pipelinerun/taskrun when the owner creates a pull request from different branch HOT 6
- `githubOwners` and `addChangedFiles` do not work together when the `eventType` is `issue_comment` HOT 3
- Add CEL macro to fetch data from ConfigMap HOT 8
- Provide a mechanism to more easily access the "event" in a workspace in pipelines HOT 3
- Add Annotation to integrate Triggers with Results HOT 2
- Error from server (MethodNotAllowed): error when creating "sklearn-logging.yaml": create not allowed while custom resource definition is terminating HOT 3
- EventListener - unable to define NodePort (Question) HOT 1
- Mystery clusterrole reference in docs/getting-started HOT 1
- Whether the resourcetemplates in TriggerTemplate consider adding 'ref' field for decoupling HOT 2
- FYI - knative/pkg will drop use of generated k8s client backed by a dynamic client
- Tekton Trigger Eventlistener bitbucket
- Event listener no able to detect the changes from the bitbucket server HOT 2
- CE response from sink fails for the Eventing MT ingress broker HOT 3
- Document CloudEvent Response Behavior HOT 4
- k8s Events not being created during processing of Triggers HOT 3
- Tekton Bitbucket Event listener only run when the master branch is changed HOT 5
- 38% of pods on my cluster are event listeners, too many for AWS EKS, Tekton should not stress pod limits HOT 2
- Unable in trigger object to use a serviceaccount from an other namespace HOT 2
- A slash character in a TriggerBinding value does not work. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from triggers.