[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: New buildbot slave - Centos

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: Fri, 13 Nov 2009 19:17:36 +0100

On Fri, Nov 13, 2009 at 6:44 PM, Julian Foad <julian.foad_at_wandisco.com> wrote:
> Hi Lieven or others.
> Dave Brown and I have been setting up a buildbot slave. Please could you
> help us to link it to the master.

Woehoe! :)

> I'm not sure how we'll connect to the machine, because it's currently on
> a VPN network.

Buildbot uses a client-server architecture, so it's the slaves that
connect to the master server. Over that connection the master will
send instructions to the slave. Those instructions are defined in the
master.cfg file, which you can find in the svn repository.

> Perhaps you can tell us what to do with the scripts. I have attached a
> first cut. I don't know if they are supposed to live on the slave or the
> master. (I think maybe Dave knows.)

The scripts are installed on the slave.

When a new commit is made on the svn repository, the master will
instruct all slaves the update to the latest revision of that branch.
After that, it will tell the slaves to run certain scripts. These
depend on the slave's setup, but we have a convention to use
svnbuild.sh|bat, svncheck.sh|bat and svnclean.sh|bat. The svnlog.sh
script isn't needed anymore, we now stream the tests.log file to the
server while the build is running.

> The "build" and "clean" scripts work. "check" says it passes. (Check
> isn't actually running most of the tests, because it doesn't detect
> python-sqlite although that package is installed, but that's our problem
> to solve.)

Yep, if they run correctly and return the right exit code then things
should be alright once your slave connects to the buildbot master.

> On the machine, the build user name is "bt", ("Build/Test"), the
> directory in which to build is "/home/bt/svn-trunk". A copy of the
> scripts is on the machine in another dir.

I don't need all this information.

In your slave's info file you'll need to add info about the version of
the libraries used. Here's an example:
It's the part starting from "Admin:".

What should we call your slave? x86-centos-gcc? Or is it 64 bit?

After we decided on this name, I'll send you the connection info in a
private email.


Received on 2009-11-13 19:18:09 CET

This is an archived mail posted to the Subversion Dev mailing list.