Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Define self hosted runners for whole pipeline or stage

Aurimas N_ April 24, 2024

Hi, I was able to find how to define self hosted runners on step level only, is there a way to define it for the whole stage or whole pipeline or for repository?

 

The use case is for resources that are not publicly accessible and therefore everything must be done from self hosted runners, it seems a bit redundant to specify runners for each and every step.

1 answer

1 accepted

2 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2024

Hi Aurimas,

This is not possible with a static yaml file but it should be possible with dynamic pipelines. You can check the documentation and resources here:

Kind regards,
Theodora

Aurimas N_ June 25, 2024

I've implemented this via dynamic pipelines, but I must say it feels more complicated than it needs to be, having a way to statically define it on the pipeline level would be so much more simple and intuitive.

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 26, 2024

Hi Aurimas,

Thank you for the feedback. We have a feature request for the ability to specify "runs-on" golabally:

You can add your vote to this feature request (by selecting the Vote for this issue link) to express your interest, and also give your feedback there regarding the complexity of dynamic pipelines and the preference for a static definition.

Kind regards,
Theodora

Like Sabine Mayer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events