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
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
I have my build-cache in my Synology NAS, which supports NFS, SMB,I want to use the build cache to build my code in the pipeline. so far I am using a custom-docker image for my pipeline and self. hosted runner on ec2-machine. I am only running one command in my script, which is the build command. My build is taking 3hrs of time to build the code without a cache directory. My build cache directory is 4GB.
whenever I run bitbucket is create a docker container with my custom images and clone my repo into and run the build command to build. So I want to mount my shared folder to this container to use the build cache. or else let me know the best way to do it.
The code I am trying to build is the yocto project.
Hi @Sumanth Anumolu,
I'm afraid that it is not possible at the moment to mount the host's shared directories in Pipelines runners.
As a workaround, you could use an SFTP client from the runner's build to download the directory from the host to the build container:
We have a feature request to support mounting host shared directories in a runner's container:
If you'd be interested in that, I would suggest adding your vote in the feature request (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.
Implementation of new features is done as per our policy here and any updates will be posted in the feature request.