[Buildbot-devel] Big fat buildbot example
Dan Kegel
dank at kegel.com
Sat Nov 17 19:38:37 UTC 2012
I was getting dizzy from all the little json files, and merged them
into a single master.json.
I also added vim as an example project, which meant adding support for
Mercurial.
But all is not well; although the initial force build goes fine,
the HgPoller subsequently goes absolutely bonkers, and
starts telling me about every change since 2004.
(This is with buildbot-0.8.7.)
Looking around for bug reports, I found
http://trac.buildbot.net/ticket/1030
http://trac.buildbot.net/ticket/2307
which was at least amusing. (If HgPoller hasn't been merged, what am
I running?)
Can someone have a look and let me know what I missed?
Here's master.cfg:
https://github.com/dankegel/ciwrap/blob/master/vim/master.cfg
import sys, os
sys.path.append(os.path.join(os.path.dirname(__file__), "../common"))
import SimpleConfig
BuildmasterConfig = SimpleConfig.SimpleConfig(
name="vim", homepage="http://www.vim.org",
)
This references SimpleConfig.py:
https://github.com/dankegel/ciwrap/blob/master/common/SimpleConfig.py
(too long to inline)
which then loads master.json:
https://github.com/dankegel/ciwrap/blob/master/vim/master.json
{
"slaves" : [
{ "os":"ubu1204", "name":"vim-i7" },
],
"projects" : [
{
"name" : "vim",
"repourl" : "https://code.google.com/p/vim/",
"repotype" : "hg",
"builders" : [
{ "os":"ubu1204", "branch":"default" },
]
}
]
}
More information about the devel
mailing list