I want to run this script on runner_one and runner_two. But this configuration is set to use both of these tags, not only one of them. How to achieve multiple choice of runners tags?
Hi! The simpliest way to achieve what you’re looking for is duplicate the job like this:
job_runner_one:
stage: job
script:
- script.sh
tags:
- runner_one
allow_failure: true
job_runner_two:
stage: job
script:
- script.sh
tags:
- runner_two
Adding the “allow_failure: true”, guarantees the second job to execute, despite exit status from the previus job.