[Buildbot-commits] [Buildbot] #2405: buildmaster 0.8.7p1 does not start from a buildout

Buildbot nobody at buildbot.net
Sat Dec 1 23:35:23 UTC 2012


#2405: buildmaster 0.8.7p1 does not start from a buildout
--------------------+------------------------
Reporter:  flox     |       Owner:
    Type:  defect   |      Status:  new
Priority:  minor    |   Milestone:  undecided
 Version:  0.8.7p1  |  Resolution:
Keywords:           |
--------------------+------------------------

Comment (by Jc2k):

 This will probably affect me to.

 This is the recipe i'm using - it does have its own start/stop wrapper but
 atm it will eventually chain to buildbot.scripts.runner.run and so hit the
 problem.

 (For reference, https://github.com/isotoma/isotoma.recipe.buildbot).

 I will probably just update it to invoke twistd directly.

 flox - if this can't be fixed upstream and you want a more permanent fix
 locally I '''think''' you might be able to string together a buildout that
 has a {{{bin/python}}} with the right eggs, then use a 2nd part that uses
 that {{{bin/python}}} to make the buildout scripts - that way
 {{{sys.executable}}} should be "right". E.g.

 {{{
 [buildout]
 parts =
     buildbot_python
     buildbot
 versions = versions

 [buildbot_python]
 recipe = z3c.recipe.scripts:interpreter
 eggs = buildbot

 [buildbot_python_xxx]
 executable = ${buildout:bin-directory}/buildbot_python

 [buildbot]
 recipe = z3c.recipe.scripts
 eggs = buildbot
 python = buildbot_python_xxx

 [versions]
 distribute = 0.6.21
 zc.buildout = 1.5.2
 }}}

 However I couldn't quite get it to work and need to look at other things.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2405#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list