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 pipeline trigger #23

Open
tuc0w opened this issue Mar 30, 2020 · 5 comments
Open

Add pipeline trigger #23

tuc0w opened this issue Mar 30, 2020 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Hacktoberfest 2020

Comments

@tuc0w
Copy link

tuc0w commented Mar 30, 2020

It would be great to be able to trigger a specific pipeline to run by the press of a button. It should be easy to implement, it's just a POST: https://docs.gitlab.com/ee/ci/triggers/#triggering-a-pipeline

@SantiMA10
Copy link
Owner

Do you mean to trigger a manual pipeline?

I was thinking about adding some kind of mechanism to retry a pipeline, but this sounds like a different action, isn't it?

@SantiMA10 SantiMA10 added enhancement New feature or request waiting-reply labels Mar 30, 2020
@tuc0w
Copy link
Author

tuc0w commented Mar 30, 2020

Yes you're right this would be:

POST /projects/:id/pipelines/:pipeline_id/retry

triggering new build uses this endpoint:

POST /projects/:id/trigger/pipeline

@SantiMA10 SantiMA10 added good first issue Good for newcomers and removed waiting-reply labels Apr 23, 2020
@tuc0w
Copy link
Author

tuc0w commented Aug 3, 2020

@SantiMA10 do have any idea when you can work on this? At the moment I am using API Ninja to achive this, but a more "native" feeling with your Plugin would be great :)

@SantiMA10
Copy link
Owner

@tuc0w sorry, but I'm a bit busy lately, I will work on it when I have some free time

meanwhile, if you want to work on it I will be happy to review a PR

@SantiMA10
Copy link
Owner

Maybe we can add this a long-press action, following this example: https://github.com/elgatosf/streamdeck-counter/blob/master/Sources/com.elgato.counter.sdPlugin/code.html

@SantiMA10 SantiMA10 added the hacktoberfest Hacktoberfest 2020 label Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Hacktoberfest 2020
Projects
None yet
Development

No branches or pull requests

2 participants