Hi Martin,

Added to the new slave you use:-

...bb-slave1:~# which dot
/usr/bin/dot
...bb-slave1:~# dot -version
dot - graphviz version 2.36.0 (20140111.2315)
libdir = "/usr/lib/graphviz"
Activated plugin library: libgvplugin_dot_layout.so.6
Using layout: dot:dot_layout
Activated plugin library: libgvplugin_core.so.6
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
        /usr/lib/graphviz/config6
                was successfully loaded.


Gav…

> On 19 Nov. 2016, at 3:33 am, Martijn Dashorst <martijn.dasho...@gmail.com> 
> wrote:
> 
> How would I do that from a buildbot configuration?
> 
> AFAIK the buildbot itself is already running in a python process, and
> executing shell commands from it won't retain the virtual env?
> 
> The docs for buildbot and virtualenv assume running in a shell, not
> running in python running a shell after a shell.
> 
> Martijn
> 
> 
> On Fri, Nov 18, 2016 at 5:20 PM, Michael Shuler <mich...@pbandjelly.org> 
> wrote:
>> On 11/18/2016 09:56 AM, Martijn Dashorst wrote:
>>> For generating the Wicket manual, we want to use plantuml from
>>> asciidoctor. This requires the availability of graphviz (i.e. dot) on
>>> the server.
>>> 
>>> Is this available, and if so where can the executable be found? If it
>>> isn't available, can it be made available?
>> 
>> I would suggest a more generic approach that also allows you to specify
>> module versions, if needed (I'm pretty sure virtualenv is available, but
>> check that first):
>> 
>>  #!/bin/sh -e
>>  virtualenv venv
>>  . venv/bin/activate
>>  pip install graphviz
>>  # build wicket docs
>>  deactivate
>> 
>> --
>> Kind regards,
>> Michael
> 
> 
> 
> -- 
> Become a Wicket expert, learn from the best: http://wicketinaction.com

Reply via email to