[Rdo-list] Blueprint: Delorean & Khaleesi

Arie Bregman abregman at redhat.com
Sat Nov 7 17:35:52 UTC 2015


On Sat, Nov 7, 2015 at 12:07 AM, David Moreau Simard <dms at redhat.com> wrote:

> Can we extend this to rdo-list ? Sounds relevant to the community.
>

Sure, good idea. Adding rdo-list.


>
> David Moreau Simard
> Senior Software Engineer | Openstack RDO
>
> dmsimard = [irc, github, twitter]
>
>
> On Fri, Nov 6, 2015 at 4:36 PM, Wesley Hayutin <whayutin at redhat.com>
> wrote:
> > Arie,
> > This looks good.
> > Who is going to maintain the delorean ci job?
>

Who maintains it today? we'll have to discuss it. It might be good idea to
add 'job owner/maintainer' info as we have in rhos CI.

> Have you reached out to Derek Higgins about writing a replacement for the
> > current delorean ci?
>

No. The work on this has just begun. Adding Derek to this mail.

>
> > Thanks
> >
> > On Fri, Nov 6, 2015 at 11:21 AM, Steve Linabery <slinaber at redhat.com>
> wrote:
> >>
> >> On Fri, Nov 06, 2015 at 05:49:05PM +0200, Arie Bregman wrote:
> >> > Hi everyone,
> >> >
> >> > Not sure if you all familiar with Delorean project[1]. Quick
> >> > introduction
> >> > (CI related) for those who are not:
> >> >
> >> > Delorean is an upstream project that builds and maintains yum
> >> > repositories.
> >> > It builds repository every time patch submitted to one of the upstream
> >> > openstack-packages projects.
> >> > The delorean job is located here:
> >> > https://prod-rdojenkins.rhcloud.com/job/delorean-ci
> >> >
> >> > How the job works at the moment:
> >> > It runs delorean directly on the slave and if the build process
> >> > succeeded,
> >> > it votes with +1
> >> >
> >> > What I suggest:
> >> > - Move delorean installation and run to khaleesi by creating
> 'delorean'
> >> > role
> >> > - Extend the job to run tests using the rpms delorean built
> >> >
> >> > Why:
> >> > - Main reason: It's important for developers to get immediate feedback
> >> > on
> >> > whether the new packages are good or not. simply run delorean and see
> if
> >> > build is ok, is not enough. We need to extend the current job.
> >> >
> >> > - Users can use khaleesi to test specs they wrote. This is actually
> >> > pretty
> >> > amazing. users write specs and run khaleesi. khaleesi then handles
> >> > everything - it building the rpms using delorean and run the tests.
> >> >
> >> > - We can use delorean to replace our current way to build rpms and
> >> > creating
> >> > repos. delorean doing it in a smart way, using docker and by that it
> >> > creates rpms for several distributions in isolated environment.
> >>
> >> Delorean no longer uses docker.
> >>
> >>
> >>
> https://github.com/openstack-packages/delorean/commit/66571fce45a007bcf49fd54ad7db622fd737874f
>

Interesting. any idea why this change? adding Alan.


>
> >>
> >> >
> >> > - Khaleesi awesomeness will increase
> >> >
> >> > There is also no need to add/maintain settings in khaleesi for that.
> >> > delorean properties (version, url, etc) will be provided by extra-vars
> >> > (unless you are in favor of maintaining general settings for delorean
> in
> >> > khaleesi)
> >> >
> >> > The new job work flow:
> >> > 1. Run delorean on slave and save rpms from delorean build process.
> >> > 2. Run provision playbook
> >> > 3. Copy delorean rpms to provisioned nodes and create repo for them on
> >> > each
> >> > node
> >> > 4. run installer playbooks (installer will use delorean rpms)
> >> > 5. Run Tests =D
> >> > 6. Vote +1/-1 according to build process + tests.
> >> >
> >> > step 3 can be replaced. Since delorean creates repository, we can
> simply
> >> > reference each node to the new repository on the slave.
> >> >
> >> > Would love to hear your opinion on that.
> >> >
> >> > Cheers,
> >> >
> >> > Arie
> >> >
> >> > P.S
> >> > started to work on that: https://review.gerrithub.io/#/c/251464
> >> >
> >> > [1] https://github.com/openstack-packages/delorean
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20151107/9656ac09/attachment.html>


More information about the dev mailing list