How do I get Bamboo's disk usage under control?

6,040

If you don't need to run any jobs on the main Bamboo server, you can disable the default local agent. See the Bamboo documentation.

Share:
6,040

Related videos on Youtube

clee
Author by

clee

Updated on September 18, 2022

Comments

  • clee
    clee over 1 year

    Here's the scenario:

    Our source code is on Github.

    We run Bamboo (2.7.3 currently) on a Linux server here at work.

    We have several builds that are farmed out to remote agents (for example, to build iPhone software). On the remote agent, Bamboo clones the source from Github, does the build, and then uploads the artifacts to the server. This works exactly as we want/expect.

    The problem is, the Bamboo server seems to be checking out the git repository, too, and it does this for every single build plan we have. It's taking up a significant percentage of disk space for these checkouts, and I don't see any way to disable them.

    Any ideas?

    • womble
      womble over 12 years
      I don't understand the problem... of course your build server needs to make a checkout in the git repo, otherwise it doesn't have the code to build. Is the problem that it's making multiple checkouts somehow, and you'd like to have it make only one? That might not work if it's building in-place.
    • clee
      clee over 12 years
      No, the server can't do anything with iPhone software. The remote agent that runs on OS X can, and does, but right now, the server does a git clone and so does the remote agent. I want to stop the server from doing the git clone.
    • polynomial
      polynomial over 12 years
      Have you already looked at: confluence.atlassian.com/display/BAMBOO/…
    • clee
      clee over 12 years
      I have, yeah. That's good for deleting old build artifacts, but it doesn't solve the server-checking-out-new-working-copies-of-all-of-our-reposit‌​ories problem.