<div dir="ltr">Hi Stefan,<div><br></div><div>buildbot_travis is not dead, actually I use it for ~20 internal projects. Its maintained here, and work with buildbot nine:</div><div><a href="https://github.com/tardyp/buildbot_travis">https://github.com/tardyp/buildbot_travis</a><br></div><div><br></div><div>Here is the step that takes care of dynamically creating the steps according to the config:</div><div><a href="https://github.com/tardyp/buildbot_travis/blob/master/buildbot_travis/steps/create_steps.py#L182">https://github.com/tardyp/buildbot_travis/blob/master/buildbot_travis/steps/create_steps.py#L182</a><br></div><div><br></div><div>The idea is to get the yaml file from the worker in a step just after the source fetcher (the Git step)</div><div>There is an api for that:  <font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;line-height:16.8px;white-space:pre"><a href="http://docs.buildbot.net/latest/developer/cls-buildsteps.html#buildbot.process.buildstep.buildbot.process.buildstep.CommandMixin.getFileContentFromWorker">http://docs.buildbot.net/latest/developer/cls-buildsteps.html#buildbot.process.buildstep.buildbot.process.buildstep.CommandMixin.getFileContentFromWorker</a></span></font></div><div><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;line-height:16.8px;white-space:pre"><br></span></font></div><div>and here is how it is used in buildbot_travis:</div><div><a href="https://github.com/tardyp/buildbot_travis/blob/master/buildbot_travis/steps/base.py#L50">https://github.com/tardyp/buildbot_travis/blob/master/buildbot_travis/steps/base.py#L50</a><br></div><div><br></div><div>HTH,</div><div>Pierre</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 27 avr. 2016 à 00:05, Stefan Seefeld <<a href="mailto:stefan@seefeld.name">stefan@seefeld.name</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm trying to figure out whether it's possible for a buildbot instance<br>
to fetch a project-specific build logic from the project's source tree,<br>
rather than hard-coding it into the buildmaster's configuration.<br>
<br>
In fact, I'm setting up a buildbot instance for a project that's hosted<br>
on github and which already uses travis-ci for some platforms. I very<br>
much like the idea to keep the build logic in the project itself (e.g.,<br>
as .travis.yml), so I can update it with the rest of the code, without<br>
having to reconfigure the CI infrastructure.<br>
<br>
Is anything like this possible with BuildBot ?<br>
<br>
(I just discovered <a href="https://github.com/isotoma/buildbot_travis" rel="noreferrer" target="_blank">https://github.com/isotoma/buildbot_travis</a>, but it's<br>
not clear to me how this works.)<br>
<br>
Thanks,<br>
        Stefan<br>
<br>
--<br>
<br>
      ...ich hab' noch einen Koffer in Berlin...<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br>
</blockquote></div>