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

RESOLVED FIXED

Status

Release Engineering
General
P2
normal
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: aki, Assigned: nthomas)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
Currently owned by root, so the team can't edit them.
(Assignee)

Updated

6 years ago
Assignee: nobody → nrthomas
Priority: -- → P2
(Assignee)

Comment 1

6 years ago
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
Last Resolved: 6 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.