Difference between revisions of "Hera Try Server Setup"
(Buildmaster, note 2 for Buildslave and packages for linux) |
|||
Line 19: | Line 19: | ||
* '''TODO''' | * '''TODO''' | ||
+ | * The master.cfg for Buildbot will be a mixture of these two buildbot-configs ([http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/tryserver/ TryServer buildbot-config] and [http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/ Testing buildbot-config]) but we will end up having to customise it to our Hera farm | ||
== BuildSlaves == | == BuildSlaves == | ||
* '''NOTE:''' slaves need to be able to talk to the Try-Server (i.e., web server) to push finished builds back. | * '''NOTE:''' slaves need to be able to talk to the Try-Server (i.e., web server) to push finished builds back. | ||
+ | * '''NOTE2:''' slaves will have to be able to checkout the latest source code, either from the CVS-mirror that we set up or from Mozilla CVS repository | ||
=== Linux (CentOS 5) === | === Linux (CentOS 5) === | ||
Line 52: | Line 54: | ||
python setup.py build | python setup.py build | ||
python setup.py install | python setup.py install | ||
+ | |||
+ | |||
+ | === Packages === | ||
+ | I don't know if it applies tp write this in here, but to build Mozilla on Linux (Ubuntu 7.1) I had to get these packages: | ||
+ | * apt-get build-dep firefox | ||
+ | * apt-get install build-essential | ||
+ | * apt-get install dbus-glib-1-dev | ||
+ | * apt-get install libcurl3-dev |
Revision as of 09:45, 22 January 2008
DRAFT
This is the configuration of the http://hera.senecac.on.ca buildbot try server.
Contents
Front Node
CVS-Mirror
This is necessary for the buildslaves inside hera, but also for Seneca developers (e.g., getting code in a lab is slow now) -- so make this accessible (i.e, hera.senecac.on.ca:2401) for Seneca IPs if you don't want it to be public, otherwise make it public. See http://wiki.mozilla.org/How_to_Create_a_CVS_Mirror
Try-Server
- CentOS + LAMP (which DB do you want? versions?)
- TODO -- clarify what we need from http://mxr.mozilla.org/seamonkey/source/tools/buildbot/buildbot/
- Try-Server web interface requires the REMOTE_USER to be set. We'd like to use .htaccess to manage vs. logins on the box
Buildmaster
- TODO
- The master.cfg for Buildbot will be a mixture of these two buildbot-configs (TryServer buildbot-config and Testing buildbot-config) but we will end up having to customise it to our Hera farm
BuildSlaves
- NOTE: slaves need to be able to talk to the Try-Server (i.e., web server) to push finished builds back.
- NOTE2: slaves will have to be able to checkout the latest source code, either from the CVS-mirror that we set up or from Mozilla CVS repository
Linux (CentOS 5)
- Setup Build Environment - see version info at http://wiki.mozilla.org/ReferencePlatforms/Linux-CentOS-5.0
- Setup Buildbot - see http://wiki.mozilla.org/ReferencePlatforms/BuildBot/Linux
Windows (Server 2003)
- Windows Server 2003 (or XP if you can't do 2003)
- Visual Studio 2005 (just C++) or grab the free one and add the Platform SDK manually. See: http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#Software_Requirements
- Install Python http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi
- Add Python to the system path
- Install Python-Twisted library http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted_NoDocs-2.4.0.win32-py2.4.exe
- Install pywin32 extensions http://superb-west.dl.sourceforge.net/sourceforge/pywin32/pywin32-210.win32-py2.4.exe
- Get and Build/Install buildbot:
cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/buildbot cd mozilla/tools/buildbot python setup.py build python setup.py install
Packages
I don't know if it applies tp write this in here, but to build Mozilla on Linux (Ubuntu 7.1) I had to get these packages:
- apt-get build-dep firefox
- apt-get install build-essential
- apt-get install dbus-glib-1-dev
- apt-get install libcurl3-dev