Closed Bug 912647 Opened 7 years ago Closed 4 years ago

[socorro] Add cleanup of old builds to push scripts

Categories

(Socorro :: Infra, task, P1)

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bburton, Unassigned)

References

Details

Currently older builds in /data/ are left until manual clean up is done.

Proposed solution is to add some clean up to the end of the push script

* any build folders <24 hours old are left on disk uncompressed
* any build folders > 24 hours old and < 14 days old will be .tar.gz'd
* any build tarballs > 14 days old will be rm'd

I'll work on adding this to stage after I commit the current push scripts later today
Assignee: server-ops-webops → bburton
Status: NEW → ASSIGNED
Priority: -- → P1
See Also: → 912039
find . -maxdepth 1 -type d -iname 'socorro.*' -ctime +1 -exec tar -czf {}.tar.z {} \;
Assignee: bburton → server-ops-webops
See Also: → 1009626
feature request: it would be great for the update script to clean up after itself. discussed during 05/28 bug squash with :laura and :lonnen
Assignee: server-ops-webops → nobody
Component: WebOps: Socorro → Infra
OS: Mac OS X → All
Product: Infrastructure & Operations → Socorro
QA Contact: nmaul
Hardware: x86 → All
We cycle in new infrastructure, so each build does not require this.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.