Dashboard > HOW-TOS > Setup a Buildbot Client
HOW-TOS Log In   View a printable version of the current page.
Setup a Buildbot Client
Added by Brandon Philips, last edited by Brandon Philips on May 12, 2005  (view change)
Labels: 
(None)

Warning

Highly recommended to run as a user with no privileges, I chose to use "buildbot" as my user

Install Cogito

README

Gentoo Users

ACCEPT_KEYWORDS="~x86" emerge =dev-util/cogito-0.10

Everyone Else

  • Grab the pre-requisites for Cogito
    • bash, basic shell environment (sed, grep, textutils, ...)
    • diff, patch, RCS (the merge program from this package)
    • mktemp 1.5+ (Mandrake users beware!)
    • libssl
    • rsync
    • libcurl

RCS is probably the only one that most systems don't have installed by default

  • Download cogito-0.10
  • extract, cd, make
  • apply patch so that it installs in /usr/bin/ OR add the current cogito path to the PATH of the user that will be running the builds
    • `make install` if you took the patch route

Get Buildbot Client Library

Requires

twisted 1.3.0
Gentoo

ACCEPT_KEYWORDS="~x86" emerge =dev-python/twisted-1.3.0

Debian

apt-get install twisted

Checkout

cg-clone http://ifup.org/~philips/buildbot.git/
cd buildbot.git
PYTHONPATH=. trial -v buildbot.test # if this fails then something is wrong w/ python
sudo python ./setup.py install

apt-get python2.3-dev on debian

You can remove buildbot.git if you want after the install is complete

Create a client install

WORKDIR the directory where buildbot will make it checkouts
MASTERHOST the dnsname of the master buildbot server
PORT usually 9989 referred to as the slave port
SLAVENAME the name that the master will know this host by
PASSWORD the password that will authorize the master to run commands should not be the users ssh password

buildbot slave WORKDIR MASTERHOST:PORT SLAVENAME PASSWORD

Contact Admin of Master Box

Send the admin of the master box your slave name and password, and you will be good to go.

If you want to build a specific tree let him know.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators