ReferencePlatforms/BuildBot/Win32: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (mfc71.dll md5sum)
No edit summary
Line 4: Line 4:
== Prerequisites ==
== Prerequisites ==
* [[ReferencePlatforms/Win32 | Base win32 reference install]]
* [[ReferencePlatforms/Win32 | Base win32 reference install]]
== Install Python ==
 
== 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 [http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi here]
Download and install Python 2.4 from [http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi here]
Install it in "D:\buildtools\python24"
Install it in "D:\buildtools\python24"
  8b1517fdbf287d402ac06cc809abfad6 python-2.4.4.msi
  8b1517fdbf287d402ac06cc809abfad6 python-2.4.4.msi


== Install Python-Twisted ==
=== Install Python-Twisted ===
Download and install Python-Twisted 2.4 from [http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted_NoDocs-2.4.0.win32-py2.4.exe here]. This will also install the Zope-Interface package.
Download and install Python-Twisted 2.4 from [http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted_NoDocs-2.4.0.win32-py2.4.exe here]. This will also install the Zope-Interface package.
  87759eed35ddaed617e128fd6f34ea7c Twisted_NoDocs-2.4.0.win32-py2.4.exe
  87759eed35ddaed617e128fd6f34ea7c Twisted_NoDocs-2.4.0.win32-py2.4.exe


== Install mfc71.dll ==
=== Install mfc71.dll ===
Download and install mfc71.dll from [http://starship.python.net/crew/mhammond/downloads/mfc71.dll here] and put into c:\windows\system32\mfc71.dll. This dll is needed for python on windows.
Download and install mfc71.dll from [http://starship.python.net/crew/mhammond/downloads/mfc71.dll here] and put into c:\windows\system32\mfc71.dll. This dll is needed for python on windows.
  1fd3f9722119bdf7b8cff0ecd1e84ea6 mfc71.dll
  1fd3f9722119bdf7b8cff0ecd1e84ea6 mfc71.dll


== Install Python Win32 extensions ==
=== Install Python Win32 extensions ===
Download and install the Python win32 extensions from [http://superb-west.dl.sourceforge.net/sourceforge/pywin32/pywin32-210.win32-py2.4.exe here]
Download and install the Python win32 extensions from [http://superb-west.dl.sourceforge.net/sourceforge/pywin32/pywin32-210.win32-py2.4.exe here]
  16d8d23fa6653bead0ab4d99b9bbfe23 pywin32-210.win32-py2.4.exe
  16d8d23fa6653bead0ab4d99b9bbfe23 pywin32-210.win32-py2.4.exe


== Add cygwin and Python to the path ==
=== 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"
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 ==
=== Install Buildbot ===
Note: cvs.mozilla.org may need to be cvs-mirror.mozilla.org.
Note: cvs.mozilla.org may need to be cvs-mirror.mozilla.org.
Make sure to use the Win32 Python to install Buildbot.
Make sure to use the Win32 Python to install Buildbot.
Line 38: Line 41:
  @python d:\\buildtools\\python24\\scripts\\buildbot %*
  @python d:\\buildtools\\python24\\scripts\\buildbot %*


== Install the Botrunner script ==
=== 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  
Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!), get the MozBuild and botrunner modules from cvs cd  
Line 47: Line 50:
  cp MozBuild/botrunner.py d:\buildtools\python24\scripts\botrunner.py
  cp MozBuild/botrunner.py d:\buildtools\python24\scripts\botrunner.py


== Starting Buildbot ==
=== Starting Buildbot ===


start a cygwin shell, and do:
start a cygwin shell, and do:
   c:/buildtools/python23/scripts/buildbot start c:/win32-slave1
   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 %*

Revision as of 19:25, 12 September 2007

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.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 %*