After creating the Pipeline and Trigger using Pipelines functionality through the UI console, the Pipeline is not automatically triggered event though the event is sent (i.e the code is pushed).
There are several possible causes for this issue:
EventListener was not deployed, or is not listening Triggers in the target namespace, or may be filtering out the event.ServiceAccount used by the EventListener deployment does not have enough permissions.Trigger is not configured correctly.Given the possible issues mentioned above, follow the steps to find the root cause of the problem:
EventListener was deployed and can be reached from the event source (i.e Gitlab instance).EventListener resource and check if it is listening Triggers in the target namespace checking the EventListener resource spec, it should have the namespaceSelector field set to * or listing the target namespace.interceptors inside EventListener resource are not filtering out the event.EventListener logs for any errors or warnings. This is possible through the kubectl command: kubectl logs <eventlistener-pod-name> -n <namespace>ServiceAccount used by the EventListener has appropriate permissions, including create permissions for the PipelineRun resource.For a detailed documentation on EventListener configuration please see EventListener
Trigger was configured correctly, making sure the parameters from TriggerBinding or ClusterTriggerBinding match those used in the TriggerTemplate.For a detailed documentation on how to setup Trigger using Gitlab events as example, please see Gitlab Events