[CI] How do I target a single job to multiple runners
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
I'm currently dealing with the annoyance of duplicating jobs, just to reference different runners. Let's take for example this script:
build:
script: ./build.sh
tags:
- dotnet
- green
only: test@dude/repo
environment: testing
build:
script: ./build.sh
tags:
- dotnet
- blue
only: test@dude/repo
environment: testing
...
and so on
Wouldn't it be HUGELY easier to have...
build:
script: ./build.sh
tags:
- dotnet, green
- dotnet, blue
only: test@dude/repo
environment: testing
... making the build job run different runners (one time for a runner with dotnet and green tags, and another for a runner with dotnet and blue tags)?
Maybe I should have marked this as feature proposal, but wans't sure if it already existed.
Thanks for reading.
Edited by 🤖 GitLab Bot 🤖