Giter VIP home page Giter VIP logo

Comments (5)

EliZucker avatar EliZucker commented on July 17, 2024

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.

vincent-pli avatar vincent-pli commented on July 17, 2024

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.

bobcatfish avatar bobcatfish commented on July 17, 2024

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.

jasonsmithio avatar jasonsmithio commented on July 17, 2024

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.

vtereso avatar vtereso commented on July 17, 2024

Closing for now thanks to #162

from triggers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.