ReleaseEngineering/How To/Setup a buildbot master: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "* Create a new directory for your master, e.g. /builds/buildbot/mymaster")
 
No edit summary
Line 1: Line 1:
* Create a new directory for your master, e.g. /builds/buildbot/mymaster
* Create a new directory for your master, e.g. /builds/buildbot/mymaster
* Create a virtual environment for your master
<pre>
virtualenv --distribute --no-site-packages -p /tools/python-2.6.5/bin/python /builds/buildbot/mymaster
</pre>
* Install required packages
<pre>
pip install simplejson
pip install mysql-python
pip install Twisted==10.1.0
pip install nose
pip install sqlalchemy
pip install argparse
pip install pycrypto
pip install pyasn1
pip install mysql-python
pip install pyopenssl==0.10
pip install http://hg.mozilla.org/users/clegnitto_mozilla.com/mozillapulse/archive/tip.tar.bz2
hg clone http://hg.mozilla.org/build/buildbot
(cd buildbot/master; $PYTHON setup.py develop install)
(cd buildbot/slave; $PYTHON setup.py develop install)
hg clone -b production-0.8 http://hg.mozilla.org/build/buildbotcustom
hg clone -b production http://hg.mozilla.org/build/buildbot-configs
hg clone http://hg.mozilla.org/build/tools
</pre>

Revision as of 05:30, 8 March 2011

  • Create a new directory for your master, e.g. /builds/buildbot/mymaster
  • Create a virtual environment for your master
virtualenv --distribute --no-site-packages -p /tools/python-2.6.5/bin/python /builds/buildbot/mymaster
  • Install required packages
pip install simplejson
pip install mysql-python
pip install Twisted==10.1.0
pip install nose
pip install sqlalchemy
pip install argparse
pip install pycrypto
pip install pyasn1
pip install mysql-python
pip install pyopenssl==0.10
pip install http://hg.mozilla.org/users/clegnitto_mozilla.com/mozillapulse/archive/tip.tar.bz2
hg clone http://hg.mozilla.org/build/buildbot
(cd buildbot/master; $PYTHON setup.py develop install)
(cd buildbot/slave; $PYTHON setup.py develop install)
hg clone -b production-0.8 http://hg.mozilla.org/build/buildbotcustom
hg clone -b production http://hg.mozilla.org/build/buildbot-configs
hg clone http://hg.mozilla.org/build/tools