On 01/19/2012 02:13 PM, Mike Burns wrote:
On Thu, 2012-01-19 at 05:07 -0500, Eyal Edri wrote:
> fyi,
>
> oVirt project now has a Jenkins CI server[1] on
http://jenkins.ovirt.org.
>
> The CI server runs various jobs on oVirt components *[2] such as
ovirt-engine,ovirt-node,etc..
> Every commit to
gerrit.ovirt.org will trigger the job 'ovirt_engine' which
will run 'maven' build and verify that the commit didn't break the code.
> If the commit did break the code, it will send an alert email to
"engine-patches.ovirt.org" and to the commiter with a link to a log console
containing the error.
> On success, the job will trigger other jobs such as "find_bugs", "gwt
profiles", "create db", "unit-tests", each testing a different
part of the code.
>
> In time, more and more jobs will be added to jenkins, which will allow us to catch
bugs much faster than before, and to improve code quality even more.
> If you have questions, don't hesitate to ask me or infra(a)ovirt.org.
>
> [1]
http://jenkins-ci.org/
> [2] currently only ovirt-engine is configured and working.
>
Awesome, thanks for putting this together.
I'm looking at ovirt-node now (and have already added part of the
config). Is there any plan to add a Fedora slave? ovirt-node as it
well, anyone can contribute machines for their favorite/needed distro
and ask eyal to add them as slaves with relevant labels so jobs will run
on them.
I think eyal can also configure to run a job multiple times on different
slaves (multi config job), to check node/vdsm don't break on any distro
which added a slave.
I'll add a fedora machine and send Eyal the details to add as a slave.
before i do that, I want eyal to take a look at the jenkins EC2 plugin,
so we can see if we can have the guest only up when needed.
currently stands will only build correctly on Fedora. I might be
able
to work around it for the ovirt-node.rpm but the ISO really needs to be
built on Fedora.
Also, there are a few other requirements for building an iso image from
ovirt-node:
Sudo access: (also need to disable the requiretty option)
NOPASSWD: /usr/bin/livecd-creator, /usr/bin/setenforce, /usr/bin/ksflatten, /bin/mount,
/bin/umount
Packages: livecd-tools, appliance-tools-minimizer, python-setuptools,
ksflatten, createrepo, rpm-build (possibly more, but that's what I've
hit so far)
well, the job can do this each time in case we instantiate more slaves
to handle load, or eyal can configure each manually i guess.