-
Story
-
Resolution: Unresolved
-
Major
-
None
-
5
Existing documentation covers creation of triggers in the tutorial at https://docs.redhat.com/en/documentation/red_hat_openshift_pipelines/1.18/html/creating_cicd_pipelines/creating-applications-with-cicd-pipelines#adding-triggers_creating-applications-with-cicd-pipelines
Here a user-defined TriggerBinding resource is used. However, Pipelines also installs ClisterTriggerBindings tha the user can use to extract parameters from the event payload into the parameters for a TriggerTemplate. These are listed in https://github.com/tektoncd/operator/tree/main/cmd/openshift/operator/kodata/tekton-addon/addons/01-clustertriggerbindings and there's an upstream doc at https://tekton.dev/docs/triggers/triggerbindings/
It also is not clear from the tutorial how to make this event listener get only a particular type of events.
We need to document ClusterTriggerBindings and the necessary context for them. We probably need to do it outside the tutorial as modifying the tutorial can be tricky on the Dev side. The doc needs to include a reference for existing ClusterTriggerBingings.
We might also need to add some information to the tutorial as to how to make the repository actually send something to the event listener.
sashture has promised an end-to-end example for github-push. the ClusterTriggerBinding affected by SRVKP-7601.
- documents
-
SRVKP-7601 Git clone fails when using github-push ClusterTriggerBinding
-
- Closed
-