[libvirt] [PATCH v2 0/2] Facilitate running libvirt builds via docker containers

Daniel P. Berrangé posted 2 patches 5 years, 1 month ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190306093424.22469-1-berrange@redhat.com
There is a newer version of this series
.gitignore            |   1 +
.travis.yml           |  48 +++---------
Makefile.am           |   2 +
tests/Makefile.ci.inc | 174 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 187 insertions(+), 38 deletions(-)
create mode 100644 tests/Makefile.ci.inc
[libvirt] [PATCH v2 0/2] Facilitate running libvirt builds via docker containers
Posted by Daniel P. Berrangé 5 years, 1 month ago
For a while QEMU has provided simple make rules for building QEMU inside
standard docker container environments. This provides an equivalent
mechanism for libvirt inspired by QEMU's.

QEMU actually builds the container images on developer's machines
locally. Libvirt already hosts pre-built images on quay.io, so that is
used directly as it is quicker to download them than to build them
locally. This also ensures the container contents match what the live
CI system is using, as opposed to building an image with newer packages.

Changed in v2:

 - Drop cross-compilation patches temporarily. The cross-compiler
   images are not yet built on quay.io and rather than creating and
   bulding many more images manually, I'm working on script to
   automate setup of quay.io images
 - Many changes to the make rules to make it possible to use them
   from Travis CI to match its currently testing setup
 - Modify Travis CI config to use the new make rules for consistency

Daniel P. Berrangé (2):
  tests: add targets for building libvirt inside docker containers
  travis: convert ubuntu, centos & mingw builds to use new make rules

 .gitignore            |   1 +
 .travis.yml           |  48 +++---------
 Makefile.am           |   2 +
 tests/Makefile.ci.inc | 174 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 187 insertions(+), 38 deletions(-)
 create mode 100644 tests/Makefile.ci.inc

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/2] Facilitate running libvirt builds via docker containers
Posted by Daniel P. Berrangé 5 years, 1 month ago
ping

On Wed, Mar 06, 2019 at 09:34:22AM +0000, Daniel P. Berrangé wrote:
> For a while QEMU has provided simple make rules for building QEMU inside
> standard docker container environments. This provides an equivalent
> mechanism for libvirt inspired by QEMU's.
> 
> QEMU actually builds the container images on developer's machines
> locally. Libvirt already hosts pre-built images on quay.io, so that is
> used directly as it is quicker to download them than to build them
> locally. This also ensures the container contents match what the live
> CI system is using, as opposed to building an image with newer packages.
> 
> Changed in v2:
> 
>  - Drop cross-compilation patches temporarily. The cross-compiler
>    images are not yet built on quay.io and rather than creating and
>    bulding many more images manually, I'm working on script to
>    automate setup of quay.io images
>  - Many changes to the make rules to make it possible to use them
>    from Travis CI to match its currently testing setup
>  - Modify Travis CI config to use the new make rules for consistency
> 
> Daniel P. Berrangé (2):
>   tests: add targets for building libvirt inside docker containers
>   travis: convert ubuntu, centos & mingw builds to use new make rules
> 
>  .gitignore            |   1 +
>  .travis.yml           |  48 +++---------
>  Makefile.am           |   2 +
>  tests/Makefile.ci.inc | 174 ++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 187 insertions(+), 38 deletions(-)
>  create mode 100644 tests/Makefile.ci.inc
> 
> -- 
> 2.20.1
> 

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 :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/2] Facilitate running libvirt builds via docker containers
Posted by Andrea Bolognani 5 years, 1 month ago
On Thu, 2019-03-14 at 12:16 +0000, Daniel P. Berrangé wrote:
> ping

I have this marked for review, but got sidetracked by other stuff...
I'll try to get to it by the end of the week.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list