Skip to content
Nick Bolton edited this page Dec 1, 2015 · 1 revision

Table of Contents

Testing

After changing the build environment, test packages on Supported Systems.

Public access

Installing

We use buildbot for our build machines. After the nightly build, the build machines must upload their packages to the packages mirror. All releases must be taken from this location; never release a build from a developer machine.

Mac OS X (10.8)

Install using MacPorts.

sudo port install buildbot-slave

Windows XP 32-bit

Download and install:

Append to the PATH environment variable:
;C:\Python27;C:\Python27\Scripts

Then download and extract buildbot-0.8.0.zip, and run:

python setup.py build
python setup.py install

Finally, setup the slave:

mkdir C:\Buildbot
cd C:\Buildbot

Ubuntu 10.04

apt-get install buildbot

Fedora 20 (future use)

sudo yum install buildbot-slave

CentOS 6.0

Run all commands as root. First, install prerequisites (maybe this is not needed):

yum install python-devel python-crypto pyOpenSSL zope

Install Twisted:

wget http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/Twisted-8.1.0.tar.bz2
tar jxvf Twisted-8.1.0.tar.bz2
cd Twisted-8.1.0
python setup.py install

Install zope.interface:

wget http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.6.1.tar.gz#md5=7a895181b8d10be4a7e9a3afa13cd3be
tar xfvz zope.interface-3.6.1.tar.gz
cd zope.interface-3.6.1
python setup.py install

Install Buildbot:

wget http://pypi.python.org/packages/source/b/buildbot-slave/buildbot-slave-0.8.3.tar.gz#md5=cb9d9d0c2d925e51bb3c8d62083d77a7
tar xvfz buildbot-slave-0.8.3.tar.gz
cd buildbot-slave-0.8.3
python setup.py install

Running

buildbot create-slave synergy buildbot.synergy-project.org:9989 <bot-name> <bot-password>
buildbot start synergy

Alternatively, if running this after the Buildbot binary split, you may need to use buildslave instead:

buildslave create-slave synergy buildbot.synergy-project.org:9989 <bot-name> <bot-password>
buildslave start synergy

Startup

Mac OS X

Add the following .plist to: ~/Library/LaunchAgents/

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>buildslave</string>
	<key>ProgramArguments</key>
	<array>
		<string>/opt/local/bin/buildslave</string>
		<string>start</string>
		<string>/path/to/buildbot/synergy</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>

Run this command to load the .plist (run as normal user).

launchctl load ~/Library/LaunchAgents/buildslave.plist
Clone this wiki locally