Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trigger to a pipeline #210

Closed
jeffmaury opened this issue Sep 15, 2020 · 0 comments · Fixed by #230
Closed

Add trigger to a pipeline #210

jeffmaury opened this issue Sep 15, 2020 · 0 comments · Fixed by #230
Assignees
Milestone

Comments

@jeffmaury
Copy link
Member

Add an action to the pipeline context menu to be able to add a trigger a pipeline. Adding a trigger would create the required Tekton resources (EventListener, TriggerTemplate, etc) in order to configure triggers and expose a webhook url that user can add to the Git provider repository settings. Example:
https://github.com/tektoncd/triggers/tree/master/examples/github

User should be able to easily get access to the webhook url associated with the pipeline after triggers are configured.

See redhat-developer/vscode-tekton#347

@jeffmaury jeffmaury added this to the Sprint #190 milestone Sep 15, 2020
lstocchi added a commit to lstocchi/intellij-tekton that referenced this issue Oct 1, 2020
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
lstocchi added a commit to lstocchi/intellij-tekton that referenced this issue Oct 2, 2020
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
lstocchi added a commit that referenced this issue Oct 8, 2020
* add 'add trigger' action (#210)

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* added model for add trigger action

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* add logic to save newly-created triggertemplate and eventListener

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* enhance UI

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* clean

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* clean-2

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* removed unused imports

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* change how bindings are retrieved + generate random name

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* clean

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* extend add trigger to tasks

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* show addtrigger only if triggers are installed

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* fix tests

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* add tests

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* remove checkboxes + fix issue when params step missing

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* improved UI trigger steps

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* fix how bindings are taken to add trigger

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* fix based on review

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* fixed test + typos + font in wizard

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>

* sort bindings + templates

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants