ReferencePlatforms/BuildBot/Win32: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 26: Line 26:
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.
  cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/buildbot
  cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co buildbot-trunk mozilla/tools/buildbot
  cd mozilla/tools/buildbot
  cd mozilla/tools/buildbot
  python setup.py build
  python setup.py build
  python setup.py install
  python setup.py install
Edit the 'buildbot.bat' file in d:\buildtools\python24\scripts:
Edit the 'buildbot.bat' file in c:\buildtools\python24\scripts:
  @python d:\buildtools\python24\scripts\buildbot %*
  @python c:\buildtools\python24\scripts\buildbot %*


== Install the Botrunner script ==
== Install the Botrunner script ==

Revision as of 22:53, 23 July 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

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.

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 "c:\cygwin\bin;c:\cygwin\usr\bin;c:\buildtools\python24;c:\buildtools\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.

cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co buildbot-trunk mozilla/tools/buildbot
cd mozilla/tools/buildbot
python setup.py build
python setup.py install

Edit the 'buildbot.bat' file in c:\buildtools\python24\scripts:

@python c:\buildtools\python24\scripts\buildbot %*

Install the Botrunner script

First, get the MozBuild module and put it in d:\buildtools\python24\Lib\site-packages

cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/MozBuild

Now get the botrunner script and put it in d:\buildtools\python24\scripts

cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/botrunner.py