Forums

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

Local file system mount to bitbucket runner

Abhishek K J
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!
March 3, 2022

Hi All,

We have a project where we have a large codebase to build android firmware.
We have only stored our code in bitbucket and stored android codebase(more than 130GB) in local machine.

Due to the size of the codebase its not easy to use bitbucket cloud pipeline.

We came to know about the bitbucket runner, where we can run the build on local machine.
But the issue is that the runner does not support local file system mount.

We tried to use scp to copy the codebase to the runner environment during the build, but it takes more than 1.5 hours to copy the code.

Is there any way or workaround to mount the local filesystem to the runner.

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2022

Hi @Abhishek K J,

As a runner doesn't provide access directly to the host file system, I'm afraid that the only workaround is to use something like scp or rsync in order to copy host files during the build.

Do you need the whole 130 GB of your codebase to run your builds? In case you need only a part of that you could try copying only the part that you need during the build.

We have a feature request to support mounting host directories in runners:

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.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events