Re: [libvirt-jenkins-ci PATCH] guests: allow for container image inheritance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 30, 2020 at 10:27:30AM +0200, Andrea Bolognani wrote:
> On Wed, 2020-04-29 at 10:21 +0100, Daniel P. Berrangé wrote:
> > On Wed, Apr 29, 2020 at 11:10:41AM +0200, Andrea Bolognani wrote:
> > > So what I think we need is an additional flag that can be used to
> > > choose one of the two possible behaviors. This wouldn't be limited
> > > to the Dockerfile generator, since (unlike inheritance) it can apply
> > > also to VM management.
> > 
> > I think this problem is tangential to container inheritance and so
> > doesn't need to be dealt with here.
> > 
> > Instead, it should be solved by simply defining another project
> > "libvirt-devel", or "libvirt-dist" which pulls in the pre-built
> > distro packages for libvirt.
> 
> Yeah, the additional projects introduced in the patch you posted
> yesterday cover this use case quite nicely without having to
> introduce any additional behaviors in lcitool.
> 
> > > As an additional point, we really need to figure out a good way to
> > > store dependencies between projects into lcitool itself, so that you
> > > can tell it that you're interested in building eg. libosinfo and it
> > > will automatically take care of making osinfo-db-tools and osinfo-db
> > > available to you, either by installing the binary packages or their
> > > build dependencies. This is not a strict requirement for container
> > > inheritance, I think, but the more we go on the more this limitation
> > > is becoming painful.
> > 
> > I'm not really experiencing this as a painpoint from the container CI
> > side.
> 
> Well, that's because you know what the dependencies between various
> projects are by heart ;)

The dependancies just aren't that complicated - most of them simply
depend on libvirt, and we're already recording this info in the
apps eg in their configure.ac scripts, and RPM spec files. So I'm
not really seeing a clear need to record this dependancy info the
libvit-ci project as well.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux