canmove, Confirmed users
6,439
edits
No edit summary |
|||
Line 1: | Line 1: | ||
= BuildBot Reference Installation Instructions = | = BuildBot Reference Installation Instructions = | ||
== Steps already completed on the CentOS 5 Image == | |||
These were the steps used to deploy a test BuildBot master/slave on Linux; we're evaluating BuildBot for certain tasks, the below configuration is subject to change. | These were the steps used to deploy a test BuildBot master/slave on Linux; we're evaluating BuildBot for certain tasks, the below configuration is subject to change. | ||
Line 6: | Line 6: | ||
[http://wiki.mozilla.org/ReferencePlatforms/BuildBot/MacOSX MacOSX specific instructions] | [http://wiki.mozilla.org/ReferencePlatforms/BuildBot/MacOSX MacOSX specific instructions] | ||
== Make directories == | === Make directories === | ||
mkdir -p /tools/dist/logs | mkdir -p /tools/dist/logs | ||
mkdir -p /builds/logs | mkdir -p /builds/logs | ||
== Install python == | === Install python === | ||
http://wiki.mozilla.org/ReferencePlatforms/Linux#Build_Python_2.5 | http://wiki.mozilla.org/ReferencePlatforms/Linux#Build_Python_2.5 | ||
== Initial Setup Steps == | === Initial Setup Steps === | ||
export PYTHONHOME="/tools/python" | export PYTHONHOME="/tools/python" | ||
export PATH="/tools/python/bin:$PATH" | export PATH="/tools/python/bin:$PATH" | ||
== Installing Zope Interface == | === Installing Zope Interface === | ||
cd /tools/dist/ | cd /tools/dist/ | ||
Line 28: | Line 28: | ||
export PYTHONPATH="/tools/zope-interface/lib/python2.5/site-packages/:$PYTHONPATH" | export PYTHONPATH="/tools/zope-interface/lib/python2.5/site-packages/:$PYTHONPATH" | ||
== Installing Twisted == | === Installing Twisted === | ||
cd /tools/dist/ | cd /tools/dist/ | ||
Line 44: | Line 44: | ||
export PYTHONPATH="/tools/twisted/lib/python2.5/site-packages/:$PYTHONPATH" | export PYTHONPATH="/tools/twisted/lib/python2.5/site-packages/:$PYTHONPATH" | ||
== Installing BuildBot == | == Steps to be completed on a fresh VM == | ||
=== Installing BuildBot === | |||
export PATH="/tools/twisted/bin:/tools/twisted-core/bin:$PATH" | export PATH="/tools/twisted/bin:/tools/twisted-core/bin:$PATH" | ||
Line 58: | Line 60: | ||
cd /tools; ln -s buildbot-trunk buildbot | cd /tools; ln -s buildbot-trunk buildbot | ||
== Create the Buildbot User == | === Create the Buildbot User === | ||
(...or you could use an existing account if you prefer) | (...or you could use an existing account if you prefer) | ||
useradd -m buildbot | useradd -m buildbot | ||
passwd buildbot | passwd buildbot | ||
== Final Configuration == | === Final Configuration === | ||
Add the appropriate paths to the Buildbot user's .bash_profile | Add the appropriate paths to the Buildbot user's .bash_profile |