Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Run pipeline step on any self-hosted runner regadless of its OS ?

Romain T_ October 20, 2022

Hello,

I have multiple Windows and macOS machines with runners and I'd like all of them to be able to run a pipeline that do no require a specific OS.

I thought I could just use self.hosted alone, but it didn't work, the pipeline DebugPipeline fails with ''Currently no online runner available that matches the required labels"

custom:
debug-mac:
- step:
name: 'DebugPipelineMac'
runs-on:
- self.hosted
- macos
script:
- echo 'DebugPipelineMac'
debug-win:
- step:
name: 'DebugPipelineWin'
runs-on:
- self.hosted
- windows
script:
  - echo 'DebugPipelineWin'
debug:
- step:
name: 'DebugPipeline'
runs-on:
- self.hosted
script:
- echo 'DebugPipeline'


How can I achieve this ? I used custom pipelines in this example, but ideally I want to use it for pull-requests ones, we tend to have many short terms of them and I'd like to spread the loads on all machines.

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 24, 2022

Redacted to avoid confusion

Romain T_ October 25, 2022

Thank you for you reply @Syahrul. Unfortunately this doesn't work , because you cannot have multiple platform labels.

error.png

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 25, 2022

Hey @Romain T_ 

Apologize for the confusion. I made a mistake while reviewing the documentation and test.

Apparently, we don't support multiple platform usage in a single step at this moment. This is due to the differences in each platform build, so we don't have the flexibility to utilize different types of platforms in steps for now.

Since this is a great feature to be added, I have proceeded to raise a feature request on your behalf. Please Vote and Watch the feature request so that you'll receive an update in the future at:

That said, I am redacting the above answer to avoid confusion.

Again apologize for that.

Cheers,
Syahrul

Romain T_ October 26, 2022

Thank you, I've added details on the issue on how we are using pipelines and that limitations we are facing.

Like Syahrul likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events