You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.