[libvirt] [jenkins-ci PATCH 06/22] guests, jenkins: Build libvirt on CentOS 8 guests

Fabiano Fidêncio posted 22 patches 4 years, 11 months ago
There is a newer version of this series
[libvirt] [jenkins-ci PATCH 06/22] guests, jenkins: Build libvirt on CentOS 8 guests
Posted by Fabiano Fidêncio 4 years, 11 months ago
In order to perform a libvirt `update` and `build` on a CentOS 8 guest,
a few changes in the mappings have been done.

The changes are:
- libssh2 is not longer present:
  - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#literal_libssh2_literal_is_not_available_in_rhel_8

- librbd1-devel has been replaced by librdb-devel:
  - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#package-replacements_changes-to-packages

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
---
 guests/host_vars/libvirt-centos-8/main.yml | 3 +++
 guests/vars/mappings.yml                   | 2 ++
 jenkins/projects/libvirt.yaml              | 1 +
 3 files changed, 6 insertions(+)

diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml
index a147183..b924f1f 100644
--- a/guests/host_vars/libvirt-centos-8/main.yml
+++ b/guests/host_vars/libvirt-centos-8/main.yml
@@ -1,4 +1,7 @@
 ---
+projects:
+  - libvirt
+
 package_format: 'rpm'
 package_manager: 'dnf'
 os_name: 'CentOS'
diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 56310f0..f0614a3 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -379,6 +379,7 @@ mappings:
     deb: librbd-dev
     Fedora: librbd-devel
     CentOS7: librbd1-devel
+    CentOS8: librbd-devel
     OpenSUSE: librbd-devel
     cross-policy-deb: foreign
 
@@ -404,6 +405,7 @@ mappings:
     deb: libssh2-1-dev
     pkg: libssh2
     rpm: libssh2-devel
+    CentOS8:
     cross-policy-deb: foreign
 
   libtirpc:
diff --git a/jenkins/projects/libvirt.yaml b/jenkins/projects/libvirt.yaml
index fdc24bc..fa8fb89 100644
--- a/jenkins/projects/libvirt.yaml
+++ b/jenkins/projects/libvirt.yaml
@@ -14,6 +14,7 @@
           # commands with more arguments than FreeBSD supports
           machines:
             - libvirt-centos-7
+            - libvirt-centos-8
             - libvirt-debian-9
             - libvirt-debian-10
             - libvirt-fedora-30
-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [jenkins-ci PATCH 06/22] guests, jenkins: Build libvirt on CentOS 8 guests
Posted by Andrea Bolognani 4 years, 11 months ago
On Mon, 2019-12-09 at 16:20 +0100, Fabiano Fidêncio wrote:
> guests,jenkins: Build libvirt on CentOS 8 guests

s/,jenkins//

[...]
> +++ b/jenkins/projects/libvirt.yaml
> @@ -14,6 +14,7 @@
>            # commands with more arguments than FreeBSD supports
>            machines:
>              - libvirt-centos-7
> +            - libvirt-centos-8
>              - libvirt-debian-9
>              - libvirt-debian-10
>              - libvirt-fedora-30

You need to update

  guests/playbooks/build/projects/libvirt.yml

at the same time; in any case, as I said earlier, I expect all these
changes to be in a single patch that goes in at the very end of the
series.


For the hunks that change mappings and host_vars,

  Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

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