canmove, Confirmed users
6,439
edits
ChrisCooper (talk | contribs) 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 | ||
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot-trunk mozilla/tools/buildbot | |||
cd /tools/buildbot-trunk | |||
cd /tools/buildbot- | |||
PYTHONPATH=.:$PYTHONPATH trial buildbot.test | PYTHONPATH=.:$PYTHONPATH trial buildbot.test | ||
python setup.py install --prefix=/tools/buildbot- | python setup.py install --prefix=/tools/buildbot-trunk | ||
cd /tools; ln -s 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 == | ||
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- | 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" |