Project

General

Profile

Task #2541

Add CI for LO Online

Added by Samuel Mehrbrodt 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Tags:
URL:

Description

There should be a Jenkins job that runs "make check" for each gerrit patch for LO Online, as we do for LO core.

History

#1 Updated by Xisco Fauli Tarazona 11 months ago

<x1sc0> cloph_away, would you mind taking care of https://redmine.documentfoundation.org/issues/2541 ?
<IZBot> redmine: »Add CI for LO Online« in Infrastructure (Task for unassigned) [New]
<cloph_away> that is a task of teaching lode the build-requirements of lo-online - that is not just creating a queue in gerrit..
<cloph_away> libo-online has some "nasty" requirements (nodejs, poco,..) that are not standard on distros

#2 Updated by Samuel Mehrbrodt 11 months ago

<cloph_away> that is a task of teaching lode the build-requirements of lo-online - that is not just creating a queue in gerrit..
<cloph_away> libo-online has some "nasty" requirements (nodejs, poco,..) that are not standard on distros

Not sure this should be done in LODE. LO Online is Linux-only, and doesn't build on our baseline anyway afaik because of the setcap requirement.
So maybe a dedicated VM should be set up with some newish distro which does the builds.

The Poco on Ubuntu 17.10 is not new enough to be used, but there is an apt repo for recent nodejs. Maybe Fedora provides a better out of the box experience?

#3 Updated by Jan Holesovsky 11 months ago

Oh, it would be extremely awesome to have Jenkins for the Online!

Samuel Mehrbrodt wrote:

<cloph_away> that is a task of teaching lode the build-requirements of lo-online - that is not just creating a queue in gerrit..
<cloph_away> libo-online has some "nasty" requirements (nodejs, poco,..) that are not standard on distros

Not sure this should be done in LODE. LO Online is Linux-only, and doesn't build on our baseline anyway afaik because of the setcap requirement.
So maybe a dedicated VM should be set up with some newish distro which does the builds.

Setcap is not a blocker, one has to have root for using setcap anyway, so I guess for CI it would be better to add a --without-setcap configure option to build without calling setcap and to run the tests with loolwsd's --nocaps option.

Wrt. other distro vs. extending LODE, I have no preference, whoever will be setting it up should decide what is the easiest way :-)

#4 Updated by Jan Holesovsky 11 months ago

One more thing to consider: The Online is in many cases tightly coupled with the changes in the LibreOffice itself, it is necessary to either build the LibreOffice to be usable, or install the latest build.

#5 Updated by Samuel Mehrbrodt 11 months ago

The build should be preferably done with clang as there are some clang plugins which should also be built.

Also available in: Atom PDF