Closed Bug 674573 Opened 13 years ago Closed 13 years ago

move tinderbox-builds cleanup scripts/crontabs to ffxbld-controlled areas

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: nthomas)

References

Details

Currently owned by root, so the team can't edit them.
Assignee: nobody → nrthomas
Priority: -- → P2
We used to have this /etc/cron.d/cleanup-hourly-builds:

@hourly root find /pub/mozilla.org/{xulrunner,seamonkey,thunderbird,calendar/sunbird,mobile}/tinderbox-builds/ -mindepth 2 -maxdepth 2 -type d -mtime +0 -name 1????????? | xargs rm -rf
@hourly root find /pub/mozilla.org/firefox/tinderbox-builds/ -mindepth 2 -maxdepth 2 -type d -mtime +29 -name 1????????? | xargs rm -rf
# remove localized nightly builds older than a few days, to keep
# disk usage under control but still provide nightly updates
0  23 * * * root find /pub/mozilla.org/firefox/nightly/201? -mindepth 2 -maxdepth 2 -type d -name '*-mozilla-*-l10n' -mtime +5 -exec rm -rf {} \; && symlinks -d /pub/mozilla.org/firefox/nightly > /dev/null

I've 
* removed the xulrunner, mobile, and firefox references from that cron file
* added three lines to ffxbld's crontab (mobile + firefox)
* added one line to xrbld's crontab, but run it @daily instead of @hourly
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.