Difference between revisions of "How to create new OSGeo BuildBot instance"

From OSGeo
Jump to navigation Jump to search
(First draft of this HOWTO)
 
(First draft of this HOWTO)
Line 4: Line 4:
  
 
----
 
----
 +
 +
= 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
 
0. Assign new instance id: 0 - 99
Line 11: Line 18:
 
2. Go do OSGEOBUILDHOME
 
2. Go do OSGEOBUILDHOME
  
3. Create new BuildBot instance directory for project  
+
3. Creating new BuildBot instance directory for project  
  
 
mkdir <projectname>
 
mkdir <projectname>

Revision as of 17:34, 30 September 2006

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>