You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And make it easier to extend with Bitbucket, and other possible interceptors, while keeping the benefits of the strongly typed values, as opposed to...
I would prefer to keep these separate, just so that they can be updated and configured separately.
Even within pipelines there is a strong argument against the common pull request resource, since it limits interactions with the underlying SCMs to the lowest common denominator interface. There's been some experimentation within the catalog to break things up into individual tasks: https://github.com/tektoncd/catalog/tree/master/github.
I suspect this will be highly coupled to #271. w.r.t. validation I imagine a scenario where plugins register and handle self validation, and the EL just verifies that there is a valid mapping.
Expected Behavior
Instead of
GitHub
andGitLab
interceptors being separatePerhaps these could be simplified to a
GitWebhook
with typegithub
orgitlab
This would make extending somewhat simpler:
And tidy this long validation line up:
https://github.com/tektoncd/triggers/blob/master/pkg/apis/triggers/v1alpha1/event_listener_validation.go#L83
And make it easier to extend with Bitbucket, and other possible interceptors, while keeping the benefits of the strongly typed values, as opposed to...
The text was updated successfully, but these errors were encountered: