[Buildbot-devel] Running inside a webserver

Darragh Bailey felix at compsoc.nuigalway.ie
Wed Oct 15 11:59:07 UTC 2008

On Wed, Oct 15, 2008 at 10:47:24AM +0200, Benoît Allard wrote:
> Hi,
> Could someone point me to a documentation on how could I configure my  
> buildbot to be runned (or at least browsed) as if runned inside my  
> apache server ?
> I'm looking for a way to embed my waterfall page inside my config  
> something like those people at python.org did (for instance [1]), or  
> something like the twistedmatrix page [2] does ...
> Note the particular effort from the guys at Chromium ! [3] Didn't they  
> want to share patches ?
> Regards,
> benoit
> [1] http://www.python.org/dev/buildbot/stable/
> [2] http://twistedmatrix.com/buildbot/
> [3] http://build.chromium.org/buildbot/waterfall/waterfall

You need to use apache's rewrite rule.

Following is an example of what I do, where I have a number of waterfall
pages displaying different categories. Note this is from a server
running 0.7.5 that I haven't upgraded yet, so you may need to tweak it
for newer versions, I haven't checked.

# These take the particular categories and point to the correct port,
# since I'm outputting different waterfalls for each group
RewriteRule ^/buildbot/all/(.*) http://localhost:8010/$1 [P]
RewriteRule ^/buildbot/trunk/(.*) http://localhost:8011/$1 [P]
RewriteRule ^/buildbot/v1.0/(.*) http://localhost:8012/$1 [P]
RewriteRule ^/buildbot/v2.0/(.*) http://localhost:8013/$1 [P]

# I think this one is also required to make sure the address send back
# use the correct url path, it's been a while since I did this though.
RewriteRule ^/buildbot/([^/]+)$ http://<server url>/buildbot/$1/ [R]


"Nothing is foolproof to a sufficiently talented fool."

More information about the devel mailing list