[Buildbot-devel] GitPoller headaches (0.9.0b1)

Giorgio Valoti giorgio_v at me.com
Wed Jul 22 15:40:27 UTC 2015


Dan Kegel <dank at kegel.com> writes:

> On Mon, Jul 20, 2015 at 5:47 AM, Giorgio Valoti <giorgio_v at me.com> wrote:
>> I configured BuildBot to with two builder for two different repositories
>> (say A and B) and two different GitPoller scheduler but I think I’m
>> doing something horribly wrong because when I push to repo A, both the
>> builders get triggered; same with repo B.
>>
>> Here is the relevant portions of the configuration. I have just redacted
>> some of info to protect the innocents.
>>
>> ####### CHANGESOURCES
>> c['change_source'] = []
>>
>> c['change_source'].append(changes.GitPoller(
>>     '<osk-repo-url>',
>>     branches=['master'],
>>     project='OSK'
>> ))
>> c['change_source'].append(changes.GitPoller(
>>     '<orin-repo-url>',
>>     branches=['master'],
>>     project='ORIN'
>> ))
>
> I think you might need to give each GitPoller a different workdir.

In the end the ChangeFilter were not selective enough.

However, as a newbie, I found this behaviour pretty confusing or, more
probably, I should re-read the docs. Basically, I would expect that a
git poller for a given repo would not trigger a builder configured with
another repo.

--
Giorgio Valoti





More information about the devel mailing list