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

CLI: Add TriggerTemplate

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • Normal
    • None
    • None
    • Tekton Triggers
    • CLI: Add TriggerTemplate
    • To Do
    • 33
    • 33% 33%

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ssadeghi@redhat.com Siamak Sadeghianfar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: