Pre-merge CI for Gerrit
jkt at kde.org
Tue Dec 2 11:05:46 GMT 2014
I managed to get a pre-merge continuous integration working with Gerrit.
This means that whenever someone uploads/updates a change to Gerrit, it
gets through a CI run and the result is reported back to Gerrit as an
advice -- see e.g.  for an example. A KDE developer can still override
the CI result if they choose so.
For technical reasons, the CI is independent on the KDE's own CI, both
software wise and in respect to the build HW. It's using very similar
tooling to what the OpenStack project is doing -- everything iss
coordinated by Zuul  while the actual jobs are launched by Turbo-Hipster
. Resource-wise, see  for where it's running.
Right now, the CI runs only for dummy.git (doing nothing) and for
trojita.git (doing three separate build & test checks to cover various
combinations of ancient and new Qt4, Qt5, clang, gcc and debug and release
builds). Doing this for Trojita was pretty easy because it has no
dependencies on other projects except Qt. I'm of course all for extending
this to other KDE projects as well, and help is welcome.
With kind regards,
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
More information about the kde-core-devel