Can we set multiple self hosted runner globally means if one runner is busy it won't show error it will directly redirect to another runner. Is it possible?
Hi Monika and welcome to the community!
It is possible to use multiple self-hosted runners. You can assign a certain runner to run specific steps only with the use of custom labels, see our documentation here:
Alternatively, you could use only the standard labels for all steps and then any available runner will pick up a step if your other runners are in use by other steps.
Please keep in mind that Linux Shell, Windows and MacOS runners run steps directly on the host machine (as opposed to Linux Docker runners that run every step in a Docker container). If you use these type of runners, deploying multiple runners to a single machine may lead to issues related to resource sharing/usage conflicts due to the shared build environment. This could be an issue if multiple steps try to access the same resources from the host machine. If that's the case with your builds, it may be best to set up additional runners on different machines.
Please feel free to reach out if you have any questions!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.