Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-685

CLI: Add TriggerTemplate

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Tekton Triggers
    • CLI: Add TriggerTemplate
    • To Do
    • 67% To Do, 0% In Progress, 33% Done

      Goal

      As a developer, I want to use the Tekton CLI to create a webhook for my pipeline so that I can add the webhook url in my Git repository settings to start the pipeline on the configured Git events.

      tkn triggertemplate create
      

      The create command would be interactive and similar to the tkn pipeline start command, with additional inputs for TriggerBinding/ClusterTriggerBinding and EventListener.

      Acceptance Criteria

      • Tekton CLI has a create command for adding webhooks
      • create command is interactive and similar to the tkn pipeline start command
      • User can select trigger bindings from a list of ClusterTriggerBinding and TriggerBinding available in the active namespace
      • Use can select an EventListener
      • If no EventListener exists, the command should create a default EventListener
      • The URL for the webhook is displayed with a brief note instructing user to add the webhook on the Git repository settings.

      Estimate

      M

              Unassigned Unassigned
              rh-ee-ssadeghi Siamak Sadeghianfar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: