Closed Bug 793087 Opened 12 years ago Closed 12 years ago

Use mozilla-central bundle to speed up hg share bootstrapping for try

Categories

(Release Engineering :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: rail)

References

Details

Attachments

(3 files)

catlee sketched this out on IRC. In
  http://ftp.mozilla.org/pub/mozilla.org/firefox/bundles/
we symlink mozilla-central.hg to try.hg, and comm-central.hg to try-comm-central.hg. Then in TryBuildFactory we remove the bundles=[] hardcode in
 http://hg.mozilla.org/build/buildbotcustom/file/default/process/factory.py#l1997

Then new slaves will first grab a the bundle which is pretty close and we save the hg servers a big headache. Even if it's a week old is much better than cloning from scratch.
Component: Release Engineering: Automation (Release Automation) → Release Engineering: Automation (General)
QA Contact: release → catlee
Assignee: nobody → rail
Symlinks to be created on ftp
Attachment #663418 - Flags: review?(catlee)
Comment on attachment 663418 [details] [diff] [review]
use bundles for try

Review of attachment 663418 [details] [diff] [review]:
-----------------------------------------------------------------

don't forget on dev-stage01 as well
Attachment #663418 - Flags: review?(catlee) → review+
# ffxbld@stage and dev-stage01
 cd /pub/mozilla.org/firefox/bundles/
 ln -s mozilla-central.hg try.hg
# tbirdbld@stage (no such directory on dev-stage01)
 cd /pub/mozilla.org/thunderbird/bundles/
 ln -s comm-central.hg try-comm-central.hg
looks like working:

python /builds/slave/try-lnx/tools/buildfarm/utils/retry.py -s 1 -r 5 -t 3660 python /builds/slave/try-lnx/tools/buildfarm/utils/hgtool.py --clone-by-revision --mirror http://hg-internal.dmz.scl3.mozilla.com/try --bundle http://ftp.mozilla.org/pub/mozilla.org/firefox/bundles/try.hg http://hg.mozilla.org/try build
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
(In reply to Rail Aliiev [:rail] from comment #5)
Mayeb worth capturing in puppet ?
(In reply to Nick Thomas [:nthomas] from comment #7)
> (In reply to Rail Aliiev [:rail] from comment #5)
> Mayeb worth capturing in puppet ?

yeah, this a good idea.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch puppet-manifestsSplinter Review
for dev-stage01
Attachment #665083 - Flags: review?(catlee)
for stage
Attachment #665085 - Flags: review?(nthomas)
Comment on attachment 665085 [details] [diff] [review]
[svn] productdelivery

Making these relative links is more tolerant of rearranging of mounts or prefixes in the future, r+ with that.
Attachment #665085 - Flags: review?(nthomas) → review+
Attachment #665083 - Flags: review?(catlee) → review+
Comment on attachment 665085 [details] [diff] [review]
[svn] productdelivery

svn commit -m "Bug 793087 - Use mozilla-central bundle to speed up hg share bootstrapping for try. r=nthomas"
Sending        manifests/ftp.pp
Transmitting file data .
Committed revision 48776.
Attachment #665085 - Flags: checked-in+
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: