www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Dashorst <martijn.dasho...@gmail.com>
Subject Re: Graphviz on build slaves?
Date Wed, 23 Nov 2016 08:54:51 GMT
Works like a charm!

This is generated using plantuml and graphviz:

https://ci.apache.org/projects/wicket/guide/8.x/images/uml-component.svg

Many thanks!

Martijn


On Mon, Nov 21, 2016 at 11:11 AM, Martijn Dashorst
<martijn.dashorst@gmail.com> wrote:
> Hi Gavin,
>
> Thanks! I've triggered a build that uses plantuml. I'll let you know
> when it works.
>
> Martijn
>
>
> On Fri, Nov 18, 2016 at 9:16 PM, Gavin McDonald <gavin@16degrees.com.au> wrote:
>> 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.dashorst@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 <michael@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
>>
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

Mime
View raw message