My favorites | Sign in
Project Logo
                
Search
for
Updated Nov 24, 2008 by cahadras
Labels: slave
AddNewBuildBot  
How to add a new bot

Introduction

There is a number of things that you need to do to add a new build slave. Slightly fuller/alternative instructions are available from AddNewBuildBotMacOSX.

You will need the following prerequisites:

  • a working build environment for OpenOffice.org. Please make sure that you have already managed to built OpenOffice.org on the machine that you want to put the bot on. See http://wiki.services.openoffice.org/ for build instructions.
  • python 2.4 or later (Use python -V to get the python version number)
  • twisted 2.4 or later (most OSs provide this as package, e.g. python-twisted or SUNWpython-twisted)
  • perl (and the following modules: LWP::Simple, File::Copy::Recursive, Config::Auto which can be installed from CPAN)
  • sudo perl -MCPAN -e shell
    install LWP::Simple
    install File::Copy::Recursive
    install Config::Auto
    exit
  • bash
  • subversion (for the buildbot scripts and DEV300 codeline)
  • cvs (for OpenOffice.org 3.0 source)

Details

  1. Grab a copy of Buildbot 0.7.9
  2. Unpack the source
  3. Build the buildbot the buildbot manual
  4. Create the build-slave
  5. buildbot create-slave BASEDIR termite.go-oo.org:9999 SLAVENAME PASSWORD
This will create a Build Slave Basedir and the important buildbot.tac file.
  1. Grab the scripts from svn directly in to the BASEDIR
  2. svn checkout http://ootermite.googlecode.com/svn/trunk/buildbot/buildslave/scripts/ BASEDIR
  3. Edit the info/admin and info/host files to contain information about yourself/host
  4. Customise the scripts for your platform
  5. Create a build_copy dir (used by buildprep) with things you wish to be copied into the source tree after checkout and before configure (such as moz)
  6. Email Christian Lins <christian.lins@sun.com> (or mikeleib or shaunmcdonald) the name and password to add your bot to the master
  7. Start your bot
  8. buildbot start BASEDIR
  9. It should show up as online at http://termite.go-oo.org/ and you should be able to manually submit builds to it.

Sign in to add a comment
Hosted by Google Code