Merge lp:~robru/cupstream2distro/delete-distro-versions-after-diffing into lp:cupstream2distro
| Status: | Merged |
|---|---|
| Approved by: | Robert Bruce Park on 2015-02-16 |
| Approved revision: | 873 |
| Merged at revision: | 873 |
| Proposed branch: | lp:~robru/cupstream2distro/delete-distro-versions-after-diffing |
| Merge into: | lp:cupstream2distro |
| Diff against target: |
14 lines (+4/-0) 1 file modified
citrain/jenkins-templates/build.xml.tmpl (+4/-0) |
| To merge this branch: | bzr merge lp:~robru/cupstream2distro/delete-distro-versions-after-diffing |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Łukasz Zemczak | 2015-02-16 | Approve on 2015-02-16 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-02-16 | |
|
Review via email:
|
|||
Commit Message
Delete distro versions after diffing.
Description of the Change
We recently had a disk space crisis where Timo's qt silo was taking up 11GB (and total space of all silos was only 13GB). In addition to a runaway backup process, we managed to fill the entire 30GB disk.
One of the features of the train is diff generation, but in order to generate the diff it needs to have two copies of the package around: the copy we generated and the version in distro. This of course doubles our disk space usage.
This branch deletes distro versions after the diff has been generated, which is harmless. It is already the case that this directory gets deleted and new distro versions are downloaded each time a new diff is generated. So the only change here is that distro versions aren't kept around forever, taking up huge amounts of disk space.
| Łukasz Zemczak (sil2100) wrote : | # |
Looks safe, from what I see it's indeed not needed afterwards.

PASSED: Continuous integration, rev:873 jenkins. qa.ubuntu. com/job/ cu2d-choo- choo-ci/ 453/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/cu2d- choo-choo- ci/453/ rebuild
http://