Closed
Bug 655676
Opened 14 years ago
Closed 14 years ago
Preproduction slaves should remove old build directories more aggressively
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
Details
(Whiteboard: [preproduction][buildslaves])
Attachments
(3 files, 2 obsolete files)
|
1.08 KB,
patch
|
dustin
:
review+
bhearsum
:
feedback+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
|
2.15 KB,
patch
|
dustin
:
review+
dustin
:
feedback+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
|
5.01 KB,
patch
|
dustin
:
review+
dustin
:
feedback+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
By default tools/buildfarm/maintenance/purge_builds.py removes directories older than 14 days. It would be better to have this parameter configurable and set it to 3-4 days for preproduction.
| Assignee | ||
Comment 1•14 years ago
|
||
I think the easiest way would be using a config file for setting max_age. Adding another parameter to MozillaBuildFactory would be a mess.
We can use different files for staging/production or remove the configs from production machines and use default values.
Attachment #531322 -
Flags: feedback?(bhearsum)
Comment 2•14 years ago
|
||
Comment on attachment 531322 [details] [diff] [review]
use config for purge_builds.py
Seems like a good approach for a tool like this.
Attachment #531322 -
Flags: feedback?(bhearsum) → feedback+
| Assignee | ||
Comment 3•14 years ago
|
||
| Assignee | ||
Comment 4•14 years ago
|
||
To be tested.
| Assignee | ||
Comment 5•14 years ago
|
||
Attachment #531327 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•14 years ago
|
||
Attachment #531329 -
Attachment is obsolete: true
| Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 531582 [details] [diff] [review]
puppet-manifests
I think that keeping the config files in hg is better than keeping them under /N/{staging,production}, especially if the files are small and platform independent.
| Assignee | ||
Comment 8•14 years ago
|
||
All patches passed staging tests.
| Assignee | ||
Updated•14 years ago
|
Attachment #531322 -
Flags: review?(catlee)
| Assignee | ||
Updated•14 years ago
|
Attachment #531582 -
Flags: review?(catlee)
| Assignee | ||
Updated•14 years ago
|
Attachment #531594 -
Flags: review?(catlee)
Comment 9•14 years ago
|
||
Comment on attachment 531582 [details] [diff] [review]
puppet-manifests
Looks good. Eventually, this will need to distinguish between a puppet-staging slave and a dev/pp slave, but for now this is close enough.
Attachment #531582 -
Flags: feedback+
Updated•14 years ago
|
Attachment #531594 -
Flags: feedback+
Updated•14 years ago
|
Attachment #531582 -
Flags: review?(catlee) → review+
Updated•14 years ago
|
Attachment #531594 -
Flags: review?(catlee) → review+
Updated•14 years ago
|
Attachment #531322 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 531582 [details] [diff] [review]
puppet-manifests
http://hg.mozilla.org/build/puppet-manifests/rev/50cb08591554
Attachment #531582 -
Flags: checked-in+
| Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 531594 [details] [diff] [review]
OPSI packages
http://hg.mozilla.org/build/opsi-package-sources/rev/0e1858f4ad42
Attachment #531594 -
Flags: checked-in+
| Assignee | ||
Comment 12•14 years ago
|
||
Comment on attachment 531322 [details] [diff] [review]
use config for purge_builds.py
http://hg.mozilla.org/build/tools/rev/a67746f8bcbe
Attachment #531322 -
Flags: checked-in+
| Assignee | ||
Comment 13•14 years ago
|
||
(In reply to comment #12)
> Comment on attachment 531322 [details] [diff] [review] [review]
> use config for purge_builds.py
>
> http://hg.mozilla.org/build/tools/rev/a67746f8bcbe
Oh, forgot to mention that I've added ValueError to the list of exceptions to catch config.getint exceptions. r=dustin on IRC.
| Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 14•14 years ago
|
||
Bustage fix: http://hg.mozilla.org/build/tools/rev/a796ec25efe3
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•