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

Problem with using image and pipe on Self hosted runner

Peter Jeong March 22, 2023

I want to run custom pipes or image with self hosted runner for deploy to on-prem.

Is this not supported?

If not, how should I use it?

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2023

Hello @dahoon jeong ,

Thank you for reaching out to Atlassian Community!

As pipes rely on docker containers to work, it's only possible to run pipes when using Linux Docker self-hosted runners. Other types of runners that run directly in a shell session, such as macOS Runners , Windows Runners  and Linux Shell runners, do not currently support using pipes.

Having said that, if you are already using Linux Docker self-hosted runners, you should be able to run pipes as usual, using the same syntax you would use if your build was running in the cloud. Please find below an example YML definition :

pipelines:
  default:
      - step:
          name: Using a pipe with Linux Docker runner
          runs-on:
           - 'self.hosted'
           - 'linux'
          script:
- echo "This is an example step"
            - pipe: atlassian/email-notify:0.8.0
              variables:
                USERNAME: 'myemail@example.com'
                PASSWORD: $PASSWORD
                FROM: 'myemail@example.com'
                TO: 'example1@example.com, example2@example.com, example3@example.com'
                HOST: 'smtp.gmail.com'

Hope that helps! Let me know in case you have any questions.

Thank you, @dahoon jeong !

Patrik S

Peter Jeong March 28, 2023

Hello @Patrik S

really thanks your kindness answer.

But, there is an extra planning to able pipes and image on linux shell runner?

Thank you, @Patrik S 

Suggest an answer

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

Atlassian Community Events