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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

how to use build cache from synology


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.

    type: bind
    source: /home/ubuntu/tgu
    target: /tgu
    access-key: $AWS_ECR_ACCESS_KEY
    secret-key: $AWS_ECR_SECRET

    - step:
        name: "build"      
        runs-on: test.yocto2
           - DISTRO=fsl-imx-xwayland MACHINE=dictgu EULA=yes source -b build-directory
          - bitbake build-directory

1 answer

0 votes

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.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events