Build:Release Automation:Trunk: Difference between revisions

Line 1: Line 1:
= Release Automation on Trunk =
= Release Automation on Trunk =
Items with a <strike>strikethrough</strike> have been fixed in the staging setup.
Items with a <strike>strikethrough</strike> have been fixed in the staging setup.
== How to run the production slaves using the staging mirrors ==
In order to test the tinderbox and other setup of the production slaves it is sometimes necessary to run them without touching the production servers (eg, cvs.m.o, stage.m.o, etc). Here's how:
<ol>
<li>Copy the staging bootstrap.cfg to the /builds/buildbot/trunk-automation-master/bootstrap.cfg on production-trunk-automation.</li>
<li>Manually sync the staging-trunk-automation cvsmirror to a clean state (trailing slashes are important!):</li>
rsync -av /builds/cvsmirror.clean/cvsroot/ /builds/cvsmirror/cvsroot/
rsync -av /builds/cvsmirror.clean/l10n/ /builds/cvsmirror/l10n/
rsync -av /builds/cvsmirror.clean/mofo/ /builds/cvsmirror/mofo/
<li>Manually clean-up staging-trunk-automation and fx-linux-1.9-slave1:
On staging-trunk-automation:</li>
rm -rf /builds/config/* /builds/tags/* /builds/release/logs/* /builds/updates/* /builds/verify/* /home/ftp/pub/firefox/nightly/2007* /home/ftp/pub/firefox/nightly/3.0b2-candidates /data/cltbld/firefox-3.0b2
On fx-linux-1.9-slave1:
rm -rf /home/ftp/pub/firefox/nightly/2007* /home/ftp/pub/firefox/nightly/3.0b2-candidates /data/cltbld/firefox-3.0b2
<li>Comment out the "clean staging area" and "create staging area" BuildSteps on production-trunk-automation's master.cfg.</li>
</ol>
At this point you should be able to start a run on production-trunk-automation that doesn't touch any production servers.
== General Notes ==
== General Notes ==
* '''There is a set of patches in ~cltbld/local-patches that must be applied to the /builds/cvsmirror.clean whenever it is updated from the main CVS mirror'''
* '''There is a set of patches in ~cltbld/local-patches that must be applied to the /builds/cvsmirror.clean whenever it is updated from the main CVS mirror'''
canmove, Confirmed users
6,439

edits