[Buildbot-devel] Reconfiguring buildbot via SVN checkins?
John Earl
jearl at airsource.co.uk
Wed Feb 6 08:55:01 UTC 2008
A.T.Hofkamp wrote:
> Christian Unger wrote:
>
>> Say you want to build a project and it's dependencies, you have to
>> list these steps in you master.cfg.
>>
>> It would be so cool to keep the configuration of the factory as part
>> of the source checkout, so that the factory automatically imports this
>> configuration on the slave.
>>
>> thoughts?
>>
> Just one.
> How are you going to build your code at your client machine without first
> installing buildbot?
>
> (I think the source code itself should be smar enough to build itself rather
> than the build environment).
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
He does have a fair point though. In some situations it would be nice if
the build configuration for a project were kept with the source for that
project, so that whoever owns it can update its build environment
without having to change the global setup for the buildbot master.
(Imagine a situation where there lots of little projects in a
repository, different people own them, and only one person manages the
buildbot. This can't be that uncommon, and it came up on this list two
or three weeks ago as well)
I've got it to work here with an svn repository; the master
automagically loads the per-project configuration files it finds in the
repository at configuration time. This achieves the same effect as
Christian wants, but without having to make the slaves any smarter. For
me, the per-project config files also serve as the "top file" for
buildbot try. Is this something that could be added to buildbot as a
feature?
John
--
Dr John Earl - Engineer
Airsource Ltd
More information about the devel
mailing list