Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by JustinMason] update for buildbot 0.7.5 and current situation

...

We currently have build slaves building

  • trunk using Red Hat 7.3's perl
  • trunk using vanilla perl 5.6.1
  • trunk using vanilla perl 5.8.5 with threading
  • trunk using Solaris 10 with perl 5.6.1 and perl 5.8.5

...


If you fancy it, and are running an OS different from the above, it might be worthwhile setting up a build slave to extend this... non-linux Solaris platforms especially would be great. "make test" needs to be passing on this platform, though, as otherwise we'll be bombarded with "test failure" messages, even if the tree builds on other OSes.

...

Commands To Set Up a BuildBot Slave

Install Twisted 1. 3.0. This step can be omitted if you already have it, or just use "sudo apt-get install twisted" if you're on debian unstable or "make install" from the FreeBSD port.

Note that you also need python 2.2 or later installed.

No Format

wget http://twistedmatrix.com/downloads/Twisted_NoDocs-1.3.0.tar.bz2
bunzip2 -cd < Twisted_NoDocs-12.3.0.tar.bz2 | tar xvf -
cd Twisted-1.3.0 N ; sudo python setup.py install
cd ..

Next, install BuildBot itself:

No Format
wget http://internap.dl.sourceforge.net/sourceforge/buildbot/buildbot-0.6.1.tar.gz
tar xvfz buildbot-0.67.15.tar.gz
cd buildbot-0.67.15 ; sudo python setup.py install

...

No Format
PASSWORD=[password]
NAME=t-sol10-561

sudo mkdir -p /home/buildbot/slaves/$NAME
sudo chown buildbot /home/buildbot/slaves/$NAME

cd /home/buildbot/slaves/$NAME
sudo su buildbot -c \
   "buildbot create-slave --usepty=0 \
      "mktap buildbot slave --basedir /home/buildbot/slaves/$NAME \
         --master buildbot.spamassassin.org:9989 --name $NAME \
         --passwd $PASSWORD --usepty=0"

on the zone:

No Format
echo $PASSWORD > $HOME/pwd
sudo mv $HOME/pwd /home/buildbot/pwds/$NAME
sudo chown buildbot /home/buildbot/pwds/$NAME
sudo chmod 600 /home/buildbot/pwds/$NAME

sudo vi /home/buildbot/bots/buildbot/master.cfg

        [add new lines/entries for $NAME]
        [ensure you update 'schedulers' too!]

sudo vi /etc/init.d/buildbot 

        [add new lines/entries for $NAME, if it's running on the zone]

...