qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 16/22] tests/docker: add script for automating container r


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 16/22] tests/docker: add script for automating container refresh
Date: Thu, 13 May 2021 12:18:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 5/13/21 11:55 AM, Daniel P. Berrangé wrote:
> This introduces
> 
>   https://gitlab.com/libvirt/libvirt-ci
> 
> as a git submodule at tests/docker/libvirt-ci
> 
> This submodule only needs to be checked out when needing to re-generate
> the files in tests/docker/dockerfiles.
> 
> When a new build pre-requisite is needed for QEMU, it should be added to
> the libvirt-ci project 'qemu.yml' file, and the submodule updated to the
> new commit. The 'make docker-refresh' target will then re-create all the
> dockerfiles with updated package lists. This ensures that all the
> containers get exactly the same build pre-requisite packages installed.
> 
> It also facilitates the addition of containers targetting new distros
> or updating existing containers to new versions of the same distro,
> where packages might have been renamed.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  .gitmodules                         |  3 ++
>  docs/devel/testing.rst              | 15 ++++++--
>  tests/docker/Makefile.include       | 10 ++++++
>  tests/docker/dockerfiles-refresh.py | 56 +++++++++++++++++++++++++++++
>  tests/docker/libvirt-ci             |  1 +
>  5 files changed, 83 insertions(+), 2 deletions(-)
>  create mode 100755 tests/docker/dockerfiles-refresh.py
>  create mode 160000 tests/docker/libvirt-ci

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]