Backing up a tic here, this is the view from 20,000 feet for the system I am trying to set up as I understand it, where each action in the list causes the next:
`git push` from developer
python git_buildbot.py < /dev/stdin
PBChangeSource detects change
Builders on slaves start
`git pull` on slaves
Looking at the Waterfall page, I do not see any activity when developers push changes. When I manually invoke `buildbot sendchange` (as below), I see activity, but the Git step is failing (as below).
Systems involving BuildBot have a lot of pieces to put together!
When I do a manual `git clone ssh://machinename/path/to/repository`, .git/config looks like:
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
url = ssh://machinename/path/to/repository
fetch = +refs/heads/*:refs/remotes/origin/*
remote = origin
merge = refs/heads/master
However, the .git/config file in the repository buildbot created is missing the [remote “origin”] and [branch “master”] sections.
[ I’m also a git newbie or I’d have known to provide this information to start with ]
Ah, thank you! With that sorted out…
The builds fail at the Git step. The step is defined by `Git(repourl=”ssh://machinename/path/to/repository”))` -- pretty simple. If I do a `git pull` from the build directory, I get “unable to chdir or not a git archive”, however if I do `git pull ssh://machinename/path/to/repository`, I get the updates correctly.
your scheduler is on branch 'master' but your sendchange doesn't have a branch. Try adding --branch master to your sendchange
On Aug 25, 2010, at 2:10 PM, Richard Woods wrote:
I had BuildBot set up to do periodic builds, and I’d like it to instead receive change notifications from a git repository.
I have the post-receive hook set up in the repository to send the changes to BuildBot. I have changed the configuration file:
· The change source is configured via `c[‘change_source’] = PBChangeSource()`
· The scheduler is defined by `Scheduler(name=”all”, branch=”master”, treeStableTimer=0, buildernames=[“buildbot-full”])` and appended to c[‘schedulers’]
But where my periodic builds were working before, I can’t get these builds to kick off.
I have done `buildbot sendchange --user=username --master=localhost:9989 Makefile`, and I see a change show up on the status Waterfall page, but no builds kick off. Where might I be missing something?
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
Buildbot-devel mailing list