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é <berra...@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é <phi...@redhat.com>


Reply via email to