Allow picking a runner when running a pipeline
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
I'd like the ability to pick a specific runner when creating a pipeline via API: https://docs.gitlab.com/ce/api/pipelines.html#create-a-new-pipeline
Intended users
Unknown.
For us, this is meant to be handled by our "system" hidden from our users.
Further details
We need to have runners in different physical locations.
Because we cannot pick a runner when creating a pipeline, we have to create 1 project to map to the specific location (and therefore, runner).
As a result, we have to have a "master" project that we sync changes to multiple forks.
- Thank you push mirrors!
Proposal
Ideally, I would be able to do the following:
- Get project
- Get project-specific runners
- Create pipeline on project specifying the runner (location) I want to use
- So maybe add a
runner_idparam to the pipeline create API
- So maybe add a
Permissions and Security
I'd wager this permission would need to be owner/maintainer level.
We wouldn't want to allow devs or lower to do this.