[Buildbot-devel] Web server on master
Nick Trout
nick at rockstarvancouver.com
Tue May 10 18:21:43 UTC 2005
> > I'd like to display some static HTML (possibly dynamic in the
future),
> > served from my build master. Is there a way to configure this
through
> > Buildbot?
>
> Yeah, although it isn't as easy right now as it ought to be. In
> particular,
> it will require modifying buildbot/status/html.py, whereas it ought to
be
> possible to do entirely through the config file.
>
> Start by reading up on how twisted.web works (the Twisted howto docs
I had a feeling it was a little more involved. I didn't want to spend
any time finding out it was more complicated than it should be, so
thanks for saving me some time. I think I would like to server dynamic
web content at some later point so I'll refer to your mail then, but it
looks like some changes may be too involved for my needs (changing BB).
I may look at mod_python for Apache 2.
At the moment I've just put Apache 2 on the build master and its serving
static pages a treat, with BB running along side. I guess the next thing
is to link the two together so I'll have to try and modify the waterfall
somehow.
I'd also like to try and get the change information for each build, as I
run a step to gather stats and I'd like to store the change information
with this. I suppose I could just dump it out from the change process
but this seems a little hacky. It looks like the changes are pickled, so
I'll have a look into using this option.
Also, I seem to lose the build logs when I restart the master, but I'm
not sure it *always* does this. I seem to remember a couple of times
restarting and the logs were still there. Did I imagine this, or do the
logs get dumped only under certain circumstances? Or should they be
there and my setup is wrong?
Thanks,
Nick
More information about the devel
mailing list