ReferencePlatforms/BuildBot
Jump to navigation
Jump to search
Build Bot Reference Installation Instructions
These were the steps used to deploy a test build bot master/slave on Linux; we're evaluating build bot for certain tasks, the below configuration is subject to change.
Initial Setup Steps
export PYTHONHOME="/tools/python" export PATH="/tools/python/bin:$PATH"
Installing Zope Interface
cd /tools/dist/ wget http://www.zope.org/Products/ZopeInterface/3.3.0/zope.interface-3.3.0.tar.gz tar xfvz zope.interface-3.3.0.tar.gz cd zope.interface-3.3.0/ python setup.py install --prefix=/tools/zope-interface-3.3.0 cd /tools; ln -s zope-interface-3.3.0/ zope-interface export PYTHONPATH="/tools/zope-interface/lib/python2.4/site-packages/:$PYTHONPATH"
Installing Twisted
cd /tools/dist/ wget http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/TwistedCore-2.4.0.tar.bz2 wget http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2 tar xfvj TwistedCore-2.4.0.tar.bz2 tar xfvj Twisted-2.4.0.tar.bz2 cd TwistedCore-2.4.0 python setup.py install --prefix=/tools/twisted-core-2.4.0 pushd /tools/; ln -s twisted-core-2.4.0/ twisted-core; popd export PYTHONPATH="/tools/twisted-core/lib/python2.4/site-packages:$PYTHONPATH" cd /tools/dist/Twisted-2.4.0/ python setup.py install --prefix=/tools/twisted-2.4.0 cd /tools; ln -s twisted-2.4.0 twisted export PYTHONPATH="/tools/twisted/lib/python2.4/site-packages/:$PYTHONPATH" export PATH="/tools/twisted/bin:$PATH"
Installing BuildBot
export PATH="/tools/twisted/bin:/tools/twisted-core/bin:$PATH" cd /tools wget "http://downloads.sourceforge.net/buildbot/buildbot-0.7.5.tar.gz?modtime=1165787309&big_mirror=0" tar xfvz buildbot-0.7.5.tar.gz PYTHONPATH=.:$PYTHONPATH trial buildbot.test python setup.py install --prefix=/tools/buildbot-0.7.5 cd /tools; ln -s buildbot-0.7.5 buildbot
Final Configuration
Put this in your Build Bot accounts' .bash_profile:
export PYTHONHOME="/tools/python" export PYTHONPATH="/tools/buildbot/lib/python2.4/site-packages:/tools/twisted/lib/python2.4/site-packages:/tools/twisted-core/lib/python2.4/site-packages/:/tools/zope-interface/lib/python2.4/site-packages/" export PATH="/tools/buildbot/bin:/tools/twisted/bin:/tools/twisted-core/bin:$PYTHONHOME/bin:$PATH"