|
|
Line 582: |
Line 582: |
|
| |
|
| Subsequent attempts to sync up should succeed now. You can watch /var/log/messages to verify, if you want. | | Subsequent attempts to sync up should succeed now. You can watch /var/log/messages to verify, if you want. |
|
| |
| == Installing BuildBot ==
| |
|
| |
| Because our Buildbot code changes fairly regularly we don't keep a copy of it on the VM.
| |
| (as root)
| |
| export PYTHONPATH=".:/tools/zope-interface/lib/python2.5/site-packages/:/tools/twisted-core/lib/python2.5/site-packages:/tools/twisted/lib/python2.5/site-packages/:$PYTHONPATH"
| |
| export PYTHONHOME="/tools/python"
| |
| export PATH="/tools/python/bin:/tools/twisted/bin:/tools/twisted-core/bin:$PATH"
| |
| cd /tools
| |
| hg clone http://hg.mozilla.org/build/buildbot
| |
| cd /tools/buildbot
| |
| hg up -r BUILDBOT_PRODUCTION
| |
| python setup.py install --prefix=/tools/buildbot
| |
| # buildbotcustom is only required if you're running a Buildbot master
| |
| cd /tools
| |
| mkdir buildbotcustom
| |
| cd buildbotcustom
| |
| hg clone http://hg.mozilla.org/build/buildbotcustom
| |
|
| |
| When you create the slave, be sure to set
| |
| umask = 002
| |
| keepalive = None
| |
| usepty = 1
| |
| in the buildbot.tac and restart it (otherwise we'll start pushing update snippets around with mode 600, time out from a busy master, and fail to clean up unit test failures).
| |
|
| |
| == To build mozilla ==
| |
|
| |
| The mozconfig for building mozilla should contain the following settings:
| |
|
| |
| CC=/tools/gcc/bin/gcc
| |
| CXX=/tools/gcc/bin/g++
| |
|
| |
|
| == switchover from staging to production == | | == switchover from staging to production == |