[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Could we enable Travis-CI on our github mirrors?
From:       Elvis Angelaccio <elvis.angelaccio () kdemail ! net>
Date:       2016-04-21 7:41:06
Message-ID: CALN1cnuhmu9JpzwxQn0k1MYTUhsgRyExckmbEq_cvXraGC7m_A () mail ! gmail ! com
[Download RAW message or body]

2016-04-21 3:07 GMT+02:00 Ben Cooksley <bcooksley@kde.org>:

> On Thu, Apr 21, 2016 at 10:07 AM, Elvis Angelaccio
> <elvis.angelaccio@kdemail.net> wrote:
> >
> >
> > 2016-04-20 23:20 GMT+02:00 Albert Astals Cid <aacid@kde.org>:
> >>
> >> El dimecres, 20 d'abril de 2016, a les 23:00:26 CEST, Elvis Angelaccio
> va
> >> escriure:
> >> > 2016-04-20 22:09 GMT+02:00 Albert Astals Cid <aacid@kde.org>:
> >> > > El dimecres, 20 d'abril de 2016, a les 18:42:31 CEST, Elvis
> Angelaccio
> >> > > va
> >> > >
> >> > > escriure:
> >> > > > Hi,
> >> > > > as many of you already know, KDE has a github mirror in place at
> >> > > > [1].
> >> > > > I've been playing with travis-ci [2] and I was surprised by how
> easy
> >> > > > to
> >> > >
> >> > > use
> >> > >
> >> > > > and how well integrated with github is.
> >> > > >
> >> > > > I think it would be nice to have travis builds for the (mirrored)
> >> > > > repositories that provides a .travis.yml configuration file. The
> >> > > > builds
> >> > > > would run on the travis servers, so no additional overload on the
> >> > > > KDE
> >> > > > infrastructure. There is also virtually nothing to do for KDE
> >> > > > sysadmins.
> >> > > > The project's maintainer is the one in charge to setup the travis
> >> > > > configuration file (if he wants to), in order to have working
> >> > > > builds.
> >> > > >
> >> > > > Would this be possible from a technical p.o.v.? I think the KDE
> >> > > > github
> >> > > > account would have to register on the travis website and "sync"
> its
> >> > >
> >> > > github
> >> > >
> >> > > > repositories - that's what I had to do with my personal github
> >> > > > account.
> >> > > >
> >> > > > The use cases could be many. For example, on travis I can install
> >> > >
> >> > > optional
> >> > >
> >> > > > dependencies that are not available on our Jenkins installation.
> >> > > > More
> >> > > > details in this post [3].
> >> > > >
> >> > > >
> >> > > > What do you think?
> >> > >
> >> > > I don't see the point in having two CI systems, just help improve
> the
> >> > > one
> >> > > we
> >> > > have.
> >> > >
> >> > > If you need dependencies, why did you start a new CI system instead
> of
> >> > > asking
> >> > > for the dependendies to be installed?
> >> >
> >> > Well I did ask, but those deps are not available in the Ubuntu
> >> > repositories
> >> > currently used by Jenkins.
> >> > Maybe a solution could be to install them from source/manually, but
> that
> >> > requires work from the sysadmins, who have already enough in their
> >> > plate.
> >>
> >> I see. Maybe you can offer to help them?
> >
> >
> > Not sure I have enough skills (especially now that we use docker), but I
> can
> > ceirtainly try. Should I contact Ben?
>
> Docker shouldn't complicate things too much - it's essentially an
> enhanced chroot.
> If you're considering depending on this, have you spoken with the
> Kubuntu packagers regarding getting this (hopefully non-Qt dependent)
> dependency packaged?
>
> If it's Qt based, I do hope it isn't using QMake.
>

They are not Qt based. In Ark we have (optional) tests that relies on
packages such as unrar/rar and unarchiver. Both seems not packaged in the
ubuntu version used by Jenkins.
I'm fine with running these tests only locally on my system, but if there
is something I can do to have them in our CI would be super-awesome.


>
> Regards,
> Ben
>
> >
> >>
> >>
> >> > I did not start a new CI, I was basically playing with travis for fun.
> >> > But
> >> > then it turned out that it could solve an issue I have. The travis
> >> > infrastrucure is already there, why not use it if one or more projects
> >> > could benefit? Seems a win-win to me.
> >>
> >> As a release team member i won't look at the github CI
> >>
> >> I will look at our official one, but you will look at the github one
> since
> >> for
> >> you "it's better"
> >
> >
> > I never said it's better. I think it would be a nice addition, doesn't
> mean
> > that I would stop looking at our main CI
> >
> >>
> >>
> >> I can see this creating problems, like for example build.kde.org
> passing
> >> and
> >> githubCI not passing and you getting mad at me because we released
> >> something
> >> that doesn't work.
> >
> >
> > This is a fair point, but see also my previous reply to Luca (the "who
> > cares" part).
> > I can promise you that I won't get mad at you, fwiw :)
> >
> >>
> >>
> >> Cheers,
> >>   Albert
> >>
> >> >
> >> > > Cheers,
> >> > >
> >> > >   Albert
> >> >
> >> > Cheers,
> >> > Elvis
> >> >
> >> > > > Regards,
> >> > > > Elvis
> >> > > >
> >> > > >
> >> > > > [1]: https://github.com/KDE
> >> > > > [2]: https://travis-ci.org/
> >> > >
> >> > > > [3]:
> >> > >
> >> > >
> http://www.aelog.org/travis-ci-builds-of-kde-projects-on-archlinux-chroot/
> >>
> >>
> >
>

[Attachment #3 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-04-21 \
3:07 GMT+02:00 Ben Cooksley <span dir="ltr">&lt;<a href="mailto:bcooksley@kde.org" \
target="_blank">bcooksley@kde.org</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
class="HOEnZb"><div class="h5">On Thu, Apr 21, 2016 at 10:07 AM, Elvis Angelaccio<br> \
&lt;<a href="mailto:elvis.angelaccio@kdemail.net">elvis.angelaccio@kdemail.net</a>&gt; \
wrote:<br> &gt;<br>
&gt;<br>
&gt; 2016-04-20 23:20 GMT+02:00 Albert Astals Cid &lt;<a \
href="mailto:aacid@kde.org">aacid@kde.org</a>&gt;:<br> &gt;&gt;<br>
&gt;&gt; El dimecres, 20 d'abril de 2016, a les 23:00:26 CEST, Elvis Angelaccio \
va<br> &gt;&gt; escriure:<br>
&gt;&gt; &gt; 2016-04-20 22:09 GMT+02:00 Albert Astals Cid &lt;<a \
href="mailto:aacid@kde.org">aacid@kde.org</a>&gt;:<br> &gt;&gt; &gt; &gt; El \
dimecres, 20 d'abril de 2016, a les 18:42:31 CEST, Elvis Angelaccio<br> &gt;&gt; &gt; \
&gt; va<br> &gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; escriure:<br>
&gt;&gt; &gt; &gt; &gt; Hi,<br>
&gt;&gt; &gt; &gt; &gt; as many of you already know, KDE has a github mirror in place \
at<br> &gt;&gt; &gt; &gt; &gt; [1].<br>
&gt;&gt; &gt; &gt; &gt; I&#39;ve been playing with travis-ci [2] and I was surprised \
by how easy<br> &gt;&gt; &gt; &gt; &gt; to<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; use<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; and how well integrated with github is.<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; I think it would be nice to have travis builds for the \
(mirrored)<br> &gt;&gt; &gt; &gt; &gt; repositories that provides a .travis.yml \
configuration file. The<br> &gt;&gt; &gt; &gt; &gt; builds<br>
&gt;&gt; &gt; &gt; &gt; would run on the travis servers, so no additional overload on \
the<br> &gt;&gt; &gt; &gt; &gt; KDE<br>
&gt;&gt; &gt; &gt; &gt; infrastructure. There is also virtually nothing to do for \
KDE<br> &gt;&gt; &gt; &gt; &gt; sysadmins.<br>
&gt;&gt; &gt; &gt; &gt; The project&#39;s maintainer is the one in charge to setup \
the travis<br> &gt;&gt; &gt; &gt; &gt; configuration file (if he wants to), in order \
to have working<br> &gt;&gt; &gt; &gt; &gt; builds.<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; Would this be possible from a technical p.o.v.? I think the \
KDE<br> &gt;&gt; &gt; &gt; &gt; github<br>
&gt;&gt; &gt; &gt; &gt; account would have to register on the travis website and \
&quot;sync&quot; its<br> &gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; github<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; repositories - that&#39;s what I had to do with my personal \
github<br> &gt;&gt; &gt; &gt; &gt; account.<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; The use cases could be many. For example, on travis I can \
install<br> &gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; optional<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; dependencies that are not available on our Jenkins \
installation.<br> &gt;&gt; &gt; &gt; &gt; More<br>
&gt;&gt; &gt; &gt; &gt; details in this post [3].<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; What do you think?<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; I don&#39;t see the point in having two CI systems, just help \
improve the<br> &gt;&gt; &gt; &gt; one<br>
&gt;&gt; &gt; &gt; we<br>
&gt;&gt; &gt; &gt; have.<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; If you need dependencies, why did you start a new CI system \
instead of<br> &gt;&gt; &gt; &gt; asking<br>
&gt;&gt; &gt; &gt; for the dependendies to be installed?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Well I did ask, but those deps are not available in the Ubuntu<br>
&gt;&gt; &gt; repositories<br>
&gt;&gt; &gt; currently used by Jenkins.<br>
&gt;&gt; &gt; Maybe a solution could be to install them from source/manually, but \
that<br> &gt;&gt; &gt; requires work from the sysadmins, who have already enough in \
their<br> &gt;&gt; &gt; plate.<br>
&gt;&gt;<br>
&gt;&gt; I see. Maybe you can offer to help them?<br>
&gt;<br>
&gt;<br>
&gt; Not sure I have enough skills (especially now that we use docker), but I can<br>
&gt; ceirtainly try. Should I contact Ben?<br>
<br>
</div></div>Docker shouldn&#39;t complicate things too much - it&#39;s essentially \
an<br> enhanced chroot.<br>
If you&#39;re considering depending on this, have you spoken with the<br>
Kubuntu packagers regarding getting this (hopefully non-Qt dependent)<br>
dependency packaged?<br>
<br>
If it&#39;s Qt based, I do hope it isn&#39;t using \
QMake.<br></blockquote><div><br></div><div>They are not Qt based. In Ark we have \
(optional) tests that relies on packages such as unrar/rar and unarchiver. Both seems \
not packaged in the ubuntu version used by Jenkins.<br>I&#39;m fine with running \
these tests only locally on my system, but if there is something I can do to have \
them in our CI would be super-awesome.<br></div><div>  </div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <br>
Regards,<br>
Ben<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; I did not start a new CI, I was basically playing with travis for \
fun.<br> &gt;&gt; &gt; But<br>
&gt;&gt; &gt; then it turned out that it could solve an issue I have. The travis<br>
&gt;&gt; &gt; infrastrucure is already there, why not use it if one or more \
projects<br> &gt;&gt; &gt; could benefit? Seems a win-win to me.<br>
&gt;&gt;<br>
&gt;&gt; As a release team member i won&#39;t look at the github CI<br>
&gt;&gt;<br>
&gt;&gt; I will look at our official one, but you will look at the github one \
since<br> &gt;&gt; for<br>
&gt;&gt; you &quot;it&#39;s better&quot;<br>
&gt;<br>
&gt;<br>
&gt; I never said it&#39;s better. I think it would be a nice addition, doesn&#39;t \
mean<br> &gt; that I would stop looking at our main CI<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I can see this creating problems, like for example <a \
href="http://build.kde.org" rel="noreferrer" target="_blank">build.kde.org</a> \
passing<br> &gt;&gt; and<br>
&gt;&gt; githubCI not passing and you getting mad at me because we released<br>
&gt;&gt; something<br>
&gt;&gt; that doesn&#39;t work.<br>
&gt;<br>
&gt;<br>
&gt; This is a fair point, but see also my previous reply to Luca (the &quot;who<br>
&gt; cares&quot; part).<br>
&gt; I can promise you that I won&#39;t get mad at you, fwiw :)<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt;     Albert<br>
&gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &gt; Cheers,<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt;     Albert<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers,<br>
&gt;&gt; &gt; Elvis<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; Regards,<br>
&gt;&gt; &gt; &gt; &gt; Elvis<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; [1]: <a href="https://github.com/KDE" rel="noreferrer" \
target="_blank">https://github.com/KDE</a><br> &gt;&gt; &gt; &gt; &gt; [2]: <a \
href="https://travis-ci.org/" rel="noreferrer" \
target="_blank">https://travis-ci.org/</a><br> &gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; &gt; [3]:<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; <a \
href="http://www.aelog.org/travis-ci-builds-of-kde-projects-on-archlinux-chroot/" \
rel="noreferrer" target="_blank">http://www.aelog.org/travis-ci-builds-of-kde-projects-on-archlinux-chroot/</a><br>
 &gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic