Project

General

Profile

Actions

Task #2541

closed

Add CI for LO Online

Added by Samuel Mehrbrodt about 6 years ago. Updated over 4 years ago.

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

0%

Tags:

Description

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

Actions #1

Updated by Xisco Fauli Tarazona about 6 years 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

Actions #2

Updated by Samuel Mehrbrodt about 6 years 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?

Actions #3

Updated by Jan Holesovsky about 6 years 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 :-)

Actions #4

Updated by Jan Holesovsky about 6 years 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.

Actions #5

Updated by Samuel Mehrbrodt about 6 years ago

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

Actions #6

Updated by Samuel Mehrbrodt over 4 years ago

  • Status changed from New to Closed

This is now handled in #2957.

Actions

Also available in: Atom PDF