ReferencePlatforms/BuildBot/Win32: Difference between revisions
No edit summary |
|||
Line 33: | Line 33: | ||
Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!) run: | Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!) run: | ||
cd /home/cltbld | cd /home/cltbld | ||
cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/buildbot | cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/tools/buildbot | ||
Using cmd.exe DOS prompt (do not use cygwin, you'll get the wrong python!) run: | Using cmd.exe DOS prompt (do not use cygwin, you'll get the wrong python!) run: | ||
cd mozilla/tools/buildbot | cd mozilla/tools/buildbot |
Revision as of 12:35, 3 July 2008
Buildbot Reference Install Instructions - Win32
This document describes how to create a Buildbot reference install on Windows. You will need administrative privileges to complete this install.
Prerequisites
Version 4 and below
This section is for v4 of the ref platform and below. (Generally, FF2/1.8)
Install Python
Download and install Python 2.4 from here Install it in "D:\buildtools\python24"
8b1517fdbf287d402ac06cc809abfad6 python-2.4.4.msi
Install Python-Twisted
Download and install Python-Twisted 2.4 from here. This will also install the Zope-Interface package.
87759eed35ddaed617e128fd6f34ea7c Twisted_NoDocs-2.4.0.win32-py2.4.exe
Install mfc71.dll
Download and install mfc71.dll from here and put into c:\windows\system32\mfc71.dll. This dll is needed for python on windows.
1fd3f9722119bdf7b8cff0ecd1e84ea6 mfc71.dll
Install Python Win32 extensions
Download and install the Python win32 extensions from here
16d8d23fa6653bead0ab4d99b9bbfe23 pywin32-210.win32-py2.4.exe
Add cygwin and Python to the path
Control Panel -> System -> Advanced -> Environment Variables. Find 'PATH' in the list of System variables and append ";d:\buildtools\python24;d:\buildtools\python24\scripts;d:\cygwin\bin;d:\cygwin\usr\bin"
Install Buildbot
Note: cvs.mozilla.org may need to be cvs-mirror.mozilla.org. Make sure to use the Win32 Python to install Buildbot.
Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!) run:
cd /home/cltbld cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/tools/buildbot
Using cmd.exe DOS prompt (do not use cygwin, you'll get the wrong python!) run:
cd mozilla/tools/buildbot python setup.py build python setup.py install
Edit the 'buildbot.bat' file in d:\buildtools\python24\scripts to use the correct location of "buildbot", and to escape each \\ :
@python d:\\buildtools\\python24\\scripts\\buildbot %*
Install the Botrunner script
Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!), get the MozBuild and botrunner modules from cvs cd
cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/MozBuild cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/botrunner.py
Using cmd.exe DOS prompt (do not use cygwin)
cp MozBuild/Util.py d:\buildtools\python24\Lib\site-packages cp MozBuild/botrunner.py d:\buildtools\python24\scripts\botrunner.py
Starting Buildbot
start a cygwin shell, and do:
c:/buildtools/python23/scripts/buildbot start c:/win32-slave1
Version 5
This section is for v5 of the ref platform. (Generally, FF3/1.9)
Add Python to the path
Control Panel -> System -> Advanced -> Environment Variables. Add a new user variable called 'PATH' (This PATH will be used in addition to the System PATH variable). Give it the following value:
d:\buildbot\python24;d:\buildbot\python24\scripts
Install Buildbot
Note: cvs.mozilla.org may need to be cvs-mirror.mozilla.org. Make sure to use the Win32 Python to install Buildbot.
Run:
cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/buildbot cd mozilla/tools/buildbot python setup.py build python setup.py install
Edit the 'buildbot.bat' file in d:\buildbot\python24\scripts to use the correct path:
@python d:\\buildbot\\python24\\scripts\\buildbot %*