[Buildbot-devel] Building from multiple repos
Jamie Lawrence
Jlawrence at anchorfree.com
Tue Feb 24 21:46:38 UTC 2015
Hi all,
We are in the process of setting up a bunch of BB builds. Because of
historic choices leading to technical debt that won¹t be unwound
immediately, several of these builds need to pull from two repos, one git
and one subversion. I¹m trying to make this work.
If I¹m reading the docs[1] correctly, it looks like the CodebaseGenerator
is *not* what I need - that appears to be for mapping multiple possible
repos containing the same codebase to the same named thing. Is this
correct?
So I¹m wondering how to go about this. One thing that seems possible would
be to set up two Pollers (not using commit hooks yet), setting (a) the
workdir to the same directory in both (in this case, I know checked-out
files will not stomp on each other), and (b) the project attribute to the
same value, and use a change filter to trigger the run in the event of a
change in either source identified by the project value.
How off-base am I? If the answer is "very", what would be a better
approach[2]? Are other folks doing this sort of thing?
Thanks,
-j
[1]
http://docs.buildbot.net/0.8.7p1/manual/cfg-global.html#cfg-codebaseGenerat
or
[2] As much as I may want to, burning down one of the repos is not
presently an option.
More information about the devel
mailing list