[libvirt PATCH] ci: lcitool: Maintain project package deps lists here

Erik Skultety posted 1 patch 8 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/24451f1c2193616f6458ba74868bcd3bce3fb958.1692697601.git.eskultet@redhat.com
ci/lcitool/projects/libvirt+dist.yml    |  3 +
ci/lcitool/projects/libvirt+minimal.yml | 23 +++++++
ci/lcitool/projects/libvirt.yml         | 80 +++++++++++++++++++++++++
3 files changed, 106 insertions(+)
create mode 100644 ci/lcitool/projects/libvirt+dist.yml
create mode 100644 ci/lcitool/projects/libvirt+minimal.yml
create mode 100644 ci/lcitool/projects/libvirt.yml
[libvirt PATCH] ci: lcitool: Maintain project package deps lists here
Posted by Erik Skultety 8 months, 2 weeks ago
Each respective project that lcitool knows about and currently
maintains its list of package dependencies knows best what packages
they actually depend on. If a new dependency is currently needed, first
a change in lcitool is necessary before GitLab jobs and containers can
be updated. Provided a mapping already exists in lcitool (which can
quickly be added as an override via mappings.yml temporarily) we speed
up the whole CI update process by one step.
This patch adds all libvirt deps lists lcitool currently maintains for
libvirt.

Note that as with any overrides (since commit f199dd50) lcitool must be
invoked as '$ lcitool -d/--data-dir ci/lcitool ...'

Signed-off-by: Erik Skultety <eskultet@redhat.com>
---
 ci/lcitool/projects/libvirt+dist.yml    |  3 +
 ci/lcitool/projects/libvirt+minimal.yml | 23 +++++++
 ci/lcitool/projects/libvirt.yml         | 80 +++++++++++++++++++++++++
 3 files changed, 106 insertions(+)
 create mode 100644 ci/lcitool/projects/libvirt+dist.yml
 create mode 100644 ci/lcitool/projects/libvirt+minimal.yml
 create mode 100644 ci/lcitool/projects/libvirt.yml

diff --git a/ci/lcitool/projects/libvirt+dist.yml b/ci/lcitool/projects/libvirt+dist.yml
new file mode 100644
index 0000000000..1fc1b2c971
--- /dev/null
+++ b/ci/lcitool/projects/libvirt+dist.yml
@@ -0,0 +1,3 @@
+---
+packages:
+  - libvirt
diff --git a/ci/lcitool/projects/libvirt+minimal.yml b/ci/lcitool/projects/libvirt+minimal.yml
new file mode 100644
index 0000000000..dbb83a1e36
--- /dev/null
+++ b/ci/lcitool/projects/libvirt+minimal.yml
@@ -0,0 +1,23 @@
+---
+packages:
+  - ccache
+  - cpp
+  - gcc
+  - gettext
+  - glib2
+  - gnutls
+  - libc
+  - libnl3
+  - libnlroute3
+  - libtirpc
+  - libxml2
+  - make
+  - meson
+  - ninja
+  - perl
+  - pkg-config
+  - python3
+  - python3-docutils
+  - rpcgen
+  - xmllint
+  - xsltproc
diff --git a/ci/lcitool/projects/libvirt.yml b/ci/lcitool/projects/libvirt.yml
new file mode 100644
index 0000000000..0234a1cae3
--- /dev/null
+++ b/ci/lcitool/projects/libvirt.yml
@@ -0,0 +1,80 @@
+---
+packages:
+  - apparmor
+  - augeas
+  - augeas-lenses
+  - bash-completion
+  - ccache
+  - clang
+  - codespell
+  - cpp
+  - cppi
+  - cyrus-sasl
+  - device-mapper
+  - diffutils
+  - dlfcn
+  - dtrace
+  - dwarves
+  - ebtables
+  - firewalld-filesystem
+  - flake8
+  - fuse
+  - gcc
+  - gettext
+  - glib2
+  - glusterfs
+  - gnutls
+  - grep
+  - ip
+  - iptables
+  - iscsiadm
+  - libacl
+  - libattr
+  - libaudit
+  - libblkid
+  - libc
+  - libcap-ng
+  - libcurl
+  - libiscsi
+  - libnl3
+  - libnlroute3
+  - libnuma
+  - libparted
+  - libpcap
+  - libpciaccess
+  - librbd
+  - libselinux
+  - libssh
+  - libssh2
+  - libtirpc
+  - libudev
+  - libxml2
+  - lvm2
+  - make
+  - meson
+  - modprobe
+  - netcf
+  - ninja
+  - numad
+  - openwsman
+  - perl
+  - pkg-config
+  - polkit
+  - portablexdr
+  - python3
+  - python3-docutils
+  - qemu-img
+  - readline
+  - rpcgen
+  - rpmbuild
+  - sanlock
+  - scrub
+  - sed
+  - showmount
+  - systemd-rpm-macros
+  - tc
+  - wireshark
+  - xen
+  - xmllint
+  - xsltproc
+  - yajl
-- 
2.41.0
Re: [libvirt PATCH] ci: lcitool: Maintain project package deps lists here
Posted by Daniel P. Berrangé 8 months, 2 weeks ago
On Tue, Aug 22, 2023 at 11:46:43AM +0200, Erik Skultety wrote:
> Each respective project that lcitool knows about and currently
> maintains its list of package dependencies knows best what packages
> they actually depend on. If a new dependency is currently needed, first
> a change in lcitool is necessary before GitLab jobs and containers can
> be updated. Provided a mapping already exists in lcitool (which can
> quickly be added as an override via mappings.yml temporarily) we speed
> up the whole CI update process by one step.
> This patch adds all libvirt deps lists lcitool currently maintains for
> libvirt.
> 
> Note that as with any overrides (since commit f199dd50) lcitool must be
> invoked as '$ lcitool -d/--data-dir ci/lcitool ...'
> 
> Signed-off-by: Erik Skultety <eskultet@redhat.com>
> ---
>  ci/lcitool/projects/libvirt+dist.yml    |  3 +
>  ci/lcitool/projects/libvirt+minimal.yml | 23 +++++++
>  ci/lcitool/projects/libvirt.yml         | 80 +++++++++++++++++++++++++
>  3 files changed, 106 insertions(+)
>  create mode 100644 ci/lcitool/projects/libvirt+dist.yml
>  create mode 100644 ci/lcitool/projects/libvirt+minimal.yml
>  create mode 100644 ci/lcitool/projects/libvirt.yml

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


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