From nobody Thu Dec 18 13:44:19 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1506958788205915.5042942323853; Mon, 2 Oct 2017 08:39:48 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 12C84C059B63; Mon, 2 Oct 2017 15:39:47 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D4A0B841D2; Mon, 2 Oct 2017 15:39:46 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 790D71806103; Mon, 2 Oct 2017 15:39:46 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v92FBLNS019070 for ; Mon, 2 Oct 2017 11:11:21 -0400 Received: by smtp.corp.redhat.com (Postfix) id AFB7F17977; Mon, 2 Oct 2017 15:11:21 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 133B26E516 for ; Mon, 2 Oct 2017 15:11:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 12C84C059B63 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Date: Mon, 2 Oct 2017 17:10:43 +0200 Message-Id: <20171002151056.30841-6-abologna@redhat.com> In-Reply-To: <20171002151056.30841-1-abologna@redhat.com> References: <20171002151056.30841-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [libvirt-jenkins-ci PATCH 05/18] ansible: Add libvirt-cim project X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 02 Oct 2017 15:39:47 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- ansible/host_vars/libvirt-centos-6/main.yml | 1 + ansible/host_vars/libvirt-centos-7/main.yml | 1 + ansible/host_vars/libvirt-fedora-25/main.yml | 1 + ansible/host_vars/libvirt-fedora-26/main.yml | 1 + ansible/host_vars/libvirt-fedora-rawhide/main.yml | 1 + ansible/tasks/build.yml | 19 +++++++++++++++---- ansible/tasks/packages.yml | 11 +++++++++++ ansible/vars/libvirt-cim/CentOS-6.yml | 11 +++++++++++ ansible/vars/libvirt-cim/CentOS-7.yml | 11 +++++++++++ ansible/vars/libvirt-cim/Fedora-25.yml | 11 +++++++++++ ansible/vars/libvirt-cim/Fedora-26.yml | 11 +++++++++++ ansible/vars/libvirt-cim/Fedora-Rawhide.yml | 11 +++++++++++ 12 files changed, 86 insertions(+), 4 deletions(-) create mode 100644 ansible/vars/libvirt-cim/CentOS-6.yml create mode 100644 ansible/vars/libvirt-cim/CentOS-7.yml create mode 100644 ansible/vars/libvirt-cim/Fedora-25.yml create mode 100644 ansible/vars/libvirt-cim/Fedora-26.yml create mode 100644 ansible/vars/libvirt-cim/Fedora-Rawhide.yml diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_var= s/libvirt-centos-6/main.yml index 4d53bb3..f6fe574 100644 --- a/ansible/host_vars/libvirt-centos-6/main.yml +++ b/ansible/host_vars/libvirt-centos-6/main.yml @@ -2,3 +2,4 @@ projects: - base - libvirt + - libvirt-cim diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index 7508f19..ec2e50f 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-cim diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 7508f19..ec2e50f 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-cim diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 7508f19..ec2e50f 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-cim diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 7508f19..ec2e50f 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-cim diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index be9ecd3..2a26024 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -38,7 +38,15 @@ environment: when: - ( project =3D=3D 'libosinfo' or - project =3D=3D 'libvirt' ) + project =3D=3D 'libvirt' or + project =3D=3D 'libvirt-cim' ) + +- name: '{{ project }}: Run configure' + command: './configure {{ configure_options }}' + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-cim' =20 - name: '{{ project }}: Build project' command: '{{ make }} -j{{ smp }}' @@ -46,7 +54,8 @@ chdir: '{{ project }}' when: - ( project =3D=3D 'libosinfo' or - project =3D=3D 'libvirt' ) + project =3D=3D 'libvirt' or + project =3D=3D 'libvirt-cim' ) =20 - name: '{{ project }}: Run sanity checks' command: '{{ make }} -j{{ smp }} syntax-check' @@ -63,7 +72,8 @@ chdir: '{{ project }}' when: - ( ( project =3D=3D 'libvirt' and - os_name !=3D 'FreeBSD' ) ) + os_name !=3D 'FreeBSD' ) or + project =3D=3D 'libvirt-cim' ) =20 - name: '{{ project }}: Build RPM package' command: '{{ make }} -j{{ smp }} rpm' @@ -72,4 +82,5 @@ when: - ( os_name =3D=3D 'CentOS' or os_name =3D=3D 'Fedora' ) - - ( project =3D=3D 'libvirt' ) + - ( project =3D=3D 'libvirt' or + project =3D=3D 'libvirt-cim' ) diff --git a/ansible/tasks/packages.yml b/ansible/tasks/packages.yml index 630d794..7a66899 100644 --- a/ansible/tasks/packages.yml +++ b/ansible/tasks/packages.yml @@ -9,3 +9,14 @@ state: present with_items: '{{ packages }}' + +- name: '{{ project }}: Install extra packages' + package: + name: '{{ item }}' + state: present + with_items: + '{{ extra_packages }}' + when: + - extra_packages is defined + # Only extra additional packages if we're going to build later on + - build diff --git a/ansible/vars/libvirt-cim/CentOS-6.yml b/ansible/vars/libvirt-c= im/CentOS-6.yml new file mode 100644 index 0000000..8ff80c1 --- /dev/null +++ b/ansible/vars/libvirt-cim/CentOS-6.yml @@ -0,0 +1,11 @@ +--- +packages: + - libcmpiutil-devel + - libconfig-devel + - libuuid-devel + - libxml2-devel + - libxslt + - wget + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-cim/CentOS-7.yml b/ansible/vars/libvirt-c= im/CentOS-7.yml new file mode 100644 index 0000000..8ff80c1 --- /dev/null +++ b/ansible/vars/libvirt-cim/CentOS-7.yml @@ -0,0 +1,11 @@ +--- +packages: + - libcmpiutil-devel + - libconfig-devel + - libuuid-devel + - libxml2-devel + - libxslt + - wget + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-cim/Fedora-25.yml b/ansible/vars/libvirt-= cim/Fedora-25.yml new file mode 100644 index 0000000..8ff80c1 --- /dev/null +++ b/ansible/vars/libvirt-cim/Fedora-25.yml @@ -0,0 +1,11 @@ +--- +packages: + - libcmpiutil-devel + - libconfig-devel + - libuuid-devel + - libxml2-devel + - libxslt + - wget + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-cim/Fedora-26.yml b/ansible/vars/libvirt-= cim/Fedora-26.yml new file mode 100644 index 0000000..8ff80c1 --- /dev/null +++ b/ansible/vars/libvirt-cim/Fedora-26.yml @@ -0,0 +1,11 @@ +--- +packages: + - libcmpiutil-devel + - libconfig-devel + - libuuid-devel + - libxml2-devel + - libxslt + - wget + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-cim/Fedora-Rawhide.yml b/ansible/vars/lib= virt-cim/Fedora-Rawhide.yml new file mode 100644 index 0000000..8ff80c1 --- /dev/null +++ b/ansible/vars/libvirt-cim/Fedora-Rawhide.yml @@ -0,0 +1,11 @@ +--- +packages: + - libcmpiutil-devel + - libconfig-devel + - libuuid-devel + - libxml2-devel + - libxslt + - wget + +extra_packages: + - libvirt-devel --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list