-
Notifications
You must be signed in to change notification settings - Fork 121
Questions about EventBinding #35
Comments
I agree, this is a super important part that is non-existent in this experiment so far. The reason is more about order of operations now - there will soon be a major refactor of the TektonListener. I wanted to see how that shakes out before trying to address the EventBinding event payload handling situation.
Yes the TektonListener is intended to be used by itself, without any EventBinding, and will likely soon be more independent from EventBinding, with its own instructions.
Its a good point - the PipelineResources could be used as templates and spawns/reaped per event, but then it would be the Listener managing them. I guess this also depends on the output of the TektonListener refactor somewhat...curious any thoughts you may have. |
Hi Ian, to follow up on your comment
What is the use case that you see for the TektonListener by itself without any EventBindings? I was under the impression that the point of these resources was to solve the problem of triggering PipelineRuns from Events. |
@ncskier @iancoffey
|
@ncskier The Listener project existed and was PRed before the EventBinding concept was added - and some of the design of each exists to avoid having their functionality overlap, so the listener can continue to be useful on its own. I think a lot of that spec and boundaries are bound to change in the short term |
Pretty sure this is another good one we can close right? Triggers is progressing great ❤️ Updated: closing due to inactivity |
@iancoffey
I saw the
Getting start
doc.Firstly, I like the project, seems it's depends on
Knative event-sources
(Am I right?), so it could support allsources
fromKnative-sources
, such asgithub
,kafka
.etc. that's great.I still have some question need clarification, thanks
No
event binding
inEventBinding
crd.I have not see any event binding, like things:
${event.foo}
, just some environment variables:$GHREPO
, I think this could come from the content of event.The
TektonListener
, seems this crd will created byEventBinding
? if not any event binding requirement, just trigger. CouldTectonListener
be created independent?Based on the process diagram, seems the
PipelineResource
will be create byEventBinding
.That's not make sense, at the time, the event still not emitted, so no event could binding to
PipelineResource
, am I right? so I'm little confuse here, do we just create aPipelineResource
template or what?Expect to your reply, thanks.
Additional Info
The text was updated successfully, but these errors were encountered: