GitLab - trigger pipeline to build on specific runner
There currently isn't a solution for building on a specific runner in GitLab, but there is an issue open for Sticky Runners, which hopefully will be out in the next 3-6 months according to the Milestones!



The work around I've done so far to build a project on a specific runner is to use the GitLab Runner API, in a rather hacky way, along the lines of:


Get all project runners
As I know I've deployed the latest runner, that would have the highest runner "number"
Pause all the other runners associated with the project in question
Trigger the pipeline to build on the latest runner
Poll the GitLab API to get the status of the pipeline
Once that succeeds, resume all other runners!
If the pipeline fails, remember to resume the paused runners...