This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based on https://bigkevmcd.github.io/tekton/flux/notifications/2020/12/06/flux-tekton.html. Uses Flux GitRepositories to poll for changes to specific branches on linked repos, Flux Receivers to accept events related to changes to these GitRepositories, a Flux Provider to turn a Tekton EventListener into a Flux event sink, and a Flux Alert to connect notifications related to the GitRepositories to the Provider that forwards to the EventListener. (There may be a simpler way to do this!)
This modifies the workflows API to allow multiple event types per event source, as this maps more easily to flux event types, and avoids having to duplicate the same repo just to allow triggering on multiple event types. Each workflow Trigger's webhook secret is passed to the github receiver.
Benefits:
Challenges:
Potential challenge or benefit:
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.