Closed Bug 639566 Opened 13 years ago Closed 13 years ago

Pre-production releases should clobber slave build dirs every time

Categories

(Release Engineering :: General, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

References

Details

Attachments

(3 files, 1 obsolete file)

      No description provided.
Attached patch preproduction clobberer (obsolete) — Splinter Review
We can use a fake clobberer for pre-production installed to http://build.mozilla.org/preproduction-clobberer/index.php (per http://hg.mozilla.org/build/buildbot-configs/file/99babd90b663/mozilla/preproduction_config.py#l40) which always returns now-1h (to be safe) for every request.
Attachment #519387 - Flags: review?(bhearsum)
Priority: P3 → P2
Comment on attachment 519387 [details] [diff] [review]
preproduction clobberer

Can we make this not preproduction-specific? Eg, call it something like always_clobber.php, and change the reason.
Attachment #519387 - Attachment is obsolete: true
Attachment #519387 - Flags: review?(bhearsum)
Attachment #519394 - Flags: review?(bhearsum)
Attachment #519394 - Flags: review?(bhearsum) → review+
# raliiev@dm-wwwbuild01
mkdir -p /var/www/html/build/preproduction-clobberer
wget http://hg.mozilla.org/build/tools/raw-file/tip/clobberer/always_clobber.php -O /var/www/html/build/preproduction-clobberer/index.php

https://build.mozilla.org/preproduction-clobberer/index.php?builddir=tmp returns 
tmp:1303114018:clobber_always 
which looks fine.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Wrong logic, the time stamp should be in the future.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #528702 - Flags: review?(catlee)
Comment on attachment 528702 [details] [diff] [review]
always_clobber.diff

rename to $the_future or something else, and you're good to go
Attachment #528702 - Flags: review?(catlee) → review+
Deployed on b.m.o
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
(In reply to comment #8)
> rename to $the_future or something else, and you're good to go

Rail, looks like this got missed. Could you follow up ?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #536534 - Flags: review?(catlee)
Attachment #536534 - Flags: review?(catlee) → review+
Comment on attachment 536534 [details] [diff] [review]
:%s/an_hour_ago/the_future/g

http://hg.mozilla.org/build/tools/rev/8163df40bc3a
Attachment #536534 - Flags: checked-in+
# @ build.mozilla.org:
cd /var/www/html/build/preproduction-clobberer
wget http://hg.mozilla.org/build/tools/raw-file/8163df40bc3a/clobberer/always_clobber.php -O index.php
chmod 664 index.php
Status: REOPENED → RESOLVED
Closed: 13 years ago13 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.

Attachment

General

Created:
Updated:
Size: