Closed Bug 704401 Opened 13 years ago Closed 10 years ago

Staging/preproduction purge_builds.py should clobber rel-* directories after X amount of time

Categories

(Release Engineering :: Release Automation: Other, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 861733

People

(Reporter: rail, Unassigned)

Details

(Whiteboard: [preproduction][buildslaves])

Attachments

(1 file)

Staging/preproduction purge_builds.py should clobber rel-* directories after X amount of time to allow slaves with low disk space clobber enough space.
Attached patch Use config fileSplinter Review
Comment on attachment 576082 [details] [diff] [review]
Use config file

Rail, while I like this general approach (config file) I'm not sure I like:
|Override command line parameters with ones from config file| it just feels counter intuitive to me, if we pass in a list of ignore dirs, why are we overriding?

Also I think we need/want to print some message if we truely do want to override so we can know why, for example, a production machine might be misconfigured with purge_builds and is actually purging stuff we specified as excluded.
(In reply to Justin Wood (:Callek) from comment #2)
> Comment on attachment 576082 [details] [diff] [review] [diff] [details] [review]
> Use config file
> 
> Rail, while I like this general approach (config file) I'm not sure I like:
> |Override command line parameters with ones from config file| it just feels
> counter intuitive to me, if we pass in a list of ignore dirs, why are we
> overriding?

I totally agree with you here. The approach is not ideal. I was afraid that introducing another localconfig.py  variable would be a pain. Let's try to go this way.
Priority: P2 → P4
Not working on this bug actively. Back to the pool.
Assignee: rail → nobody
Product: mozilla.org → Release Engineering
Component: Other → Release Automation
QA Contact: bhearsum
I think this happened in bug 861733...
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: