Forums

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

Can I access build environment on host with pipeline runner?

zcv
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 16, 2021

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
Rafael F_ August 17, 2021

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.

zcv
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2021

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
AUG Leaders

Atlassian Community Events