What are the disk space limitations for the build?

This question is in reference to Atlassian Documentation: Limitations of Bitbucket Pipelines (beta)

In pipelines, are there limits on how much disk space you can use during the build, and what is that limit?

2 answers

Hi Ben,

We recommend to keep the disk space required to run the pipeline under 5GB. We're monitoring usage during the beta to inform better what limits we will have when we make Bitbucket Pipelines available to all customers.

Thanks,

Sten

We have one project (sort of a custom packet-based db) that has tests that generate some pretty large files (that get deleted after test), but there's all much less than 5GB - perhaps 1GB of files at most.  Just investigating some test failures there, and wanted to make sure we not hitting some limits.

 

For reference, we added some diagnostics to our build steps - so I don't think disk space is the issue.  We have noticed weird behavior of the docker filesystem though on other tests (we're pretty new to docker - issues with filesystem not syncing quickly at all, even with explicit sync's in our code), so perhaps we're seeing something like that in these tests too.

```

df -h
+ df -h
Filesystem Size Used Avail Use% Mounted on
none 197G 65G 125G 35% /
tmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/xvda1 197G 65G 125G 35% /root/.m2
shm 64M 0 64M 0% /dev/shm

```

I'm trying to recreate failures on local docker, but get different results.

Hey Ben, just to get more context would you mind telling us how much space your builds need on average?

Thanks

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

646 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot