ReferencePlatforms/BuildBot: Difference between revisions

updated buildbot to use trunk on mozilla cvs
No edit summary
(updated buildbot to use trunk on mozilla cvs)
Line 38: Line 38:
  export PATH="/tools/twisted/bin:/tools/twisted-core/bin:$PATH"
  export PATH="/tools/twisted/bin:/tools/twisted-core/bin:$PATH"
  cd /tools
  cd /tools
  wget "http://downloads.sourceforge.net/buildbot/buildbot-0.7.5.tar.gz?modtime=1165787309&big_mirror=0"
  cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot-trunk mozilla/tools/buildbot
tar xfvz buildbot-0.7.5.tar.gz
  cd /tools/buildbot-trunk
  cd /tools/buildbot-0.7.5
  PYTHONPATH=.:$PYTHONPATH trial buildbot.test
  PYTHONPATH=.:$PYTHONPATH trial buildbot.test
  python setup.py install --prefix=/tools/buildbot-0.7.5
  python setup.py install --prefix=/tools/buildbot-trunk
  cd /tools; ln -s buildbot-0.7.5 buildbot
cd /tools/dist
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d botrunner mozilla/tools/botrunner.py
cp botrunner/botrunner.py /tools/buildbot-trunk/bin/
rm -rf botrunner/
  cd /tools; ln -s buildbot-trunk buildbot
 
== Create the Buildbot User ==
useradd -m buildbot
passwd buildbot


== Final Configuration ==
== Final Configuration ==


Put this in your Build Bot accounts' .bash_profile:
Add the appropriate paths to the Buildbot user's .bash_profile
 
  echo 'export PYTHONHOME="/tools/python"' >> ~buildbot/.bash_profile
  export PYTHONHOME="/tools/python"
  echo 'export PYTHONPATH="/tools/buildbot/lib/python2.5/site-packages:/tools/twisted/lib/python2.5/site-packages:/tools/twisted-corelib/python2.5/site-packages/:/tools/zope-interface/lib/python2.5/site-packages/"' >> ~buildbot/.bash_profile
  export PYTHONPATH="/tools/buildbot/lib/python2.5/site-packages:/tools/twisted/lib/python2.5/site-packages:/tools/twisted-core/lib/python2.5/site-packages/:/tools/zope-interface/lib/python2.5/site-packages/"
  echo 'export PATH="/tools/buildbot/bin:/tools/twisted/bin:/tools/twisted-core/bin:$PYTHONHOME/bin:$PATH"' >> ~buildbot/.bash_profile
  export PATH="/tools/buildbot/bin:/tools/twisted/bin:/tools/twisted-core/bin:$PYTHONHOME/bin:$PATH"
canmove, Confirmed users
6,439

edits