How to create new OSGeo BuildBot instance

From OSGeo
Revision as of 16:34, 30 September 2006 by Wiki-Mloskot (talk | contribs) (First draft of this HOWTO)
Jump to navigation Jump to search

Draft

NOTE: This is a very first draft of the How-To Create BuildBot Instance


Prerequisites

First, it's very important to read the BuildBot Configuration document.

Create BuildBot instance step-by-step

0. Assign new instance id: 0 - 99

1. Log into the buildbot@xblade

2. Go do OSGEOBUILDHOME

3. Creating new BuildBot instance directory for project

mkdir <projectname>

lowercase

4. Create directory for buildmaster:

mkdir buildmaster

5. Create directory for buildslave:

mkdir buildslave

6. Run buildbot to create buildmaster

buildbot create-master ${OSGEOBUILDHOME}/<projectname>/buildmaster

7. Run buildbot to create buildslave

buildbot create-slave ${OSGEOBUILDHOME}/<projectname>/buildslave MASTERHOST:PORT SLAVENAME PASSWORD

PORT: 15XX where XX is subsequent number of BuildBot instance (between 0-99) SLAVENAME: osgeo-<projectname> PASSWORD: <new password>

8. Copy README and edit it.

9. Edit master.cfg (!!!!!)

10. Try to run:

  • Start
$OSGEOBUILDHOME/buildbot_start.sh <projectname>
  • Stop
$OSGEOBUILDHOME/buildbot_stop.sh <projectname>