On Wednesday, April 17, 2019 12:35:13 PM CEST František Šumšal wrote:
Hello Pavel,
On 4/17/19 11:23 AM, Pavel Raiskup wrote:
> Ahoj Františku,
>
> On Wednesday, April 17, 2019 10:18:27 AM CEST František Šumšal wrote:
>> We used to have a Fedora Rawhide CI, but it was rather a hack around
>> Copr,
>> which was neither stable nor maintainable.
>
> I'd like to hear about the blockers in using Copr for CI purposes. Of
> course, we can not provide jenkins-like workers (copr only builds), but
> there already is Fedora's Jenkins. So
>
> -> your Github could trigger build in copr
> -> copr would send event on fedmsg (once build is done)
> -> your fedora jenkins job could react on that event, and do the testing
> -> jenkins should be able to let your github repo know
I considered using Copr the "proper way", as it provides the GitHub
integration (among others), but I wasn't sure if it's not an "abuse" of
the
build system. I'm not sure about few things:
No, CI/CD in Copr != abuse :-)
1) What kind of machines the Copr pool provides? (containers, KVM,
emulated
VM, baremetal) As we'd like to run integration test as well, we'd need at
least KVM machines (baremetal machines would be preferred)
Copr builds in VMs.
2) Does the Copr infra has enough resources for this? In CentOS CI
we have
the Jenkins slave limited to 8 executors, i.e. 8 parallel jobs.
There's similar quota for max concurrent builds of one user in Copr.
During the review periods, this number might be exceeded, but the
over-the-limit jobs get properly enqueued. Each such job usually takes
from 30 to 60 minutes.
Copr has a queue as well, if you have large queue - you have to wait (or
manually cancel less important builds, etc.).
I'm not sure about the load-balancing techniques in Copr, but I
wouldn't
want to end up in a situation where third of the Copr jobs are just
systemd. (This might be a gross overestimation just to make a point.)
As said above, one user can not waste all resources in Copr (because
quotas, unless there's a bug).
Pavel
The huge benefit of using Copr is the availability of non-x86_64
architectures. Right now the only systemd CI, which supports alternative
archs, is Ubuntu CI, so this would definitely have an additional value
apart from using "just" an another distribution.
> Feel free to ping me on irc,
> Pavel
>
>
> _______________________________________________
> CI mailing list -- ci(a)lists.fedoraproject.org
> To unsubscribe send an email to ci-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedoraproject.org/archives/list/ci@lists.fedoraproject.org