Description
Is your feature request related to a problem? Please describe.
Some pipelines use more than one runner type, for instance docker on build and shell on deploy, or a build for macOS and another for Linux.
The gitlab-runner daemon itself supports declaring multiple runners on the same machine and jobs are distributed based on tags.
Describe the solution you'd like
In order to mimic the behavior of distributing the jobs from a pipeline to multiple runners the user would set a set of mappings of tag->executor_type.
It may be useful to implement some defaults based on common usage patterns. From the official documentation we get examples such as:
dind
for docker-in-dockermacos
,saas-macos-medium-m1
,saas-macos-large-m2pro
for shell on macOSshell
for shell on Linux
Describe alternatives you've considered
A workaround for this is to not run the pipeline all at once but rather "micro-manage" each step so the correct executor can be enforced.
Additional context
Add any other context or screenshots about the feature request here.
Activity
firecow commentedon Apr 13, 2025
I'm not sure I understand how this would benefit your local flow
Please attach a good example that illustrates problems that this feature would address.
jclaisse commentedon Apr 24, 2025
Hi, it will also help me in my case : I have a .gitlab-ci.yml which has build stage for both OS: windows and linux and the only way to differentiate the jobs are tags :