Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I access build environment on host with pipeline runner?

Hi There,

 

I am testing the Bitbucket Pipeline Runner and want to be able to automate a build in an embedded arm dev Linux environment which hosts the runner. While I am very new to Docker, is it possible to run commands on the runner containers host?

1 answer

1 accepted

0 votes
Answer accepted

You can do that using ansible.

Add ansible to your builder image and it can then access any other linux.

https://medium.com/nonstopio/integrate-ansible-with-bitbucket-pipeline-4ae9821ce6fd

If there's a better way to do this I'd also like to know.

Ah, yes a neat way of doing it. I have ended up going down the path of building a custom docker image and hosting it on Docker Hub. I'll see how this goes but not sure if it is the most effective method as I am pretty new to Docker. Spooling up a 1GB docker image for a build (compiling embedded firmware) just doesn't seem right but hey, that is how to cool kids do it these days?

Thanks for sending the link. I think I will use this method for actioning our Hardware-In-Loop test infrastructure though!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

233 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you