[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 8:01:25
Message-ID: CALN1cnumnLCNr7Ka92dqu36q8idzOx4jw7OFyJgzidEGs81Q9w () mail ! gmail ! com
[Download RAW message or body]

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

> On Thu, Apr 21, 2016 at 7:41 PM, Elvis Angelaccio
> <elvis.angelaccio@kdemail.net> wrote:
> >
> >
> > 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.
>
> We run Ubuntu Wily as our base. Have you checked to see whether 16.04
> will contain these utilities?
> I suspect unrar/rar will be missing due to it's proprietary nature.
>

This is correct. That's why we introduced a plugin for unarchiver in the
first place.
Yet it looks like they are both available in wily, respectively in the
multiverse [1][2] and universe [3] repos.

Would be possible to have at least [3]?

[1]: http://packages.ubuntu.com/wily/unar
[2]: http://packages.ubuntu.com/wily/rar
[3]: http://packages.ubuntu.com/wily/unar



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