-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 triggering PipelineRuns from events #315
Comments
Brainstorming about this topic... With the existing API, the way to trigger a A simplifying assumption would be that service that generates In terms of implementations, if the
In option (1) the controller needs to process Cloud Events. Having one place that receives all events may be more efficient, but it may become an issue on a large scale system. Having one component doing reconciliation and listening for triggers may also be not ideal as the two functions may interfere which each other. In option (2) the controller logic is not changed that much and there is a good separation of concerns. It may be possible to implement multiple An option (3) in the middle could be to have a single external addressable that subscribes to all events of all pipelines and tasks, which lives as long as the controller lives, with subscriptions added and removed on demand. |
I think we should consider this issue completed once we have something like agreement on a design; then open subsequent issues to tackle the implementation. |
@afrittoli One question: |
Related proposal from @iancoffey in #783 |
Linking @iancoffey's proposal here: https://docs.google.com/document/d/1tfG6dkARP2xko-5trDV3D62DJZiXQBZgLtLH7GyUopM/edit# |
I have heard from @iancoffey that the above proposal (currently |
hey @vtereso everything you've said is accurate! There's a bit more info about the process at https://github.com/tektoncd/community/blob/master/process.md#experimental-repo
I'm currently working on a proposal to promote the project from experimental to a top level dir! I'll share the proposal shortly and then we can keep discussing :D |
I see that you added a slot on the schedule to discuss this 😄 I believe this issue effectively breaks down the differences between the two experimental approaches, notably that the current |
IIUC, is the idea to make a |
I think this discussion could help on the topic: |
With @iancoffey @ncskier @vtereso @dlorenc and @kimsterv we have created an updated proposal/design at https://docs.google.com/document/d/1fngeNn3kGD4P_FTZjAnfERcEajS7zQhSEUaN7BYIlTw 🎉 Will discuss at the next couple working group meetings. |
Initial list of owners will be the folks who created the design (see tektoncd/pipeline#315 for design docs and discussions)
Initial list of owners will be the folks who created the design (see tektoncd/pipeline#315 for design docs and discussions)
@bobcatfish should this issue be closed now that |
kk let's do it! The main reason I was keeping this open was b/c I still need to expand that design doc to include conditions/filtering but that's just an additive change :D 🎉 woot! |
Initial list of owners will be the folks who created the design (see tektoncd/pipeline#315 for design docs and discussions)
Expected Behavior
We need to be able to trigger the creation of
PipelineRuns
from events, e.g. from knative/eventing events.This is a placeholder issue we can use to gather requirements + ideas, which we can synthesize in this doc (note doc editable by members of knative-dev@googlegroups.com).The most recent and relevant proposalNow THIS is the most recent proposal/design which proposes creating a top level project based on the POC at https://github.com/tektoncd/experimental/tree/master/tekton-listener 🎉🎉🎉
Actual Behavior
PipelineRuns
, and allPipelineResources
required to execute them, must be created manually.The text was updated successfully, but these errors were encountered: