From nobody Sat May 4 11:35:33 2024 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 15069587464051008.4789259912451; Mon, 2 Oct 2017 08:39:06 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D2DC2C0587E9; Mon, 2 Oct 2017 15:39:04 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7682C5D720; Mon, 2 Oct 2017 15:39:04 +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 24F283FAD0; Mon, 2 Oct 2017 15:39:01 +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 v92FBGE9019035 for ; Mon, 2 Oct 2017 11:11:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id 79DE717977; Mon, 2 Oct 2017 15:11:16 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 92FE06FDA0 for ; Mon, 2 Oct 2017 15:11:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D2DC2C0587E9 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:39 +0200 Message-Id: <20171002151056.30841-2-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 01/18] ansible: Add initial support 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.14 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:05 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This commit adds just enough to bootstrap Jenkins workers and install packages required to build any project, such as gcc and make. Ubuntu 12-16 are supported, even though they're not actually used in libvirt CI, because there's a lot of overlap between this and Travis CI, which only supports Ubuntu instead. Signed-off-by: Andrea Bolognani --- ansible/.gitignore | 3 + ansible/Makefile | 12 ++++ ansible/ansible.cfg | 8 +++ ansible/bootstrap.yml | 17 +++++ ansible/group_vars/all/main.yml | 8 +++ ansible/host_vars/libvirt-centos-6/main.yml | 3 + ansible/host_vars/libvirt-centos-7/main.yml | 3 + ansible/host_vars/libvirt-debian-8/main.yml | 3 + ansible/host_vars/libvirt-debian-9/main.yml | 3 + ansible/host_vars/libvirt-fedora-25/main.yml | 3 + ansible/host_vars/libvirt-fedora-26/main.yml | 3 + ansible/host_vars/libvirt-fedora-rawhide/main.yml | 3 + ansible/host_vars/libvirt-freebsd-11/main.yml | 10 +++ ansible/host_vars/libvirt-ubuntu-12/main.yml | 3 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 3 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 3 + ansible/inventory | 8 +++ ansible/site.yml | 17 +++++ ansible/tasks/base.yml | 77 +++++++++++++++++++= ++++ ansible/tasks/bootstrap.yml | 22 +++++++ ansible/tasks/facts.yml | 14 +++++ ansible/tasks/packages.yml | 11 ++++ ansible/vars/base/CentOS-6.yml | 13 ++++ ansible/vars/base/CentOS-7.yml | 13 ++++ ansible/vars/base/Debian-8.yml | 14 +++++ ansible/vars/base/Debian-9.yml | 14 +++++ ansible/vars/base/Fedora-25.yml | 15 +++++ ansible/vars/base/Fedora-26.yml | 15 +++++ ansible/vars/base/Fedora-Rawhide.yml | 15 +++++ ansible/vars/base/FreeBSD-11.yml | 11 ++++ ansible/vars/base/Ubuntu-12.yml | 13 ++++ ansible/vars/base/Ubuntu-14.yml | 13 ++++ ansible/vars/base/Ubuntu-16.yml | 14 +++++ 33 files changed, 387 insertions(+) create mode 100644 ansible/.gitignore create mode 100644 ansible/Makefile create mode 100644 ansible/ansible.cfg create mode 100644 ansible/bootstrap.yml create mode 100644 ansible/group_vars/all/main.yml create mode 100644 ansible/host_vars/libvirt-centos-6/main.yml create mode 100644 ansible/host_vars/libvirt-centos-7/main.yml create mode 100644 ansible/host_vars/libvirt-debian-8/main.yml create mode 100644 ansible/host_vars/libvirt-debian-9/main.yml create mode 100644 ansible/host_vars/libvirt-fedora-25/main.yml create mode 100644 ansible/host_vars/libvirt-fedora-26/main.yml create mode 100644 ansible/host_vars/libvirt-fedora-rawhide/main.yml create mode 100644 ansible/host_vars/libvirt-freebsd-11/main.yml create mode 100644 ansible/host_vars/libvirt-ubuntu-12/main.yml create mode 100644 ansible/host_vars/libvirt-ubuntu-14/main.yml create mode 100644 ansible/host_vars/libvirt-ubuntu-16/main.yml create mode 100644 ansible/inventory create mode 100644 ansible/site.yml create mode 100644 ansible/tasks/base.yml create mode 100644 ansible/tasks/bootstrap.yml create mode 100644 ansible/tasks/facts.yml create mode 100644 ansible/tasks/packages.yml create mode 100644 ansible/vars/base/CentOS-6.yml create mode 100644 ansible/vars/base/CentOS-7.yml create mode 100644 ansible/vars/base/Debian-8.yml create mode 100644 ansible/vars/base/Debian-9.yml create mode 100644 ansible/vars/base/Fedora-25.yml create mode 100644 ansible/vars/base/Fedora-26.yml create mode 100644 ansible/vars/base/Fedora-Rawhide.yml create mode 100644 ansible/vars/base/FreeBSD-11.yml create mode 100644 ansible/vars/base/Ubuntu-12.yml create mode 100644 ansible/vars/base/Ubuntu-14.yml create mode 100644 ansible/vars/base/Ubuntu-16.yml diff --git a/ansible/.gitignore b/ansible/.gitignore new file mode 100644 index 0000000..4a271f2 --- /dev/null +++ b/ansible/.gitignore @@ -0,0 +1,3 @@ +*.retry +*.swp +log diff --git a/ansible/Makefile b/ansible/Makefile new file mode 100644 index 0000000..39ebe52 --- /dev/null +++ b/ansible/Makefile @@ -0,0 +1,12 @@ +all: + +site: + @ansible-playbook site.yml + +bootstrap: + @ansible-playbook --ask-pass bootstrap.yml + +clean: + @rm -f *.retry log + +.PHONY: all site bootstrap clean diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg new file mode 100644 index 0000000..ca02677 --- /dev/null +++ b/ansible/ansible.cfg @@ -0,0 +1,8 @@ +[defaults] +display_skipped_hosts =3D False +forks =3D 16 +inventory =3D ./inventory +log_path =3D ./log +nocows =3D 1 +pipelining =3D True +squash_actions =3D package diff --git a/ansible/bootstrap.yml b/ansible/bootstrap.yml new file mode 100644 index 0000000..67c359d --- /dev/null +++ b/ansible/bootstrap.yml @@ -0,0 +1,17 @@ +--- +- hosts: all + gather_facts: no + + tasks: + + # Bootstrap Ansible itself + - include: tasks/bootstrap.yml + + +- hosts: all + + tasks: + + # Prepare the base environment + - include: tasks/facts.yml + - include: tasks/base.yml diff --git a/ansible/group_vars/all/main.yml b/ansible/group_vars/all/main.= yml new file mode 100644 index 0000000..e8d3cb6 --- /dev/null +++ b/ansible/group_vars/all/main.yml @@ -0,0 +1,8 @@ +--- +ansible_user: root + +# Paths to various command. Can be overridden on a per-host basis +bash: /bin/bash +java: /usr/bin/java +make: /usr/bin/make +sudo: /usr/bin/sudo diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_var= s/libvirt-centos-6/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-centos-6/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml new file mode 100644 index 0000000..d405d58 --- /dev/null +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -0,0 +1,10 @@ +--- +ansible_python_interpreter: /usr/local/bin/python2 + +bash: /usr/local/bin/bash +java: /usr/local/bin/java +make: /usr/local/bin/gmake +sudo: /usr/local/bin/sudo + +projects: + - base diff --git a/ansible/host_vars/libvirt-ubuntu-12/main.yml b/ansible/host_va= rs/libvirt-ubuntu-12/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-ubuntu-12/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml new file mode 100644 index 0000000..1602406 --- /dev/null +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -0,0 +1,3 @@ +--- +projects: + - base diff --git a/ansible/inventory b/ansible/inventory new file mode 100644 index 0000000..3becfa0 --- /dev/null +++ b/ansible/inventory @@ -0,0 +1,8 @@ +libvirt-centos-7 +libvirt-centos-6 +libvirt-debian-9 +libvirt-debian-8 +libvirt-fedora-rawhide +libvirt-fedora-26 +libvirt-fedora-25 +libvirt-freebsd-11 diff --git a/ansible/site.yml b/ansible/site.yml new file mode 100644 index 0000000..27af6de --- /dev/null +++ b/ansible/site.yml @@ -0,0 +1,17 @@ +--- +- hosts: all + + tasks: + + # Prepare the base environment + - include: tasks/facts.yml + - include: tasks/base.yml + + # Install build dependencies for each project + - include: tasks/packages.yml + with_items: + '{{ projects }}' + loop_control: + loop_var: project + when: + - projects is defined diff --git a/ansible/tasks/base.yml b/ansible/tasks/base.yml new file mode 100644 index 0000000..989c5a6 --- /dev/null +++ b/ansible/tasks/base.yml @@ -0,0 +1,77 @@ +--- +- name: Bootstrap the package module + command: dnf install -y python2-dnf + args: + creates: /usr/lib*/python2*/*-packages/dnf + when: + - os_name =3D=3D 'Fedora' + +- name: Bootstrap the package module + command: apt-get install -y python-apt + args: + creates: /usr/lib/python2*/*-packages/apt + when: + - ( os_name =3D=3D 'Debian' or + os_name =3D=3D 'Ubuntu' ) + +- name: Update installed packages + package: + name: '*' + state: latest + when: + - ( os_name =3D=3D 'CentOS' or + os_name =3D=3D 'Fedora' ) + +- name: Update installed packages + apt: + upgrade: dist + update_cache: yes + when: + - ( os_name =3D=3D 'Debian' or + os_name =3D=3D 'Ubuntu' ) + +- name: Update installed packages + shell: pkg update && pkg upgrade -y + when: + - os_name =3D=3D 'FreeBSD' + +- name: Install base packages + package: + name: '{{ item }}' + state: present + with_items: + - bash + - git + - screen + - sudo + - vim + +- name: Remove unwanted packages + package: + name: '{{ item }}' + state: absent + with_items: + - nano + +- name: Permit file editing on SELinux-enabled systems + package: + name: libselinux-python + state: present + when: + - ( os_name =3D=3D 'CentOS' or + os_name =3D=3D 'Fedora' ) + +- name: Configure hostname + hostname: + name: '{{ inventory_hostname }}' + +- name: Configure root shell + user: + name: root + shell: '{{ bash }}' + +- name: Configure ssh access for the root user + authorized_key: + user: root + key: '{{ lookup("file", lookup("env", "HOME") + "/.ssh/id_rsa.pub") }}' + state: present diff --git a/ansible/tasks/bootstrap.yml b/ansible/tasks/bootstrap.yml new file mode 100644 index 0000000..24848c8 --- /dev/null +++ b/ansible/tasks/bootstrap.yml @@ -0,0 +1,22 @@ +--- +- name: Bootstrap the pkgng package manager + raw: env ASSUME_ALWAYS_YES=3DYES pkg bootstrap + when: + - inventory_hostname|search('freebsd') + +- name: Bootstrap Ansible + raw: yum install -y python2 + when: + - ( inventory_hostname|search('centos') or + inventory_hostname|search('fedora') ) + +- name: Bootstrap Ansible + raw: apt-get install -y python + when: + - ( inventory_hostname|search('debian') or + inventory_hostname|search('ubuntu') ) + +- name: Bootstrap Ansible + raw: pkg install -y python2 + when: + - inventory_hostname|search('freebsd') diff --git a/ansible/tasks/facts.yml b/ansible/tasks/facts.yml new file mode 100644 index 0000000..223aa1e --- /dev/null +++ b/ansible/tasks/facts.yml @@ -0,0 +1,14 @@ +--- +- name: Set additional facts + set_fact: + os_name: '{{ ansible_distribution }}' + os_version: '{{ ansible_distribution_major_version }}' + when: + - ansible_distribution_release !=3D 'Rawhide' + +- name: Set additional facts + set_fact: + os_name: '{{ ansible_distribution }}' + os_version: Rawhide + when: + - ansible_distribution_release =3D=3D 'Rawhide' diff --git a/ansible/tasks/packages.yml b/ansible/tasks/packages.yml new file mode 100644 index 0000000..630d794 --- /dev/null +++ b/ansible/tasks/packages.yml @@ -0,0 +1,11 @@ +--- +- name: '{{ project }}: Load variables' + include_vars: + file: 'vars/{{ project }}/{{ os_name }}-{{ os_version }}.yml' + +- name: '{{ project }}: Install packages' + package: + name: '{{ item }}' + state: present + with_items: + '{{ packages }}' diff --git a/ansible/vars/base/CentOS-6.yml b/ansible/vars/base/CentOS-6.yml new file mode 100644 index 0000000..b107a8f --- /dev/null +++ b/ansible/vars/base/CentOS-6.yml @@ -0,0 +1,13 @@ +--- +packages: + - autoconf + - automake + - gcc + - gettext + - gettext-devel + - glibc-devel + - libtool + - make + - patch + - pkgconfig + - rpm-build diff --git a/ansible/vars/base/CentOS-7.yml b/ansible/vars/base/CentOS-7.yml new file mode 100644 index 0000000..b107a8f --- /dev/null +++ b/ansible/vars/base/CentOS-7.yml @@ -0,0 +1,13 @@ +--- +packages: + - autoconf + - automake + - gcc + - gettext + - gettext-devel + - glibc-devel + - libtool + - make + - patch + - pkgconfig + - rpm-build diff --git a/ansible/vars/base/Debian-8.yml b/ansible/vars/base/Debian-8.yml new file mode 100644 index 0000000..b36ade7 --- /dev/null +++ b/ansible/vars/base/Debian-8.yml @@ -0,0 +1,14 @@ +--- +packages: + - autoconf + - automake + - autopoint + - ccache + - gcc + - gettext + - libc6-dev + - libtool + - libtool-bin + - make + - patch + - pkgconf diff --git a/ansible/vars/base/Debian-9.yml b/ansible/vars/base/Debian-9.yml new file mode 100644 index 0000000..b36ade7 --- /dev/null +++ b/ansible/vars/base/Debian-9.yml @@ -0,0 +1,14 @@ +--- +packages: + - autoconf + - automake + - autopoint + - ccache + - gcc + - gettext + - libc6-dev + - libtool + - libtool-bin + - make + - patch + - pkgconf diff --git a/ansible/vars/base/Fedora-25.yml b/ansible/vars/base/Fedora-25.= yml new file mode 100644 index 0000000..733efa8 --- /dev/null +++ b/ansible/vars/base/Fedora-25.yml @@ -0,0 +1,15 @@ +--- +packages: + - autoconf + - automake + - ccache + - cppi + - gcc + - gettext + - gettext-devel + - glibc-devel + - libtool + - make + - patch + - pkgconfig + - rpm-build diff --git a/ansible/vars/base/Fedora-26.yml b/ansible/vars/base/Fedora-26.= yml new file mode 100644 index 0000000..733efa8 --- /dev/null +++ b/ansible/vars/base/Fedora-26.yml @@ -0,0 +1,15 @@ +--- +packages: + - autoconf + - automake + - ccache + - cppi + - gcc + - gettext + - gettext-devel + - glibc-devel + - libtool + - make + - patch + - pkgconfig + - rpm-build diff --git a/ansible/vars/base/Fedora-Rawhide.yml b/ansible/vars/base/Fedor= a-Rawhide.yml new file mode 100644 index 0000000..733efa8 --- /dev/null +++ b/ansible/vars/base/Fedora-Rawhide.yml @@ -0,0 +1,15 @@ +--- +packages: + - autoconf + - automake + - ccache + - cppi + - gcc + - gettext + - gettext-devel + - glibc-devel + - libtool + - make + - patch + - pkgconfig + - rpm-build diff --git a/ansible/vars/base/FreeBSD-11.yml b/ansible/vars/base/FreeBSD-1= 1.yml new file mode 100644 index 0000000..e8c6315 --- /dev/null +++ b/ansible/vars/base/FreeBSD-11.yml @@ -0,0 +1,11 @@ +--- +packages: + - autoconf + - automake + - ccache + - cppi + - gettext + - gettext-tools + - gmake + - libtool + - pkgconf diff --git a/ansible/vars/base/Ubuntu-12.yml b/ansible/vars/base/Ubuntu-12.= yml new file mode 100644 index 0000000..3b87b33 --- /dev/null +++ b/ansible/vars/base/Ubuntu-12.yml @@ -0,0 +1,13 @@ +--- +packages: + - autoconf + - automake + - autopoint + - ccache + - gcc + - gettext + - libc6-dev + - libtool + - make + - patch + - pkg-config diff --git a/ansible/vars/base/Ubuntu-14.yml b/ansible/vars/base/Ubuntu-14.= yml new file mode 100644 index 0000000..da5a6ff --- /dev/null +++ b/ansible/vars/base/Ubuntu-14.yml @@ -0,0 +1,13 @@ +--- +packages: + - autoconf + - automake + - autopoint + - ccache + - gcc + - gettext + - libc6-dev + - libtool + - make + - patch + - pkgconf diff --git a/ansible/vars/base/Ubuntu-16.yml b/ansible/vars/base/Ubuntu-16.= yml new file mode 100644 index 0000000..b36ade7 --- /dev/null +++ b/ansible/vars/base/Ubuntu-16.yml @@ -0,0 +1,14 @@ +--- +packages: + - autoconf + - automake + - autopoint + - ccache + - gcc + - gettext + - libc6-dev + - libtool + - libtool-bin + - make + - patch + - pkgconf --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 15069575575851006.8306891446456; Mon, 2 Oct 2017 08:19:17 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6C7CD80460; Mon, 2 Oct 2017 15:19:16 +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 4E6A499DDF; Mon, 2 Oct 2017 15:19:16 +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 0847B18355C6; Mon, 2 Oct 2017 15:19:16 +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 v92FBHec019040 for ; Mon, 2 Oct 2017 11:11:17 -0400 Received: by smtp.corp.redhat.com (Postfix) id B8D9A17DDA; Mon, 2 Oct 2017 15:11:17 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 17B9417977 for ; Mon, 2 Oct 2017 15:11:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6C7CD80460 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.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:40 +0200 Message-Id: <20171002151056.30841-3-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 02/18] ansible: Add initial support for building projects 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.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 02 Oct 2017 15:19:16 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Building projects is entirely controlled by Jenkins in a production environment, but it can be useful to trigger builds via Ansible during development to figure out build dependencies and for sanity checking purposes. Signed-off-by: Andrea Bolognani --- ansible/group_vars/all/main.yml | 8 ++++++++ ansible/site.yml | 12 ++++++++++++ ansible/tasks/build.yml | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 ansible/tasks/build.yml diff --git a/ansible/group_vars/all/main.yml b/ansible/group_vars/all/main.= yml index e8d3cb6..cd97458 100644 --- a/ansible/group_vars/all/main.yml +++ b/ansible/group_vars/all/main.yml @@ -6,3 +6,11 @@ bash: /bin/bash java: /usr/bin/java make: /usr/bin/make sudo: /usr/bin/sudo + +# Wether to build software. While this is useful for figuring out build +# dependencies, it should not be turned on in production because it causes +# extra packages to be installed, which can interfere with the CI jobs +build: false + +# How many parallel jobs to use when building software +smp: 3 diff --git a/ansible/site.yml b/ansible/site.yml index 27af6de..4603a59 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -15,3 +15,15 @@ loop_var: project when: - projects is defined + + - include: tasks/build.yml + with_items: + '{{ projects }}' + loop_control: + loop_var: project + when: + - projects is defined + # base is a pseudo-projects + - project !=3D 'base' + # Building can be turned on and off + - build diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml new file mode 100644 index 0000000..edb0064 --- /dev/null +++ b/ansible/tasks/build.yml @@ -0,0 +1,14 @@ +--- +- name: '{{ project }}: Load variables' + include_vars: + file: 'vars/{{ project }}/{{ os_name }}-{{ os_version }}.yml' + +- name: '{{ project }}: Drop local changes' + command: git reset --hard + args: + chdir: '{{ project }}' + +- name: '{{ project }}: Clean up' + command: git clean -xdf + args: + chdir: '{{ project }}' --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506958475963646.8455883797369; Mon, 2 Oct 2017 08:34:35 -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 E7AD0C0587F2; Mon, 2 Oct 2017 15:34:34 +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 C2583841C6; Mon, 2 Oct 2017 15:34:34 +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 83E151806103; Mon, 2 Oct 2017 15:34:34 +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 v92FBJOi019050 for ; Mon, 2 Oct 2017 11:11:19 -0400 Received: by smtp.corp.redhat.com (Postfix) id F3EA617977; Mon, 2 Oct 2017 15:11:18 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 554CD6F999 for ; Mon, 2 Oct 2017 15:11:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E7AD0C0587F2 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:41 +0200 Message-Id: <20171002151056.30841-4-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 03/18] ansible: Add libosinfo 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:34:35 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 40 +++++++++++++++++++= ++++ ansible/vars/libosinfo/CentOS-7.yml | 19 +++++++++++ ansible/vars/libosinfo/Debian-8.yml | 19 +++++++++++ ansible/vars/libosinfo/Debian-9.yml | 19 +++++++++++ ansible/vars/libosinfo/Fedora-25.yml | 19 +++++++++++ ansible/vars/libosinfo/Fedora-26.yml | 19 +++++++++++ ansible/vars/libosinfo/Fedora-Rawhide.yml | 19 +++++++++++ ansible/vars/libosinfo/FreeBSD-11.yml | 19 +++++++++++ ansible/vars/libosinfo/Ubuntu-14.yml | 19 +++++++++++ ansible/vars/libosinfo/Ubuntu-16.yml | 19 +++++++++++ 19 files changed, 220 insertions(+) create mode 100644 ansible/vars/libosinfo/CentOS-7.yml create mode 100644 ansible/vars/libosinfo/Debian-8.yml create mode 100644 ansible/vars/libosinfo/Debian-9.yml create mode 100644 ansible/vars/libosinfo/Fedora-25.yml create mode 100644 ansible/vars/libosinfo/Fedora-26.yml create mode 100644 ansible/vars/libosinfo/Fedora-Rawhide.yml create mode 100644 ansible/vars/libosinfo/FreeBSD-11.yml create mode 100644 ansible/vars/libosinfo/Ubuntu-14.yml create mode 100644 ansible/vars/libosinfo/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index d405d58..81e362d 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -8,3 +8,4 @@ sudo: /usr/local/bin/sudo =20 projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 1602406..a40cb4c 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libosinfo diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index edb0064..2210261 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -12,3 +12,43 @@ command: git clean -xdf args: chdir: '{{ project }}' + +# C build + +- name: '{{ project }}: Prepare configure options' + set_fact: + configure_options: [] + +- name: '{{ project }}: Prepare configure options' + set_fact: + configure_options: '{{ configure_options }} + [ "{{ features[item] }}"= ]' + with_items: + '{{ features }}' + when: + - features is defined + +- name: '{{ project }}: Prepare configure options' + set_fact: + configure_options: '{{ configure_options | join(" ") }}' + +- name: '{{ project }}: Run autogen.sh' + command: './autogen.sh {{ configure_options }}' + args: + chdir: '{{ project }}' + environment: + when: + - project =3D=3D 'libosinfo' + +- name: '{{ project }}: Build project' + command: '{{ make }} -j{{ smp }}' + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libosinfo' + +- name: '{{ project }}: Run sanity checks' + command: '{{ make }} -j{{ smp }} syntax-check' + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libosinfo' diff --git a/ansible/vars/libosinfo/CentOS-7.yml b/ansible/vars/libosinfo/C= entOS-7.yml new file mode 100644 index 0000000..c833b54 --- /dev/null +++ b/ansible/vars/libosinfo/CentOS-7.yml @@ -0,0 +1,19 @@ +--- +packages: + - check-devel + - glib2-devel + - gnome-common + - gobject-introspection-devel + - gtk-doc + - hwdata + - intltool + - libsoup-devel + - libxml2 + - libxml2-devel + - libxslt-devel + - vala + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/Debian-8.yml b/ansible/vars/libosinfo/D= ebian-8.yml new file mode 100644 index 0000000..f2d7ac1 --- /dev/null +++ b/ansible/vars/libosinfo/Debian-8.yml @@ -0,0 +1,19 @@ +--- +packages: + - check + - gnome-common + - gtk-doc-tools + - hwdata + - intltool + - libgirepository1.0-dev + - libglib2.0-dev + - libsoup2.4-dev + - libxml2-dev + - libxml2-utils + - libxslt1-dev + - valac + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/Debian-9.yml b/ansible/vars/libosinfo/D= ebian-9.yml new file mode 100644 index 0000000..f2d7ac1 --- /dev/null +++ b/ansible/vars/libosinfo/Debian-9.yml @@ -0,0 +1,19 @@ +--- +packages: + - check + - gnome-common + - gtk-doc-tools + - hwdata + - intltool + - libgirepository1.0-dev + - libglib2.0-dev + - libsoup2.4-dev + - libxml2-dev + - libxml2-utils + - libxslt1-dev + - valac + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/Fedora-25.yml b/ansible/vars/libosinfo/= Fedora-25.yml new file mode 100644 index 0000000..c833b54 --- /dev/null +++ b/ansible/vars/libosinfo/Fedora-25.yml @@ -0,0 +1,19 @@ +--- +packages: + - check-devel + - glib2-devel + - gnome-common + - gobject-introspection-devel + - gtk-doc + - hwdata + - intltool + - libsoup-devel + - libxml2 + - libxml2-devel + - libxslt-devel + - vala + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/Fedora-26.yml b/ansible/vars/libosinfo/= Fedora-26.yml new file mode 100644 index 0000000..c833b54 --- /dev/null +++ b/ansible/vars/libosinfo/Fedora-26.yml @@ -0,0 +1,19 @@ +--- +packages: + - check-devel + - glib2-devel + - gnome-common + - gobject-introspection-devel + - gtk-doc + - hwdata + - intltool + - libsoup-devel + - libxml2 + - libxml2-devel + - libxslt-devel + - vala + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/Fedora-Rawhide.yml b/ansible/vars/libos= info/Fedora-Rawhide.yml new file mode 100644 index 0000000..c833b54 --- /dev/null +++ b/ansible/vars/libosinfo/Fedora-Rawhide.yml @@ -0,0 +1,19 @@ +--- +packages: + - check-devel + - glib2-devel + - gnome-common + - gobject-introspection-devel + - gtk-doc + - hwdata + - intltool + - libsoup-devel + - libxml2 + - libxml2-devel + - libxslt-devel + - vala + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/FreeBSD-11.yml b/ansible/vars/libosinfo= /FreeBSD-11.yml new file mode 100644 index 0000000..27787cf --- /dev/null +++ b/ansible/vars/libosinfo/FreeBSD-11.yml @@ -0,0 +1,19 @@ +--- +packages: + - check + - glib + - gnome-common + - gobject-introspection + - gtk-doc + - intltool + - libsoup + - libxml2 + - libxslt + - pciids + - usbids + - vala + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/Ubuntu-14.yml b/ansible/vars/libosinfo/= Ubuntu-14.yml new file mode 100644 index 0000000..f2d7ac1 --- /dev/null +++ b/ansible/vars/libosinfo/Ubuntu-14.yml @@ -0,0 +1,19 @@ +--- +packages: + - check + - gnome-common + - gtk-doc-tools + - hwdata + - intltool + - libgirepository1.0-dev + - libglib2.0-dev + - libsoup2.4-dev + - libxml2-dev + - libxml2-utils + - libxslt1-dev + - valac + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libosinfo/Ubuntu-16.yml b/ansible/vars/libosinfo/= Ubuntu-16.yml new file mode 100644 index 0000000..f2d7ac1 --- /dev/null +++ b/ansible/vars/libosinfo/Ubuntu-16.yml @@ -0,0 +1,19 @@ +--- +packages: + - check + - gnome-common + - gtk-doc-tools + - hwdata + - intltool + - libgirepository1.0-dev + - libglib2.0-dev + - libsoup2.4-dev + - libxml2-dev + - libxml2-utils + - libxslt1-dev + - valac + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506957579797613.0715409113818; Mon, 2 Oct 2017 08:19:39 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 69410356FC; Mon, 2 Oct 2017 15:19:37 +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 4657E11A4D3; Mon, 2 Oct 2017 15:19:37 +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 0928018355C9; Mon, 2 Oct 2017 15:19:37 +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 v92FBKg2019061 for ; Mon, 2 Oct 2017 11:11:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id A93B117977; Mon, 2 Oct 2017 15:11:20 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 63AF26E516 for ; Mon, 2 Oct 2017 15:11:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 69410356FC Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.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:42 +0200 Message-Id: <20171002151056.30841-5-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 04/18] ansible: Add libvirt 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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 02 Oct 2017 15:19:38 +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-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-12/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/site.yml | 1 + ansible/tasks/build.yml | 27 +++- ansible/tasks/compat.yml | 16 +++ ansible/vars/libvirt/CentOS-6.yml | 119 +++++++++++++++++ ansible/vars/libvirt/CentOS-7.yml | 121 ++++++++++++++++++ ansible/vars/libvirt/Debian-8.yml | 124 ++++++++++++++++++ ansible/vars/libvirt/Debian-9.yml | 126 ++++++++++++++++++ ansible/vars/libvirt/Fedora-25.yml | 125 ++++++++++++++++++ ansible/vars/libvirt/Fedora-26.yml | 124 ++++++++++++++++++ ansible/vars/libvirt/Fedora-Rawhide.yml | 148 ++++++++++++++++++= ++++ ansible/vars/libvirt/FreeBSD-11.yml | 98 ++++++++++++++ ansible/vars/libvirt/Ubuntu-12.yml | 122 ++++++++++++++++++ ansible/vars/libvirt/Ubuntu-14.yml | 125 ++++++++++++++++++ ansible/vars/libvirt/Ubuntu-16.yml | 128 +++++++++++++++++++ 25 files changed, 1412 insertions(+), 3 deletions(-) create mode 100644 ansible/tasks/compat.yml create mode 100644 ansible/vars/libvirt/CentOS-6.yml create mode 100644 ansible/vars/libvirt/CentOS-7.yml create mode 100644 ansible/vars/libvirt/Debian-8.yml create mode 100644 ansible/vars/libvirt/Debian-9.yml create mode 100644 ansible/vars/libvirt/Fedora-25.yml create mode 100644 ansible/vars/libvirt/Fedora-26.yml create mode 100644 ansible/vars/libvirt/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt/Ubuntu-12.yml create mode 100644 ansible/vars/libvirt/Ubuntu-14.yml create mode 100644 ansible/vars/libvirt/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_var= s/libvirt-centos-6/main.yml index 1602406..4d53bb3 100644 --- a/ansible/host_vars/libvirt-centos-6/main.yml +++ b/ansible/host_vars/libvirt-centos-6/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libvirt diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index 81e362d..a8766a0 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -9,3 +9,4 @@ sudo: /usr/local/bin/sudo projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-ubuntu-12/main.yml b/ansible/host_va= rs/libvirt-ubuntu-12/main.yml index 1602406..4d53bb3 100644 --- a/ansible/host_vars/libvirt-ubuntu-12/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-12/main.yml @@ -1,3 +1,4 @@ --- projects: - base + - libvirt diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index a40cb4c..7508f19 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -2,3 +2,4 @@ projects: - base - libosinfo + - libvirt diff --git a/ansible/site.yml b/ansible/site.yml index 4603a59..b6caea0 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -6,6 +6,7 @@ # Prepare the base environment - include: tasks/facts.yml - include: tasks/base.yml + - include: tasks/compat.yml =20 # Install build dependencies for each project - include: tasks/packages.yml diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 2210261..be9ecd3 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -37,18 +37,39 @@ chdir: '{{ project }}' environment: when: - - project =3D=3D 'libosinfo' + - ( project =3D=3D 'libosinfo' or + project =3D=3D 'libvirt' ) =20 - name: '{{ project }}: Build project' command: '{{ make }} -j{{ smp }}' args: chdir: '{{ project }}' when: - - project =3D=3D 'libosinfo' + - ( project =3D=3D 'libosinfo' or + project =3D=3D 'libvirt' ) =20 - name: '{{ project }}: Run sanity checks' command: '{{ make }} -j{{ smp }} syntax-check' args: chdir: '{{ project }}' when: - - project =3D=3D 'libosinfo' + - ( project =3D=3D 'libosinfo' or + ( project =3D=3D 'libvirt' and + os_name !=3D 'FreeBSD' ) ) + +- name: '{{ project }}: Run test suite' + command: '{{ make }} -j{{ smp }} check' + args: + chdir: '{{ project }}' + when: + - ( ( project =3D=3D 'libvirt' and + os_name !=3D 'FreeBSD' ) ) + +- name: '{{ project }}: Build RPM package' + command: '{{ make }} -j{{ smp }} rpm' + args: + chdir: '{{ project }}' + when: + - ( os_name =3D=3D 'CentOS' or + os_name =3D=3D 'Fedora' ) + - ( project =3D=3D 'libvirt' ) diff --git a/ansible/tasks/compat.yml b/ansible/tasks/compat.yml new file mode 100644 index 0000000..1590e9c --- /dev/null +++ b/ansible/tasks/compat.yml @@ -0,0 +1,16 @@ +--- +- name: Create compatibility symlinks + file: + src: '/usr/local/{{ item }}' + dest: '/usr/{{ item }}' + state: link + force: yes + with_items: + - include/readline + - include/sasl + - include/yajl + - lib/libreadline.so + - lib/libsasl2.so + - lib/libyajl.so + when: + - os_name =3D=3D 'FreeBSD' diff --git a/ansible/vars/libvirt/CentOS-6.yml b/ansible/vars/libvirt/CentO= S-6.yml new file mode 100644 index 0000000..eb74b55 --- /dev/null +++ b/ansible/vars/libvirt/CentOS-6.yml @@ -0,0 +1,119 @@ +--- +packages: + - audit-libs-devel + - augeas + - avahi-devel + - cyrus-sasl-devel + - dbus-devel + - device-mapper-devel + - dnsmasq + - ebtables + - glusterfs-api-devel + - gnutls-devel + - iscsi-initiator-utils + - libacl-devel + - libattr-devel + - libblkid-devel + - libcap-ng-devel + - libcurl-devel + - libnl-devel + - libnl3-devel + - libpcap-devel + - libpciaccess-devel + - libselinux-devel + - libssh2-devel + - libudev-devel + - libwsman-devel + - libxml2-devel + - libxslt + - lvm2 + - netcf-devel + - nfs-utils + - numactl-devel + - numad + - openssl-devel + - parted + - parted-devel + - polkit-devel + - qemu-img + - radvd + - readline-devel + - sanlock-devel + - scrub + - systemtap-sdt-devel + - yajl-devel + +features: + with_apparmor: --without-apparmor # not available + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --without-fuse # too old + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --without-libssh # not available + with_libvirtd: --with-libvirtd + with_libxl: --without-libxl # not available + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --with-numad + with_openssl: --with-openssl + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --without-storage-rbd # not available + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --without-storage-sheepdog # not available + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --without-storage-zfs # not available + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --without-wireshark-dissector # too old + with_xenapi: --without-xenapi # not available + with_xen_inotify: --without-xen-inotify # not available + with_xen: --without-xen # not available + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/CentOS-7.yml b/ansible/vars/libvirt/CentO= S-7.yml new file mode 100644 index 0000000..e0b89f7 --- /dev/null +++ b/ansible/vars/libvirt/CentOS-7.yml @@ -0,0 +1,121 @@ +--- +packages: + - audit-libs-devel + - augeas + - avahi-devel + - cyrus-sasl-devel + - dbus-devel + - device-mapper-devel + - dnsmasq + - ebtables + - fuse-devel + - glusterfs-api-devel + - gnutls-devel + - iscsi-initiator-utils + - libacl-devel + - libattr-devel + - libblkid-devel + - libcap-ng-devel + - libcurl-devel + - libnl3-devel + - libpcap-devel + - libpciaccess-devel + - librbd1-devel + - libselinux-devel + - libssh-devel + - libssh2-devel + - libudev-devel + - libwsman-devel + - libxml2-devel + - libxslt + - lvm2 + - netcf-devel + - nfs-utils + - numactl-devel + - numad + - openssl-devel + - parted + - parted-devel + - polkit-devel + - qemu-img + - radvd + - readline-devel + - sanlock-devel + - scrub + - systemtap-sdt-devel + - yajl-devel + +features: + with_apparmor: --without-apparmor # not available + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --with-libssh + with_libvirtd: --with-libvirtd + with_libxl: --without-libxl # not available + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --with-numad + with_openssl: --with-openssl + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --without-storage-sheepdog # not available + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --without-storage-zfs # not available + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --without-wireshark-dissector # too old + with_xenapi: --without-xenapi # not available + with_xen_inotify: --without-xen-inotify # not available + with_xen: --without-xen # not available + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Debian-8.yml b/ansible/vars/libvirt/Debia= n-8.yml new file mode 100644 index 0000000..fd3d7a1 --- /dev/null +++ b/ansible/vars/libvirt/Debian-8.yml @@ -0,0 +1,124 @@ +--- +packages: + - augeas-tools + - dnsmasq-base + - ebtables + - glusterfs-client + - libacl1-dev + - libapparmor-dev + - libattr1-dev + - libaudit-dev + - libavahi-client-dev + - libblkid-dev + - libcap-ng-dev + - libcurl4-gnutls-dev + - libdbus-1-dev + - libdevmapper-dev + - libfuse-dev + - libgnutls28-dev + - libnetcf-dev + - libnl-3-dev + - libnl-route-3-dev + - libnuma-dev + - libparted-dev + - libpcap-dev + - libpciaccess-dev + - librbd-dev + - libreadline-dev + - libsanlock-dev + - libsasl2-dev + - libselinux1-dev + - libssh2-1-dev + - libssl-dev + - libudev-dev + - libxen-dev + - libxml2-dev + - libxml2-utils + - libyajl-dev + - lvm2 + - nfs-common + - open-iscsi + - parted + - policykit-1 + - qemu-utils + - radvd + - scrub + - sheepdog + - systemtap-sdt-dev + - xsltproc + - zfs-fuse + +features: + with_apparmor: --with-apparmor + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --without-hyperv # openwsman not available + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --without-libssh # too old + with_libvirtd: --with-libvirtd + with_libxl: --with-libxl + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --without-numad # not available + with_openssl: --with-openssl + with_openvz: --with-openvz + with_openwsman: --without-openwsman # not available + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --without-wireshark-dissector # broken + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Debian-9.yml b/ansible/vars/libvirt/Debia= n-9.yml new file mode 100644 index 0000000..4b6fa56 --- /dev/null +++ b/ansible/vars/libvirt/Debian-9.yml @@ -0,0 +1,126 @@ +--- +packages: + - augeas-tools + - dnsmasq-base + - ebtables + - glusterfs-client + - libacl1-dev + - libapparmor-dev + - libattr1-dev + - libaudit-dev + - libavahi-client-dev + - libblkid-dev + - libcap-ng-dev + - libcurl4-gnutls-dev + - libdbus-1-dev + - libdevmapper-dev + - libfuse-dev + - libgnutls28-dev + - libnetcf-dev + - libnl-3-dev + - libnl-route-3-dev + - libnuma-dev + - libparted-dev + - libpcap-dev + - libpciaccess-dev + - librbd-dev + - libreadline-dev + - libsanlock-dev + - libsasl2-dev + - libselinux1-dev + - libssh-gcrypt-dev + - libssh2-1-dev + - libudev-dev + - libxen-dev + - libxml2-dev + - libxml2-utils + - libyajl-dev + - lvm2 + - nfs-common + - numad + - open-iscsi + - parted + - policykit-1 + - qemu-utils + - radvd + - scrub + - sheepdog + - systemtap-sdt-dev + - wireshark-dev + - xsltproc + - zfs-fuse + +features: + with_apparmor: --with-apparmor + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --without-hyperv # openwsman not available + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --with-libssh + with_libvirtd: --with-libvirtd + with_libxl: --with-libxl + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --with-numad + with_openssl: --without-openssl # conflicts with libssl-dev + with_openvz: --with-openvz + with_openwsman: --without-openwsman # not available + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --with-wireshark-dissector + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Fedora-25.yml b/ansible/vars/libvirt/Fedo= ra-25.yml new file mode 100644 index 0000000..5dedf2d --- /dev/null +++ b/ansible/vars/libvirt/Fedora-25.yml @@ -0,0 +1,125 @@ +--- +packages: + - audit-libs-devel + - augeas + - avahi-devel + - cyrus-sasl-devel + - dbus-devel + - device-mapper-devel + - dnsmasq + - ebtables + - fuse-devel + - glusterfs-api-devel + - gnutls-devel + - iscsi-initiator-utils + - libacl-devel + - libattr-devel + - libblkid-devel + - libcap-ng-devel + - libcurl-devel + - libnl3-devel + - libpcap-devel + - libpciaccess-devel + - librbd-devel + - libselinux-devel + - libssh-devel + - libssh2-devel + - libudev-devel + - libwsman-devel + - libxml2-devel + - libxslt + - lvm2 + - netcf-devel + - nfs-utils + - numactl-devel + - numad + - openssl-devel + - parted + - parted-devel + - polkit-devel + - qemu-img + - radvd + - readline-devel + - sanlock-devel + - scrub + - sheepdog + - systemtap-sdt-devel + - wireshark-devel + - xen-devel + - yajl-devel + - zfs-fuse + +features: + with_apparmor: --without-apparmor # not available + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --with-libssh + with_libvirtd: --with-libvirtd + with_libxl: --with-libxl + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --with-numad + with_openssl: --with-openssl + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --with-wireshark-dissector + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Fedora-26.yml b/ansible/vars/libvirt/Fedo= ra-26.yml new file mode 100644 index 0000000..e627811 --- /dev/null +++ b/ansible/vars/libvirt/Fedora-26.yml @@ -0,0 +1,124 @@ +--- +packages: + - audit-libs-devel + - augeas + - avahi-devel + - cyrus-sasl-devel + - dbus-devel + - device-mapper-devel + - dnsmasq + - ebtables + - fuse-devel + - glusterfs-api-devel + - gnutls-devel + - iscsi-initiator-utils + - libacl-devel + - libattr-devel + - libblkid-devel + - libcap-ng-devel + - libcurl-devel + - libnl3-devel + - libpcap-devel + - libpciaccess-devel + - librbd-devel + - libselinux-devel + - libssh-devel + - libssh2-devel + - libudev-devel + - libwsman-devel + - libxml2-devel + - libxslt + - lvm2 + - netcf-devel + - nfs-utils + - numactl-devel + - numad + - parted + - parted-devel + - polkit-devel + - qemu-img + - radvd + - readline-devel + - sanlock-devel + - scrub + - sheepdog + - systemtap-sdt-devel + - wireshark-devel + - xen-devel + - yajl-devel + - zfs-fuse + +features: + with_apparmor: --without-apparmor # not available + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --with-libssh + with_libvirtd: --with-libvirtd + with_libxl: --with-libxl + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --with-numad + with_openssl: --without-openssl # causes linking issues + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --with-wireshark-dissector + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Fedora-Rawhide.yml b/ansible/vars/libvirt= /Fedora-Rawhide.yml new file mode 100644 index 0000000..cfd5f24 --- /dev/null +++ b/ansible/vars/libvirt/Fedora-Rawhide.yml @@ -0,0 +1,148 @@ +--- +packages: + - audit-libs-devel + - augeas + - avahi-devel + - cyrus-sasl-devel + - dbus-devel + - device-mapper-devel + - dnsmasq + - ebtables + - fuse-devel + - glusterfs-api-devel + - gnutls-devel + - iscsi-initiator-utils + - libacl-devel + - libattr-devel + - libblkid-devel + - libcap-ng-devel + - libcurl-devel + - libnl3-devel + - libpcap-devel + - libpciaccess-devel + - librbd-devel + - libselinux-devel + - libssh-devel + - libssh2-devel + - libudev-devel + - libwsman-devel + - libxml2-devel + - libxslt + - lvm2 + - mingw32-curl + - mingw32-dbus + - mingw32-dlfcn + - mingw32-gcc + - mingw32-gettext + - mingw32-gnutls + - mingw32-libssh2 + - mingw32-libxml2 + - mingw32-openssl + - mingw32-pkg-config + - mingw32-portablexdr + - mingw32-readline + - mingw64-curl + - mingw64-dbus + - mingw64-dlfcn + - mingw64-gcc + - mingw64-gettext + - mingw64-gnutls + - mingw64-libssh2 + - mingw64-libxml2 + - mingw64-openssl + - mingw64-pkg-config + - mingw64-portablexdr + - mingw64-readline + - netcf-devel + - nfs-utils + - numactl-devel + - numad + - parted + - parted-devel + - polkit-devel + - qemu-img + - radvd + - readline-devel + - sanlock-devel + - scrub + - sheepdog + - systemtap-sdt-devel + - wireshark-devel + - xen-devel + - yajl-devel + - zfs-fuse + +features: + with_apparmor: --without-apparmor # not available + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --with-libssh + with_libvirtd: --with-libvirtd + with_libxl: --with-libxl + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --with-numad + with_openssl: --without-openssl # causes linking issues + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --with-wireshark-dissector + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/FreeBSD-11.yml b/ansible/vars/libvirt/Fre= eBSD-11.yml new file mode 100644 index 0000000..3e523b8 --- /dev/null +++ b/ansible/vars/libvirt/FreeBSD-11.yml @@ -0,0 +1,98 @@ +--- +packages: + - augeas + - avahi + - curl + - cyrus-sasl + - dbus + - diskscrub + - dnsmasq + - fusefs-libs + - glusterfs + - gnutls + - hal + - libpcap + - libpciaccess + - libssh + - libssh2 + - libxslt + - polkit + - qemu-utils + - radvd + - readline + - yajl + +features: + with_apparmor: --without-apparmor # not available + with_attr: --without-attr # not available + with_audit: --without-audit # not available + with_avahi: --with-avahi + with_bhyve: --with-bhyve + with_blkid: --without-blkid # too old + with_capng: --without-capng # not available + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --with-hal + with_host_validate: --with-host-validate + with_hyperv: --without-hyperv # not available + with_interface: --without-interface # not available + with_libpcap: --with-libpcap + with_libssh: --with-libssh + with_libvirtd: --with-libvirtd + with_libxl: --without-libxl # not available + with_libxml: --with-libxml + with_login_shell: --without-login-shell # not supported + with_lxc: --without-lxc # not available + with_macvtap: --without-macvtap # not available + with_netcf: --without-netcf # not available + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --without-numactl # not available + with_numad: --without-numad # not available + with_openssl: --with-openssl + with_openvz: --without-openvz # not available + with_openwsman: --without-openwsman # not available + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --without-sanlock # not available + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --without-selinux # not available + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --without-storage-disk # not available + with_storage_fs: --without-storage-fs # not available + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --without-storage-iscsi # not available + with_storage_lvm: --without-storage-lvm # not available + with_storage_mpath: --without-storage-mpath # not supported + with_storage_rbd: --without-storage-rbd # not supported + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --without-storage-sheepdog # not available + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --without-udev # not available + with_uml: --without-uml # not available + with_vbox: --with-vbox + with_virtualport: --without-virtualport # not available + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --without-wireshark-dissector # broken + with_xenapi: --without-xenapi # not supported + with_xen_inotify: --without-xen-inotify # not supported + with_xen: --without-xen # not supported + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Ubuntu-12.yml b/ansible/vars/libvirt/Ubun= tu-12.yml new file mode 100644 index 0000000..b43b069 --- /dev/null +++ b/ansible/vars/libvirt/Ubuntu-12.yml @@ -0,0 +1,122 @@ +--- +packages: + - augeas-tools + - dnsmasq-base + - ebtables + - libacl1-dev + - libapparmor-dev + - libattr1-dev + - libaudit-dev + - libavahi-client-dev + - libblkid-dev + - libcap-ng-dev + - libcurl4-gnutls-dev + - libdbus-1-dev + - libdevmapper-dev + - libfuse-dev + - libgnutls-dev + - libhal-dev + - libnetcf-dev + - libnl-3-dev + - libnl-route-3-dev + - libnuma-dev + - libopenwsman-dev + - libparted-dev + - libpcap-dev + - libpciaccess-dev + - libreadline-dev + - libsasl2-dev + - libselinux1-dev + - libssl-dev + - libudev-dev + - libxen-dev + - libxml2-dev + - libxml2-utils + - libyajl-dev + - lvm2 + - nfs-common + - open-iscsi + - parted + - policykit-1 + - qemu-utils + - radvd + - scrub + - sheepdog + - systemtap-sdt-dev + - xsltproc + - zfs-fuse + +features: + with_apparmor: --with-apparmor + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --without-glusterfs # too old + with_gnutls: --with-gnutls + with_hal: --with-hal + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --without-libssh # too old + with_libvirtd: --with-libvirtd + with_libxl: --without-libxl # too old + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --without-numad # not available + with_openssl: --with-openssl + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --without-phyp # libssh2 too old + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --without-sanlock # not available + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --without-ssh2 # too old + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --without-storage-gluster # too old + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --without-storage-rbd # too old + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --without-wireshark-dissector # too old + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Ubuntu-14.yml b/ansible/vars/libvirt/Ubun= tu-14.yml new file mode 100644 index 0000000..f65cb11 --- /dev/null +++ b/ansible/vars/libvirt/Ubuntu-14.yml @@ -0,0 +1,125 @@ +--- +packages: + - augeas-tools + - dnsmasq-base + - ebtables + - glusterfs-client + - libacl1-dev + - libapparmor-dev + - libattr1-dev + - libaudit-dev + - libavahi-client-dev + - libblkid-dev + - libcap-ng-dev + - libcurl4-gnutls-dev + - libdbus-1-dev + - libdevmapper-dev + - libfuse-dev + - libgnutls-dev + - libnetcf-dev + - libnl-3-dev + - libnl-route-3-dev + - libnuma-dev + - libopenwsman-dev + - libparted-dev + - libpcap-dev + - libpciaccess-dev + - librbd-dev + - libreadline-dev + - libsanlock-dev + - libsasl2-dev + - libselinux1-dev + - libssh2-1-dev + - libssl-dev + - libudev-dev + - libxen-dev + - libxml2-dev + - libxml2-utils + - libyajl-dev + - lvm2 + - nfs-common + - open-iscsi + - parted + - policykit-1 + - qemu-utils + - radvd + - scrub + - sheepdog + - systemtap-sdt-dev + - xsltproc + - zfs-fuse + +features: + with_apparmor: --with-apparmor + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --without-libssh # too old + with_libvirtd: --with-libvirtd + with_libxl: --with-libxl + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --without-numad # not available + with_openssl: --with-openssl + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --without-wireshark-dissector # too old + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl diff --git a/ansible/vars/libvirt/Ubuntu-16.yml b/ansible/vars/libvirt/Ubun= tu-16.yml new file mode 100644 index 0000000..6c64bed --- /dev/null +++ b/ansible/vars/libvirt/Ubuntu-16.yml @@ -0,0 +1,128 @@ +--- +packages: + - augeas-tools + - ccache + - dnsmasq-base + - ebtables + - glusterfs-client + - libacl1-dev + - libapparmor-dev + - libattr1-dev + - libaudit-dev + - libavahi-client-dev + - libblkid-dev + - libcap-ng-dev + - libcurl4-gnutls-dev + - libdbus-1-dev + - libdevmapper-dev + - libfuse-dev + - libgnutls28-dev + - libnetcf-dev + - libnl-3-dev + - libnl-route-3-dev + - libnuma-dev + - libopenwsman-dev + - libparted-dev + - libpcap-dev + - libpciaccess-dev + - librbd-dev + - libreadline-dev + - libsanlock-dev + - libsasl2-dev + - libselinux1-dev + - libssh2-1-dev + - libssl-dev + - libudev-dev + - libxen-dev + - libxml2-dev + - libxml2-utils + - libyajl-dev + - lvm2 + - nfs-common + - numad + - open-iscsi + - parted + - policykit-1 + - qemu-utils + - radvd + - scrub + - sheepdog + - systemtap-sdt-dev + - wireshark-dev + - xsltproc + - zfs-fuse + +features: + with_apparmor: --with-apparmor + with_attr: --with-attr + with_audit: --with-audit + with_avahi: --with-avahi + with_bhyve: --without-bhyve # not available + with_blkid: --with-blkid + with_capng: --with-capng + with_curl: --with-curl + with_dbus: --with-dbus + with_driver_modules: --with-driver-modules + with_dtrace: --with-dtrace + with_esx: --with-esx + with_firewalld: --with-firewalld + with_fuse: --with-fuse + with_glusterfs: --with-glusterfs + with_gnutls: --with-gnutls + with_hal: --without-hal # not available + with_host_validate: --with-host-validate + with_hyperv: --with-hyperv + with_interface: --with-interface + with_libpcap: --with-libpcap + with_libssh: --without-libssh # too old + with_libvirtd: --with-libvirtd + with_libxl: --with-libxl + with_libxml: --with-libxml + with_login_shell: --with-login-shell + with_lxc: --with-lxc + with_macvtap: --with-macvtap + with_netcf: --with-netcf + with_network: --with-network + with_nss_plugin: --with-nss-plugin + with_numactl: --with-numactl + with_numad: --with-numad + with_openssl: --with-openssl + with_openvz: --with-openvz + with_openwsman: --with-openwsman + with_pciaccess: --with-pciaccess + with_phyp: --with-phyp + with_pm_utils: --with-pm-utils + with_polkit: --with-polkit + with_qemu: --with-qemu + with_readline: --with-readline + with_remote: --with-remote + with_sanlock: --with-sanlock + with_sasl: --with-sasl + with_secrets: --with-secrets + with_selinux: --with-selinux + with_ssh2: --with-ssh2 + with_storage_dir: --with-storage-dir + with_storage_disk: --with-storage-disk + with_storage_fs: --with-storage-fs + with_storage_gluster: --with-storage-gluster + with_storage_iscsi: --with-storage-iscsi + with_storage_lvm: --with-storage-lvm + with_storage_mpath: --with-storage-mpath + with_storage_rbd: --with-storage-rbd + with_storage_scsi: --with-storage-scsi + with_storage_sheepdog: --with-storage-sheepdog + with_storage_vstorage: --without-storage-vstorage # not available + with_storage_zfs: --with-storage-zfs + with_test_suite: --with-test-suite + with_test: --with-test + with_udev: --with-udev + with_uml: --with-uml + with_vbox: --with-vbox + with_virtualport: --with-virtualport + with_vmware: --with-vmware + with_vz: --without-vz # not available + with_wireshark_dissector: --with-wireshark-dissector + with_xenapi: --without-xenapi # not available + with_xen_inotify: --with-xen-inotify + with_xen: --with-xen + with_yajl: --with-yajl --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 From nobody Sat May 4 11:35:33 2024 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 1506958494979255.68810543618577; Mon, 2 Oct 2017 08:34:54 -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 C3940C04AC73; Mon, 2 Oct 2017 15:34:53 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A0222837BE; Mon, 2 Oct 2017 15:34:53 +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 637183FAD0; Mon, 2 Oct 2017 15:34:53 +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 v92FBMY4019082 for ; Mon, 2 Oct 2017 11:11:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id F03946FDA0; Mon, 2 Oct 2017 15:11:22 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 387606F985 for ; Mon, 2 Oct 2017 15:11:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C3940C04AC73 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.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:44 +0200 Message-Id: <20171002151056.30841-7-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 06/18] ansible: Add libvirt-glib 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.31]); Mon, 02 Oct 2017 15:34:54 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 12 ++++++++---- ansible/vars/libvirt-glib/CentOS-7.yml | 16 ++++++++++++++++ ansible/vars/libvirt-glib/Debian-8.yml | 16 ++++++++++++++++ ansible/vars/libvirt-glib/Debian-9.yml | 16 ++++++++++++++++ ansible/vars/libvirt-glib/Fedora-25.yml | 16 ++++++++++++++++ ansible/vars/libvirt-glib/Fedora-26.yml | 16 ++++++++++++++++ ansible/vars/libvirt-glib/Fedora-Rawhide.yml | 16 ++++++++++++++++ ansible/vars/libvirt-glib/FreeBSD-11.yml | 16 ++++++++++++++++ ansible/vars/libvirt-glib/Ubuntu-16.yml | 16 ++++++++++++++++ 17 files changed, 144 insertions(+), 4 deletions(-) create mode 100644 ansible/vars/libvirt-glib/CentOS-7.yml create mode 100644 ansible/vars/libvirt-glib/Debian-8.yml create mode 100644 ansible/vars/libvirt-glib/Debian-9.yml create mode 100644 ansible/vars/libvirt-glib/Fedora-25.yml create mode 100644 ansible/vars/libvirt-glib/Fedora-26.yml create mode 100644 ansible/vars/libvirt-glib/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-glib/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt-glib/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index ec2e50f..87b39f3 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-cim + - libvirt-glib diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 7508f19..06aed9d 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-glib diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 7508f19..06aed9d 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-glib diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index ec2e50f..87b39f3 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-cim + - libvirt-glib diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index ec2e50f..87b39f3 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-cim + - libvirt-glib diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index ec2e50f..87b39f3 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-cim + - libvirt-glib diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index a8766a0..1acdd66 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -10,3 +10,4 @@ projects: - base - libosinfo - libvirt + - libvirt-glib diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 7508f19..06aed9d 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-glib diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 2a26024..17f5bf3 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -39,7 +39,8 @@ when: - ( project =3D=3D 'libosinfo' or project =3D=3D 'libvirt' or - project =3D=3D 'libvirt-cim' ) + project =3D=3D 'libvirt-cim' or + project =3D=3D 'libvirt-glib' ) =20 - name: '{{ project }}: Run configure' command: './configure {{ configure_options }}' @@ -55,7 +56,8 @@ when: - ( project =3D=3D 'libosinfo' or project =3D=3D 'libvirt' or - project =3D=3D 'libvirt-cim' ) + project =3D=3D 'libvirt-cim' or + project =3D=3D 'libvirt-glib' ) =20 - name: '{{ project }}: Run sanity checks' command: '{{ make }} -j{{ smp }} syntax-check' @@ -64,7 +66,8 @@ when: - ( project =3D=3D 'libosinfo' or ( project =3D=3D 'libvirt' and - os_name !=3D 'FreeBSD' ) ) + os_name !=3D 'FreeBSD' ) or + project =3D=3D 'libvirt-glib' ) =20 - name: '{{ project }}: Run test suite' command: '{{ make }} -j{{ smp }} check' @@ -73,7 +76,8 @@ when: - ( ( project =3D=3D 'libvirt' and os_name !=3D 'FreeBSD' ) or - project =3D=3D 'libvirt-cim' ) + project =3D=3D 'libvirt-cim' or + project =3D=3D 'libvirt-glib' ) =20 - name: '{{ project }}: Build RPM package' command: '{{ make }} -j{{ smp }} rpm' diff --git a/ansible/vars/libvirt-glib/CentOS-7.yml b/ansible/vars/libvirt-= glib/CentOS-7.yml new file mode 100644 index 0000000..513284d --- /dev/null +++ b/ansible/vars/libvirt-glib/CentOS-7.yml @@ -0,0 +1,16 @@ +--- +packages: + - glib2-devel + - gobject-introspection-devel + - gtk-doc + - intltool + - libxml2-devel + - vala + +extra_packages: + - libvirt-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libvirt-glib/Debian-8.yml b/ansible/vars/libvirt-= glib/Debian-8.yml new file mode 100644 index 0000000..7c8660e --- /dev/null +++ b/ansible/vars/libvirt-glib/Debian-8.yml @@ -0,0 +1,16 @@ +--- +packages: + - gtk-doc-tools + - intltool + - libgirepository1.0-dev + - libglib2.0-dev + - libxml2-dev + - valac + +extra_packages: + - libvirt-dev + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libvirt-glib/Debian-9.yml b/ansible/vars/libvirt-= glib/Debian-9.yml new file mode 100644 index 0000000..7c8660e --- /dev/null +++ b/ansible/vars/libvirt-glib/Debian-9.yml @@ -0,0 +1,16 @@ +--- +packages: + - gtk-doc-tools + - intltool + - libgirepository1.0-dev + - libglib2.0-dev + - libxml2-dev + - valac + +extra_packages: + - libvirt-dev + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libvirt-glib/Fedora-25.yml b/ansible/vars/libvirt= -glib/Fedora-25.yml new file mode 100644 index 0000000..513284d --- /dev/null +++ b/ansible/vars/libvirt-glib/Fedora-25.yml @@ -0,0 +1,16 @@ +--- +packages: + - glib2-devel + - gobject-introspection-devel + - gtk-doc + - intltool + - libxml2-devel + - vala + +extra_packages: + - libvirt-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libvirt-glib/Fedora-26.yml b/ansible/vars/libvirt= -glib/Fedora-26.yml new file mode 100644 index 0000000..513284d --- /dev/null +++ b/ansible/vars/libvirt-glib/Fedora-26.yml @@ -0,0 +1,16 @@ +--- +packages: + - glib2-devel + - gobject-introspection-devel + - gtk-doc + - intltool + - libxml2-devel + - vala + +extra_packages: + - libvirt-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libvirt-glib/Fedora-Rawhide.yml b/ansible/vars/li= bvirt-glib/Fedora-Rawhide.yml new file mode 100644 index 0000000..513284d --- /dev/null +++ b/ansible/vars/libvirt-glib/Fedora-Rawhide.yml @@ -0,0 +1,16 @@ +--- +packages: + - glib2-devel + - gobject-introspection-devel + - gtk-doc + - intltool + - libxml2-devel + - vala + +extra_packages: + - libvirt-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libvirt-glib/FreeBSD-11.yml b/ansible/vars/libvir= t-glib/FreeBSD-11.yml new file mode 100644 index 0000000..c0eff32 --- /dev/null +++ b/ansible/vars/libvirt-glib/FreeBSD-11.yml @@ -0,0 +1,16 @@ +--- +packages: + - glib + - gobject-introspection + - gtk-doc + - intltool + - libxml2 + - vala + +extra_packages: + - libvirt + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala diff --git a/ansible/vars/libvirt-glib/Ubuntu-16.yml b/ansible/vars/libvirt= -glib/Ubuntu-16.yml new file mode 100644 index 0000000..7c8660e --- /dev/null +++ b/ansible/vars/libvirt-glib/Ubuntu-16.yml @@ -0,0 +1,16 @@ +--- +packages: + - gtk-doc-tools + - intltool + - libgirepository1.0-dev + - libglib2.0-dev + - libxml2-dev + - valac + +extra_packages: + - libvirt-dev + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + enable_vala: --enable-vala --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506958515988336.9456265175593; Mon, 2 Oct 2017 08:35:15 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9A94313AAE; Mon, 2 Oct 2017 15:35:14 +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 7B88E5D722; Mon, 2 Oct 2017 15:35:14 +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 3BAD71806103; Mon, 2 Oct 2017 15:35:14 +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 v92FBOfw019092 for ; Mon, 2 Oct 2017 11:11:24 -0400 Received: by smtp.corp.redhat.com (Postfix) id 06CE16F984; Mon, 2 Oct 2017 15:11:24 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 676BA6E516 for ; Mon, 2 Oct 2017 15:11:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9A94313AAE Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.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:45 +0200 Message-Id: <20171002151056.30841-8-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 07/18] ansible: Add libvirt-go 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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 02 Oct 2017 15:35:15 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 16 ++++++++++++++++ ansible/vars/libvirt-go/CentOS-7.yml | 7 +++++++ ansible/vars/libvirt-go/Debian-8.yml | 7 +++++++ ansible/vars/libvirt-go/Debian-9.yml | 7 +++++++ ansible/vars/libvirt-go/Fedora-25.yml | 7 +++++++ ansible/vars/libvirt-go/Fedora-26.yml | 7 +++++++ ansible/vars/libvirt-go/Fedora-Rawhide.yml | 7 +++++++ ansible/vars/libvirt-go/FreeBSD-11.yml | 6 ++++++ ansible/vars/libvirt-go/Ubuntu-16.yml | 7 +++++++ 17 files changed, 79 insertions(+) create mode 100644 ansible/vars/libvirt-go/CentOS-7.yml create mode 100644 ansible/vars/libvirt-go/Debian-8.yml create mode 100644 ansible/vars/libvirt-go/Debian-9.yml create mode 100644 ansible/vars/libvirt-go/Fedora-25.yml create mode 100644 ansible/vars/libvirt-go/Fedora-26.yml create mode 100644 ansible/vars/libvirt-go/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-go/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt-go/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index 87b39f3..728b6d5 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-cim - libvirt-glib + - libvirt-go diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 06aed9d..6fa3e95 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-glib + - libvirt-go diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 06aed9d..6fa3e95 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-glib + - libvirt-go diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 87b39f3..728b6d5 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-cim - libvirt-glib + - libvirt-go diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 87b39f3..728b6d5 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-cim - libvirt-glib + - libvirt-go diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 87b39f3..728b6d5 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-cim - libvirt-glib + - libvirt-go diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index 1acdd66..c2b059e 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -11,3 +11,4 @@ projects: - libosinfo - libvirt - libvirt-glib + - libvirt-go diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 06aed9d..6fa3e95 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-glib + - libvirt-go diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 17f5bf3..4704729 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -88,3 +88,19 @@ os_name =3D=3D 'Fedora' ) - ( project =3D=3D 'libvirt' or project =3D=3D 'libvirt-cim' ) + +# Go build + +- name: '{{ project }}: Build project' + command: go build -v + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-go' + +- name: '{{ project }}: Run test suite' + command: go test -tags api + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-go' diff --git a/ansible/vars/libvirt-go/CentOS-7.yml b/ansible/vars/libvirt-go= /CentOS-7.yml new file mode 100644 index 0000000..6208bbb --- /dev/null +++ b/ansible/vars/libvirt-go/CentOS-7.yml @@ -0,0 +1,7 @@ +--- +packages: + - golang + +extra_packages: + - libvirt-devel + - libvirt-libs diff --git a/ansible/vars/libvirt-go/Debian-8.yml b/ansible/vars/libvirt-go= /Debian-8.yml new file mode 100644 index 0000000..e1de972 --- /dev/null +++ b/ansible/vars/libvirt-go/Debian-8.yml @@ -0,0 +1,7 @@ +--- +packages: + - golang + +extra_packages: + - libvirt-daemon + - libvirt-dev diff --git a/ansible/vars/libvirt-go/Debian-9.yml b/ansible/vars/libvirt-go= /Debian-9.yml new file mode 100644 index 0000000..e1de972 --- /dev/null +++ b/ansible/vars/libvirt-go/Debian-9.yml @@ -0,0 +1,7 @@ +--- +packages: + - golang + +extra_packages: + - libvirt-daemon + - libvirt-dev diff --git a/ansible/vars/libvirt-go/Fedora-25.yml b/ansible/vars/libvirt-g= o/Fedora-25.yml new file mode 100644 index 0000000..6208bbb --- /dev/null +++ b/ansible/vars/libvirt-go/Fedora-25.yml @@ -0,0 +1,7 @@ +--- +packages: + - golang + +extra_packages: + - libvirt-devel + - libvirt-libs diff --git a/ansible/vars/libvirt-go/Fedora-26.yml b/ansible/vars/libvirt-g= o/Fedora-26.yml new file mode 100644 index 0000000..6208bbb --- /dev/null +++ b/ansible/vars/libvirt-go/Fedora-26.yml @@ -0,0 +1,7 @@ +--- +packages: + - golang + +extra_packages: + - libvirt-devel + - libvirt-libs diff --git a/ansible/vars/libvirt-go/Fedora-Rawhide.yml b/ansible/vars/libv= irt-go/Fedora-Rawhide.yml new file mode 100644 index 0000000..6208bbb --- /dev/null +++ b/ansible/vars/libvirt-go/Fedora-Rawhide.yml @@ -0,0 +1,7 @@ +--- +packages: + - golang + +extra_packages: + - libvirt-devel + - libvirt-libs diff --git a/ansible/vars/libvirt-go/FreeBSD-11.yml b/ansible/vars/libvirt-= go/FreeBSD-11.yml new file mode 100644 index 0000000..a998356 --- /dev/null +++ b/ansible/vars/libvirt-go/FreeBSD-11.yml @@ -0,0 +1,6 @@ +--- +packages: + - go + +extra_packages: + - libvirt diff --git a/ansible/vars/libvirt-go/Ubuntu-16.yml b/ansible/vars/libvirt-g= o/Ubuntu-16.yml new file mode 100644 index 0000000..e1de972 --- /dev/null +++ b/ansible/vars/libvirt-go/Ubuntu-16.yml @@ -0,0 +1,7 @@ +--- +packages: + - golang + +extra_packages: + - libvirt-daemon + - libvirt-dev --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506957599238491.54730968566423; Mon, 2 Oct 2017 08:19:59 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4424A81E0B; Mon, 2 Oct 2017 15:19:58 +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 1D9356FDA7; Mon, 2 Oct 2017 15:19:58 +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 D560D18355C4; Mon, 2 Oct 2017 15:19:57 +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 v92FBPB9019102 for ; Mon, 2 Oct 2017 11:11:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0F1C16F985; Mon, 2 Oct 2017 15:11:25 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 677286E516 for ; Mon, 2 Oct 2017 15:11:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4424A81E0B Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.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:46 +0200 Message-Id: <20171002151056.30841-9-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 08/18] ansible: Add libvirt-go-xml 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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 02 Oct 2017 15:19:58 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 6 ++++-- ansible/vars/libvirt-go-xml/CentOS-7.yml | 3 +++ ansible/vars/libvirt-go-xml/Debian-8.yml | 3 +++ ansible/vars/libvirt-go-xml/Debian-9.yml | 3 +++ ansible/vars/libvirt-go-xml/Fedora-25.yml | 3 +++ ansible/vars/libvirt-go-xml/Fedora-26.yml | 3 +++ ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml | 3 +++ ansible/vars/libvirt-go-xml/FreeBSD-11.yml | 3 +++ ansible/vars/libvirt-go-xml/Ubuntu-16.yml | 3 +++ 17 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 ansible/vars/libvirt-go-xml/CentOS-7.yml create mode 100644 ansible/vars/libvirt-go-xml/Debian-8.yml create mode 100644 ansible/vars/libvirt-go-xml/Debian-9.yml create mode 100644 ansible/vars/libvirt-go-xml/Fedora-25.yml create mode 100644 ansible/vars/libvirt-go-xml/Fedora-26.yml create mode 100644 ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-go-xml/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt-go-xml/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index 728b6d5..fcb44ec 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-cim - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 6fa3e95..83e787e 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 6fa3e95..83e787e 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 728b6d5..fcb44ec 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-cim - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 728b6d5..fcb44ec 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-cim - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 728b6d5..fcb44ec 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-cim - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index c2b059e..c8baf43 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -12,3 +12,4 @@ projects: - libvirt - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 6fa3e95..83e787e 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-glib - libvirt-go + - libvirt-go-xml diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 4704729..c10c546 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -96,11 +96,13 @@ args: chdir: '{{ project }}' when: - - project =3D=3D 'libvirt-go' + - ( project =3D=3D 'libvirt-go' or + project =3D=3D 'libvirt-go-xml' ) =20 - name: '{{ project }}: Run test suite' command: go test -tags api args: chdir: '{{ project }}' when: - - project =3D=3D 'libvirt-go' + - ( project =3D=3D 'libvirt-go' or + project =3D=3D 'libvirt-go-xml' ) diff --git a/ansible/vars/libvirt-go-xml/CentOS-7.yml b/ansible/vars/libvir= t-go-xml/CentOS-7.yml new file mode 100644 index 0000000..cfac00e --- /dev/null +++ b/ansible/vars/libvirt-go-xml/CentOS-7.yml @@ -0,0 +1,3 @@ +--- +packages: + - golang diff --git a/ansible/vars/libvirt-go-xml/Debian-8.yml b/ansible/vars/libvir= t-go-xml/Debian-8.yml new file mode 100644 index 0000000..cfac00e --- /dev/null +++ b/ansible/vars/libvirt-go-xml/Debian-8.yml @@ -0,0 +1,3 @@ +--- +packages: + - golang diff --git a/ansible/vars/libvirt-go-xml/Debian-9.yml b/ansible/vars/libvir= t-go-xml/Debian-9.yml new file mode 100644 index 0000000..cfac00e --- /dev/null +++ b/ansible/vars/libvirt-go-xml/Debian-9.yml @@ -0,0 +1,3 @@ +--- +packages: + - golang diff --git a/ansible/vars/libvirt-go-xml/Fedora-25.yml b/ansible/vars/libvi= rt-go-xml/Fedora-25.yml new file mode 100644 index 0000000..cfac00e --- /dev/null +++ b/ansible/vars/libvirt-go-xml/Fedora-25.yml @@ -0,0 +1,3 @@ +--- +packages: + - golang diff --git a/ansible/vars/libvirt-go-xml/Fedora-26.yml b/ansible/vars/libvi= rt-go-xml/Fedora-26.yml new file mode 100644 index 0000000..cfac00e --- /dev/null +++ b/ansible/vars/libvirt-go-xml/Fedora-26.yml @@ -0,0 +1,3 @@ +--- +packages: + - golang diff --git a/ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml b/ansible/vars/= libvirt-go-xml/Fedora-Rawhide.yml new file mode 100644 index 0000000..cfac00e --- /dev/null +++ b/ansible/vars/libvirt-go-xml/Fedora-Rawhide.yml @@ -0,0 +1,3 @@ +--- +packages: + - golang diff --git a/ansible/vars/libvirt-go-xml/FreeBSD-11.yml b/ansible/vars/libv= irt-go-xml/FreeBSD-11.yml new file mode 100644 index 0000000..c06b9bb --- /dev/null +++ b/ansible/vars/libvirt-go-xml/FreeBSD-11.yml @@ -0,0 +1,3 @@ +--- +packages: + - go diff --git a/ansible/vars/libvirt-go-xml/Ubuntu-16.yml b/ansible/vars/libvi= rt-go-xml/Ubuntu-16.yml new file mode 100644 index 0000000..cfac00e --- /dev/null +++ b/ansible/vars/libvirt-go-xml/Ubuntu-16.yml @@ -0,0 +1,3 @@ +--- +packages: + - golang --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506957620183356.6169323001568; Mon, 2 Oct 2017 08:20:20 -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 E583B7E444; Mon, 2 Oct 2017 15:20:18 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B7B6B841C6; Mon, 2 Oct 2017 15:20:18 +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 7EDEC3FAD0; Mon, 2 Oct 2017 15:20:18 +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 v92FBQRG019107 for ; Mon, 2 Oct 2017 11:11:26 -0400 Received: by smtp.corp.redhat.com (Postfix) id 50A3017DDA; Mon, 2 Oct 2017 15:11:26 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8C46617977 for ; Mon, 2 Oct 2017 15:11:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E583B7E444 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.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:47 +0200 Message-Id: <20171002151056.30841-10-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 09/18] ansible: Add libvirt-perl 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.27]); Mon, 02 Oct 2017 15:20:19 +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-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 34 +++++++++++++++++++= ++++ ansible/vars/libvirt-perl/CentOS-6.yml | 7 +++++ ansible/vars/libvirt-perl/CentOS-7.yml | 8 ++++++ ansible/vars/libvirt-perl/Debian-8.yml | 7 +++++ ansible/vars/libvirt-perl/Debian-9.yml | 7 +++++ ansible/vars/libvirt-perl/Fedora-25.yml | 8 ++++++ ansible/vars/libvirt-perl/Fedora-26.yml | 8 ++++++ ansible/vars/libvirt-perl/Fedora-Rawhide.yml | 8 ++++++ ansible/vars/libvirt-perl/FreeBSD-11.yml | 8 ++++++ ansible/vars/libvirt-perl/Ubuntu-14.yml | 6 ++++ ansible/vars/libvirt-perl/Ubuntu-16.yml | 7 +++++ 21 files changed, 118 insertions(+) create mode 100644 ansible/vars/libvirt-perl/CentOS-6.yml create mode 100644 ansible/vars/libvirt-perl/CentOS-7.yml create mode 100644 ansible/vars/libvirt-perl/Debian-8.yml create mode 100644 ansible/vars/libvirt-perl/Debian-9.yml create mode 100644 ansible/vars/libvirt-perl/Fedora-25.yml create mode 100644 ansible/vars/libvirt-perl/Fedora-26.yml create mode 100644 ansible/vars/libvirt-perl/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-perl/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt-perl/Ubuntu-14.yml create mode 100644 ansible/vars/libvirt-perl/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_var= s/libvirt-centos-6/main.yml index f6fe574..61c8376 100644 --- a/ansible/host_vars/libvirt-centos-6/main.yml +++ b/ansible/host_vars/libvirt-centos-6/main.yml @@ -3,3 +3,4 @@ projects: - base - libvirt - libvirt-cim + - libvirt-perl diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index fcb44ec..80b95f5 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 83e787e..1c2ecb5 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 83e787e..1c2ecb5 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index fcb44ec..80b95f5 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index fcb44ec..80b95f5 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index fcb44ec..80b95f5 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index c8baf43..68dbbb2 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -13,3 +13,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index 7508f19..49ee186 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -3,3 +3,4 @@ projects: - base - libosinfo - libvirt + - libvirt-perl diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 83e787e..1c2ecb5 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-glib - libvirt-go - libvirt-go-xml + - libvirt-perl diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index c10c546..36fc1cc 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -106,3 +106,37 @@ when: - ( project =3D=3D 'libvirt-go' or project =3D=3D 'libvirt-go-xml' ) + +# Perl build (makemaker) + +- name: '{{ project }}: Run Makefile.PL' + command: perl Makefile.PL + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-perl' + - false + +- name: '{{ project }}: Build project' + command: '{{ make }}' + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-perl' + - false + +- name: '{{ project }}: Build project manifest' + command: '{{ make }} -j{{ smp }} manifest' + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-perl' + - false + +- name: '{{ project }}: Run test suite' + command: '{{ make }} -j{{ smp }} test' + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-perl' + - false diff --git a/ansible/vars/libvirt-perl/CentOS-6.yml b/ansible/vars/libvirt-= perl/CentOS-6.yml new file mode 100644 index 0000000..446e587 --- /dev/null +++ b/ansible/vars/libvirt-perl/CentOS-6.yml @@ -0,0 +1,7 @@ +--- +packages: + - perl-ExtUtils-MakeMaker + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-Time-HiRes + - perl-XML-XPath diff --git a/ansible/vars/libvirt-perl/CentOS-7.yml b/ansible/vars/libvirt-= perl/CentOS-7.yml new file mode 100644 index 0000000..1118406 --- /dev/null +++ b/ansible/vars/libvirt-perl/CentOS-7.yml @@ -0,0 +1,8 @@ +--- +packages: + - perl-CPAN-Changes + - perl-ExtUtils-MakeMaker + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-Time-HiRes + - perl-XML-XPath diff --git a/ansible/vars/libvirt-perl/Debian-8.yml b/ansible/vars/libvirt-= perl/Debian-8.yml new file mode 100644 index 0000000..0141b85 --- /dev/null +++ b/ansible/vars/libvirt-perl/Debian-8.yml @@ -0,0 +1,7 @@ +--- +packages: + - libcpan-changes-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libtime-hr-perl + - libxml-xpath-perl diff --git a/ansible/vars/libvirt-perl/Debian-9.yml b/ansible/vars/libvirt-= perl/Debian-9.yml new file mode 100644 index 0000000..0141b85 --- /dev/null +++ b/ansible/vars/libvirt-perl/Debian-9.yml @@ -0,0 +1,7 @@ +--- +packages: + - libcpan-changes-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libtime-hr-perl + - libxml-xpath-perl diff --git a/ansible/vars/libvirt-perl/Fedora-25.yml b/ansible/vars/libvirt= -perl/Fedora-25.yml new file mode 100644 index 0000000..1118406 --- /dev/null +++ b/ansible/vars/libvirt-perl/Fedora-25.yml @@ -0,0 +1,8 @@ +--- +packages: + - perl-CPAN-Changes + - perl-ExtUtils-MakeMaker + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-Time-HiRes + - perl-XML-XPath diff --git a/ansible/vars/libvirt-perl/Fedora-26.yml b/ansible/vars/libvirt= -perl/Fedora-26.yml new file mode 100644 index 0000000..1118406 --- /dev/null +++ b/ansible/vars/libvirt-perl/Fedora-26.yml @@ -0,0 +1,8 @@ +--- +packages: + - perl-CPAN-Changes + - perl-ExtUtils-MakeMaker + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-Time-HiRes + - perl-XML-XPath diff --git a/ansible/vars/libvirt-perl/Fedora-Rawhide.yml b/ansible/vars/li= bvirt-perl/Fedora-Rawhide.yml new file mode 100644 index 0000000..1118406 --- /dev/null +++ b/ansible/vars/libvirt-perl/Fedora-Rawhide.yml @@ -0,0 +1,8 @@ +--- +packages: + - perl-CPAN-Changes + - perl-ExtUtils-MakeMaker + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-Time-HiRes + - perl-XML-XPath diff --git a/ansible/vars/libvirt-perl/FreeBSD-11.yml b/ansible/vars/libvir= t-perl/FreeBSD-11.yml new file mode 100644 index 0000000..eb28197 --- /dev/null +++ b/ansible/vars/libvirt-perl/FreeBSD-11.yml @@ -0,0 +1,8 @@ +--- +packages: + - p5-CPAN-Changes + - p5-ExtUtils-MakeMaker + - p5-Test-Pod + - p5-Test-Pod-Coverage + - p5-Time-HiRes + - p5-XML-XPath diff --git a/ansible/vars/libvirt-perl/Ubuntu-14.yml b/ansible/vars/libvirt= -perl/Ubuntu-14.yml new file mode 100644 index 0000000..c539617 --- /dev/null +++ b/ansible/vars/libvirt-perl/Ubuntu-14.yml @@ -0,0 +1,6 @@ +--- +packages: + - libcpan-changes-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libxml-xpath-perl diff --git a/ansible/vars/libvirt-perl/Ubuntu-16.yml b/ansible/vars/libvirt= -perl/Ubuntu-16.yml new file mode 100644 index 0000000..0141b85 --- /dev/null +++ b/ansible/vars/libvirt-perl/Ubuntu-16.yml @@ -0,0 +1,7 @@ +--- +packages: + - libcpan-changes-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libtime-hr-perl + - libxml-xpath-perl --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506958808345930.4553548983661; Mon, 2 Oct 2017 08:40:08 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 65F7313A74; Mon, 2 Oct 2017 15:40:07 +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 2FD2B94C75; Mon, 2 Oct 2017 15:40:07 +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 E245418355C6; Mon, 2 Oct 2017 15:40:06 +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 v92FBRXa019124 for ; Mon, 2 Oct 2017 11:11:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id 72D4E17977; Mon, 2 Oct 2017 15:11:27 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AFA336E516 for ; Mon, 2 Oct 2017 15:11:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 65F7313A74 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.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:48 +0200 Message-Id: <20171002151056.30841-11-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 10/18] ansible: Add libvirt-python 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 02 Oct 2017 15:40:07 +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-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 16 ++++++++++++++++ ansible/vars/libvirt-python/CentOS-6.yml | 8 ++++++++ ansible/vars/libvirt-python/CentOS-7.yml | 8 ++++++++ ansible/vars/libvirt-python/Debian-8.yml | 8 ++++++++ ansible/vars/libvirt-python/Debian-9.yml | 8 ++++++++ ansible/vars/libvirt-python/Fedora-25.yml | 11 +++++++++++ ansible/vars/libvirt-python/Fedora-26.yml | 11 +++++++++++ ansible/vars/libvirt-python/Fedora-Rawhide.yml | 11 +++++++++++ ansible/vars/libvirt-python/FreeBSD-11.yml | 7 +++++++ ansible/vars/libvirt-python/Ubuntu-14.yml | 8 ++++++++ ansible/vars/libvirt-python/Ubuntu-16.yml | 8 ++++++++ 21 files changed, 114 insertions(+) create mode 100644 ansible/vars/libvirt-python/CentOS-6.yml create mode 100644 ansible/vars/libvirt-python/CentOS-7.yml create mode 100644 ansible/vars/libvirt-python/Debian-8.yml create mode 100644 ansible/vars/libvirt-python/Debian-9.yml create mode 100644 ansible/vars/libvirt-python/Fedora-25.yml create mode 100644 ansible/vars/libvirt-python/Fedora-26.yml create mode 100644 ansible/vars/libvirt-python/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-python/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt-python/Ubuntu-14.yml create mode 100644 ansible/vars/libvirt-python/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_var= s/libvirt-centos-6/main.yml index 61c8376..e959ecc 100644 --- a/ansible/host_vars/libvirt-centos-6/main.yml +++ b/ansible/host_vars/libvirt-centos-6/main.yml @@ -4,3 +4,4 @@ projects: - libvirt - libvirt-cim - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 1c2ecb5..2525b10 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 1c2ecb5..2525b10 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 80b95f5..e4489ac 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index 68dbbb2..cd3a373 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -14,3 +14,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index 49ee186..ab712b2 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -4,3 +4,4 @@ projects: - libosinfo - libvirt - libvirt-perl + - libvirt-python diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 1c2ecb5..2525b10 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-go - libvirt-go-xml - libvirt-perl + - libvirt-python diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 36fc1cc..351b60b 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -140,3 +140,19 @@ when: - project =3D=3D 'libvirt-perl' - false + +# Python build + +- name: '{{ project }}: Build project' + command: python2 setup.py build + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-python' + +- name: '{{ project }}: Run test suite' + command: python2 setup.py test + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-python' diff --git a/ansible/vars/libvirt-python/CentOS-6.yml b/ansible/vars/libvir= t-python/CentOS-6.yml new file mode 100644 index 0000000..7b618c8 --- /dev/null +++ b/ansible/vars/libvirt-python/CentOS-6.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-devel + - python-lxml + - python-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/CentOS-7.yml b/ansible/vars/libvir= t-python/CentOS-7.yml new file mode 100644 index 0000000..7b618c8 --- /dev/null +++ b/ansible/vars/libvirt-python/CentOS-7.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-devel + - python-lxml + - python-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/Debian-8.yml b/ansible/vars/libvir= t-python/Debian-8.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Debian-8.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev diff --git a/ansible/vars/libvirt-python/Debian-9.yml b/ansible/vars/libvir= t-python/Debian-9.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Debian-9.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev diff --git a/ansible/vars/libvirt-python/Fedora-25.yml b/ansible/vars/libvi= rt-python/Fedora-25.yml new file mode 100644 index 0000000..3d350ac --- /dev/null +++ b/ansible/vars/libvirt-python/Fedora-25.yml @@ -0,0 +1,11 @@ +--- +packages: + - python2-devel + - python2-lxml + - python2-nose + - python3-devel + - python3-lxml + - python3-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/Fedora-26.yml b/ansible/vars/libvi= rt-python/Fedora-26.yml new file mode 100644 index 0000000..3d350ac --- /dev/null +++ b/ansible/vars/libvirt-python/Fedora-26.yml @@ -0,0 +1,11 @@ +--- +packages: + - python2-devel + - python2-lxml + - python2-nose + - python3-devel + - python3-lxml + - python3-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/Fedora-Rawhide.yml b/ansible/vars/= libvirt-python/Fedora-Rawhide.yml new file mode 100644 index 0000000..3d350ac --- /dev/null +++ b/ansible/vars/libvirt-python/Fedora-Rawhide.yml @@ -0,0 +1,11 @@ +--- +packages: + - python2-devel + - python2-lxml + - python2-nose + - python3-devel + - python3-lxml + - python3-nose + +extra_packages: + - libvirt-devel diff --git a/ansible/vars/libvirt-python/FreeBSD-11.yml b/ansible/vars/libv= irt-python/FreeBSD-11.yml new file mode 100644 index 0000000..4d63637 --- /dev/null +++ b/ansible/vars/libvirt-python/FreeBSD-11.yml @@ -0,0 +1,7 @@ +--- +packages: + - py27-lxml + - py27-nose + +extra_packages: + - libvirt diff --git a/ansible/vars/libvirt-python/Ubuntu-14.yml b/ansible/vars/libvi= rt-python/Ubuntu-14.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Ubuntu-14.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev diff --git a/ansible/vars/libvirt-python/Ubuntu-16.yml b/ansible/vars/libvi= rt-python/Ubuntu-16.yml new file mode 100644 index 0000000..1dce727 --- /dev/null +++ b/ansible/vars/libvirt-python/Ubuntu-16.yml @@ -0,0 +1,8 @@ +--- +packages: + - python-dev + - python-lxml + - python-nose + +extra_packages: + - libvirt-dev --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506958537494328.4669222158699; Mon, 2 Oct 2017 08:35:37 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 14469C04AC75; Mon, 2 Oct 2017 15:35:36 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B160286E73; Mon, 2 Oct 2017 15:35:35 +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 4C7FE3FAD2; Mon, 2 Oct 2017 15:35:35 +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 v92FBSBg019134 for ; Mon, 2 Oct 2017 11:11:28 -0400 Received: by smtp.corp.redhat.com (Postfix) id CD29017DDA; Mon, 2 Oct 2017 15:11:28 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0E47217977 for ; Mon, 2 Oct 2017 15:11:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 14469C04AC75 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.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:49 +0200 Message-Id: <20171002151056.30841-12-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 11/18] ansible: Add libvirt-sandbox 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 02 Oct 2017 15:35:37 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 12 +++++++---- ansible/vars/libvirt-sandbox/CentOS-7.yml | 25 +++++++++++++++++++= +++ ansible/vars/libvirt-sandbox/Debian-9.yml | 22 +++++++++++++++++++ ansible/vars/libvirt-sandbox/Fedora-25.yml | 26 +++++++++++++++++++= ++++ ansible/vars/libvirt-sandbox/Fedora-26.yml | 26 +++++++++++++++++++= ++++ ansible/vars/libvirt-sandbox/Fedora-Rawhide.yml | 26 +++++++++++++++++++= ++++ ansible/vars/libvirt-sandbox/Ubuntu-16.yml | 22 +++++++++++++++++++ 13 files changed, 161 insertions(+), 4 deletions(-) create mode 100644 ansible/vars/libvirt-sandbox/CentOS-7.yml create mode 100644 ansible/vars/libvirt-sandbox/Debian-9.yml create mode 100644 ansible/vars/libvirt-sandbox/Fedora-25.yml create mode 100644 ansible/vars/libvirt-sandbox/Fedora-26.yml create mode 100644 ansible/vars/libvirt-sandbox/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-sandbox/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index e4489ac..39707f6 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -9,3 +9,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-sandbox diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 2525b10..929ab1f 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-sandbox diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index e4489ac..39707f6 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -9,3 +9,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-sandbox diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index e4489ac..39707f6 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -9,3 +9,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-sandbox diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index e4489ac..39707f6 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -9,3 +9,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-sandbox diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 2525b10..929ab1f 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-sandbox diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 351b60b..a2f0d81 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -40,7 +40,8 @@ - ( project =3D=3D 'libosinfo' or project =3D=3D 'libvirt' or project =3D=3D 'libvirt-cim' or - project =3D=3D 'libvirt-glib' ) + project =3D=3D 'libvirt-glib' or + project =3D=3D 'libvirt-sandbox' ) =20 - name: '{{ project }}: Run configure' command: './configure {{ configure_options }}' @@ -57,7 +58,8 @@ - ( project =3D=3D 'libosinfo' or project =3D=3D 'libvirt' or project =3D=3D 'libvirt-cim' or - project =3D=3D 'libvirt-glib' ) + project =3D=3D 'libvirt-glib' or + project =3D=3D 'libvirt-sandbox' ) =20 - name: '{{ project }}: Run sanity checks' command: '{{ make }} -j{{ smp }} syntax-check' @@ -67,7 +69,8 @@ - ( project =3D=3D 'libosinfo' or ( project =3D=3D 'libvirt' and os_name !=3D 'FreeBSD' ) or - project =3D=3D 'libvirt-glib' ) + project =3D=3D 'libvirt-glib' or + project =3D=3D 'libvirt-sandbox' ) =20 - name: '{{ project }}: Run test suite' command: '{{ make }} -j{{ smp }} check' @@ -77,7 +80,8 @@ - ( ( project =3D=3D 'libvirt' and os_name !=3D 'FreeBSD' ) or project =3D=3D 'libvirt-cim' or - project =3D=3D 'libvirt-glib' ) + project =3D=3D 'libvirt-glib' or + project =3D=3D 'libvirt-sandbox' ) =20 - name: '{{ project }}: Build RPM package' command: '{{ make }} -j{{ smp }} rpm' diff --git a/ansible/vars/libvirt-sandbox/CentOS-7.yml b/ansible/vars/libvi= rt-sandbox/CentOS-7.yml new file mode 100644 index 0000000..9abcc35 --- /dev/null +++ b/ansible/vars/libvirt-sandbox/CentOS-7.yml @@ -0,0 +1,25 @@ +--- +packages: + - glib2-devel + - glibc-static + - gobject-introspection-devel + - gtk-doc + - intltool + - libcap-ng-devel + - libselinux-devel + - libxml2-devel + - xz-devel + - zlib-devel + - zlib-static + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + - libvirt-gobject-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + with_capng: --with-capng + with_lzma: --without-lzma # not available + with_zlib: --with-zlib diff --git a/ansible/vars/libvirt-sandbox/Debian-9.yml b/ansible/vars/libvi= rt-sandbox/Debian-9.yml new file mode 100644 index 0000000..c6e69fc --- /dev/null +++ b/ansible/vars/libvirt-sandbox/Debian-9.yml @@ -0,0 +1,22 @@ +--- +packages: + - gtk-doc-tools + - intltool + - libcap-ng-dev + - libgirepository1.0-dev + - libglib2.0-dev + - liblzma-dev + - libselinux1-dev + - libxml2-dev + - zlib1g-dev + +extra_packages: + - libvirt-dev + - libvirt-glib-1.0-dev + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + with_capng: --with-capng + with_lzma: --with-lzma + with_zlib: --with-zlib diff --git a/ansible/vars/libvirt-sandbox/Fedora-25.yml b/ansible/vars/libv= irt-sandbox/Fedora-25.yml new file mode 100644 index 0000000..90ba352 --- /dev/null +++ b/ansible/vars/libvirt-sandbox/Fedora-25.yml @@ -0,0 +1,26 @@ +--- +packages: + - glib2-devel + - glibc-static + - gobject-introspection-devel + - gtk-doc + - intltool + - libcap-ng-devel + - libselinux-devel + - libxml2-devel + - xz-devel + - xz-static + - zlib-devel + - zlib-static + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + - libvirt-gobject-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + with_capng: --with-capng + with_lzma: --with-lzma + with_zlib: --with-zlib diff --git a/ansible/vars/libvirt-sandbox/Fedora-26.yml b/ansible/vars/libv= irt-sandbox/Fedora-26.yml new file mode 100644 index 0000000..90ba352 --- /dev/null +++ b/ansible/vars/libvirt-sandbox/Fedora-26.yml @@ -0,0 +1,26 @@ +--- +packages: + - glib2-devel + - glibc-static + - gobject-introspection-devel + - gtk-doc + - intltool + - libcap-ng-devel + - libselinux-devel + - libxml2-devel + - xz-devel + - xz-static + - zlib-devel + - zlib-static + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + - libvirt-gobject-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + with_capng: --with-capng + with_lzma: --with-lzma + with_zlib: --with-zlib diff --git a/ansible/vars/libvirt-sandbox/Fedora-Rawhide.yml b/ansible/vars= /libvirt-sandbox/Fedora-Rawhide.yml new file mode 100644 index 0000000..90ba352 --- /dev/null +++ b/ansible/vars/libvirt-sandbox/Fedora-Rawhide.yml @@ -0,0 +1,26 @@ +--- +packages: + - glib2-devel + - glibc-static + - gobject-introspection-devel + - gtk-doc + - intltool + - libcap-ng-devel + - libselinux-devel + - libxml2-devel + - xz-devel + - xz-static + - zlib-devel + - zlib-static + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + - libvirt-gobject-devel + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + with_capng: --with-capng + with_lzma: --with-lzma + with_zlib: --with-zlib diff --git a/ansible/vars/libvirt-sandbox/Ubuntu-16.yml b/ansible/vars/libv= irt-sandbox/Ubuntu-16.yml new file mode 100644 index 0000000..c6e69fc --- /dev/null +++ b/ansible/vars/libvirt-sandbox/Ubuntu-16.yml @@ -0,0 +1,22 @@ +--- +packages: + - gtk-doc-tools + - intltool + - libcap-ng-dev + - libgirepository1.0-dev + - libglib2.0-dev + - liblzma-dev + - libselinux1-dev + - libxml2-dev + - zlib1g-dev + +extra_packages: + - libvirt-dev + - libvirt-glib-1.0-dev + +features: + enable_gtk_doc: --enable-gtk-doc + enable_introspection: --enable-introspection + with_capng: --with-capng + with_lzma: --with-lzma + with_zlib: --with-zlib --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506957639847147.30913010201573; Mon, 2 Oct 2017 08:20:39 -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 BC18F85547; Mon, 2 Oct 2017 15:20:38 +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 908B9841C7; Mon, 2 Oct 2017 15:20:38 +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 3A327180884F; Mon, 2 Oct 2017 15:20:38 +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 v92FBWK4019150 for ; Mon, 2 Oct 2017 11:11:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 104E65279E; Mon, 2 Oct 2017 15:11:32 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6A44C6F984 for ; Mon, 2 Oct 2017 15:11:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BC18F85547 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.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:50 +0200 Message-Id: <20171002151056.30841-13-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 12/18] ansible: Add libvirt-tck 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.28]); Mon, 02 Oct 2017 15:20:39 +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-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 30 +++++++++++++++++++= ++++ ansible/vars/libvirt-tck/Debian-8.yml | 22 +++++++++++++++++ ansible/vars/libvirt-tck/Debian-9.yml | 22 +++++++++++++++++ ansible/vars/libvirt-tck/Fedora-25.yml | 22 +++++++++++++++++ ansible/vars/libvirt-tck/Fedora-26.yml | 22 +++++++++++++++++ ansible/vars/libvirt-tck/Fedora-Rawhide.yml | 22 +++++++++++++++++ ansible/vars/libvirt-tck/FreeBSD-11.yml | 20 +++++++++++++++ ansible/vars/libvirt-tck/Ubuntu-14.yml | 21 ++++++++++++++++ ansible/vars/libvirt-tck/Ubuntu-16.yml | 22 +++++++++++++++++ 17 files changed, 211 insertions(+) create mode 100644 ansible/vars/libvirt-tck/Debian-8.yml create mode 100644 ansible/vars/libvirt-tck/Debian-9.yml create mode 100644 ansible/vars/libvirt-tck/Fedora-25.yml create mode 100644 ansible/vars/libvirt-tck/Fedora-26.yml create mode 100644 ansible/vars/libvirt-tck/Fedora-Rawhide.yml create mode 100644 ansible/vars/libvirt-tck/FreeBSD-11.yml create mode 100644 ansible/vars/libvirt-tck/Ubuntu-14.yml create mode 100644 ansible/vars/libvirt-tck/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 2525b10..a9e2160 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-tck diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 929ab1f..eb79aeb 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -9,3 +9,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-sandbox + - libvirt-tck diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 39707f6..7a42e2b 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -10,3 +10,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-sandbox + - libvirt-tck diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 39707f6..7a42e2b 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -10,3 +10,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-sandbox + - libvirt-tck diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 39707f6..7a42e2b 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -10,3 +10,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-sandbox + - libvirt-tck diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index cd3a373..868a0db 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -15,3 +15,4 @@ projects: - libvirt-go-xml - libvirt-perl - libvirt-python + - libvirt-tck diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index ab712b2..809c9fd 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -5,3 +5,4 @@ projects: - libvirt - libvirt-perl - libvirt-python + - libvirt-tck diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 929ab1f..eb79aeb 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -9,3 +9,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-sandbox + - libvirt-tck diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index a2f0d81..eb29531 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -145,6 +145,36 @@ - project =3D=3D 'libvirt-perl' - false =20 +# Perl build (module-build) + +- name: '{{ project }}: Run Build.PL' + command: perl Build.PL + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-tck' + +- name: '{{ project }}: Build project' + command: perl Build + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-tck' + +- name: '{{ project }}: Build project manifest' + command: perl Build manifest + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-tck' + +- name: '{{ project }}: Run test suite' + command: perl Build test + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'libvirt-tck' + # Python build =20 - name: '{{ project }}: Build project' diff --git a/ansible/vars/libvirt-tck/Debian-8.yml b/ansible/vars/libvirt-t= ck/Debian-8.yml new file mode 100644 index 0000000..a095bf4 --- /dev/null +++ b/ansible/vars/libvirt-tck/Debian-8.yml @@ -0,0 +1,22 @@ +--- +packages: + - libaccessors-perl + - libconfig-record-perl + - libdigest-perl + - libdigest-perl-md5-perl + - libfile-slurp-perl + - libio-compress-perl + - libio-string-perl + - libmodule-build-perl + - libsub-uplevel-perl + - libsys-virt-perl + - libtap-formatter-html-perl + - libtap-formatter-junit-perl + - libtap-harness-archive-perl + - libtest-exception-perl + - libtest-lwp-useragent-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libxml-twig-perl + - libxml-writer-perl + - libxml-xpath-perl diff --git a/ansible/vars/libvirt-tck/Debian-9.yml b/ansible/vars/libvirt-t= ck/Debian-9.yml new file mode 100644 index 0000000..a095bf4 --- /dev/null +++ b/ansible/vars/libvirt-tck/Debian-9.yml @@ -0,0 +1,22 @@ +--- +packages: + - libaccessors-perl + - libconfig-record-perl + - libdigest-perl + - libdigest-perl-md5-perl + - libfile-slurp-perl + - libio-compress-perl + - libio-string-perl + - libmodule-build-perl + - libsub-uplevel-perl + - libsys-virt-perl + - libtap-formatter-html-perl + - libtap-formatter-junit-perl + - libtap-harness-archive-perl + - libtest-exception-perl + - libtest-lwp-useragent-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libxml-twig-perl + - libxml-writer-perl + - libxml-xpath-perl diff --git a/ansible/vars/libvirt-tck/Fedora-25.yml b/ansible/vars/libvirt-= tck/Fedora-25.yml new file mode 100644 index 0000000..cd6b1d6 --- /dev/null +++ b/ansible/vars/libvirt-tck/Fedora-25.yml @@ -0,0 +1,22 @@ +--- +packages: + - perl-Config-Record + - perl-Digest + - perl-Digest-MD5 + - perl-File-Slurp + - perl-IO-Compress-Bzip2 + - perl-IO-String + - perl-Module-Build + - perl-Sub-Uplevel + - perl-Sys-Virt + - perl-TAP-Formatter-HTML + - perl-TAP-Formatter-JUnit + - perl-TAP-Harness-Archive + - perl-Test-Exception + - perl-Test-LWP-UserAgent + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-XML-Twig + - perl-XML-Writer + - perl-XML-XPath + - perl-accessors diff --git a/ansible/vars/libvirt-tck/Fedora-26.yml b/ansible/vars/libvirt-= tck/Fedora-26.yml new file mode 100644 index 0000000..cd6b1d6 --- /dev/null +++ b/ansible/vars/libvirt-tck/Fedora-26.yml @@ -0,0 +1,22 @@ +--- +packages: + - perl-Config-Record + - perl-Digest + - perl-Digest-MD5 + - perl-File-Slurp + - perl-IO-Compress-Bzip2 + - perl-IO-String + - perl-Module-Build + - perl-Sub-Uplevel + - perl-Sys-Virt + - perl-TAP-Formatter-HTML + - perl-TAP-Formatter-JUnit + - perl-TAP-Harness-Archive + - perl-Test-Exception + - perl-Test-LWP-UserAgent + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-XML-Twig + - perl-XML-Writer + - perl-XML-XPath + - perl-accessors diff --git a/ansible/vars/libvirt-tck/Fedora-Rawhide.yml b/ansible/vars/lib= virt-tck/Fedora-Rawhide.yml new file mode 100644 index 0000000..cd6b1d6 --- /dev/null +++ b/ansible/vars/libvirt-tck/Fedora-Rawhide.yml @@ -0,0 +1,22 @@ +--- +packages: + - perl-Config-Record + - perl-Digest + - perl-Digest-MD5 + - perl-File-Slurp + - perl-IO-Compress-Bzip2 + - perl-IO-String + - perl-Module-Build + - perl-Sub-Uplevel + - perl-Sys-Virt + - perl-TAP-Formatter-HTML + - perl-TAP-Formatter-JUnit + - perl-TAP-Harness-Archive + - perl-Test-Exception + - perl-Test-LWP-UserAgent + - perl-Test-Pod + - perl-Test-Pod-Coverage + - perl-XML-Twig + - perl-XML-Writer + - perl-XML-XPath + - perl-accessors diff --git a/ansible/vars/libvirt-tck/FreeBSD-11.yml b/ansible/vars/libvirt= -tck/FreeBSD-11.yml new file mode 100644 index 0000000..e2b38c3 --- /dev/null +++ b/ansible/vars/libvirt-tck/FreeBSD-11.yml @@ -0,0 +1,20 @@ +--- +packages: + - p5-Config-Record + - p5-Digest + - p5-Digest-MD5 + - p5-File-Slurp + - p5-IO-Compress + - p5-IO-String + - p5-Module-Build + - p5-Sub-Uplevel + - p5-Sys-Virt + - p5-TAP-Formatter-JUnit + - p5-Test-Exception + - p5-Test-LWP-UserAgent + - p5-Test-Pod + - p5-Test-Pod-Coverage + - p5-XML-Twig + - p5-XML-Writer + - p5-XML-XPath + - p5-accessors diff --git a/ansible/vars/libvirt-tck/Ubuntu-14.yml b/ansible/vars/libvirt-= tck/Ubuntu-14.yml new file mode 100644 index 0000000..40fe55f --- /dev/null +++ b/ansible/vars/libvirt-tck/Ubuntu-14.yml @@ -0,0 +1,21 @@ +--- +packages: + - libaccessors-perl + - libconfig-record-perl + - libdigest-perl + - libfile-slurp-perl + - libio-compress-perl + - libio-string-perl + - libmodule-build-perl + - libsub-uplevel-perl + - libsys-virt-perl + - libtap-formatter-html-perl + - libtap-formatter-junit-perl + - libtap-harness-archive-perl + - libtest-exception-perl + - libtest-lwp-useragent-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libxml-twig-perl + - libxml-writer-perl + - libxml-xpath-perl diff --git a/ansible/vars/libvirt-tck/Ubuntu-16.yml b/ansible/vars/libvirt-= tck/Ubuntu-16.yml new file mode 100644 index 0000000..a095bf4 --- /dev/null +++ b/ansible/vars/libvirt-tck/Ubuntu-16.yml @@ -0,0 +1,22 @@ +--- +packages: + - libaccessors-perl + - libconfig-record-perl + - libdigest-perl + - libdigest-perl-md5-perl + - libfile-slurp-perl + - libio-compress-perl + - libio-string-perl + - libmodule-build-perl + - libsub-uplevel-perl + - libsys-virt-perl + - libtap-formatter-html-perl + - libtap-formatter-junit-perl + - libtap-harness-archive-perl + - libtest-exception-perl + - libtest-lwp-useragent-perl + - libtest-pod-coverage-perl + - libtest-pod-perl + - libxml-twig-perl + - libxml-writer-perl + - libxml-xpath-perl --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 150695855573292.20212993005634; Mon, 2 Oct 2017 08:35:55 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A9340C059B60; Mon, 2 Oct 2017 15:35:54 +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 84A8386E73; Mon, 2 Oct 2017 15:35:54 +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 4340D18355C5; Mon, 2 Oct 2017 15:35:54 +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 v92FBXCO019160 for ; Mon, 2 Oct 2017 11:11:33 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1A5A76F984; Mon, 2 Oct 2017 15:11:33 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 726605279E for ; Mon, 2 Oct 2017 15:11:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A9340C059B60 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:51 +0200 Message-Id: <20171002151056.30841-14-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 13/18] ansible: Add osinfo-db 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.12 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:35:55 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/tasks/build.yml | 9 ++++++--- ansible/vars/osinfo-db/CentOS-7.yml | 7 +++++++ ansible/vars/osinfo-db/Debian-9.yml | 7 +++++++ ansible/vars/osinfo-db/Fedora-25.yml | 7 +++++++ ansible/vars/osinfo-db/Fedora-26.yml | 7 +++++++ ansible/vars/osinfo-db/Fedora-Rawhide.yml | 7 +++++++ ansible/vars/osinfo-db/FreeBSD-11.yml | 7 +++++++ 13 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 ansible/vars/osinfo-db/CentOS-7.yml create mode 100644 ansible/vars/osinfo-db/Debian-9.yml create mode 100644 ansible/vars/osinfo-db/Fedora-25.yml create mode 100644 ansible/vars/osinfo-db/Fedora-26.yml create mode 100644 ansible/vars/osinfo-db/Fedora-Rawhide.yml create mode 100644 ansible/vars/osinfo-db/FreeBSD-11.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index 39707f6..bfe7649 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -10,3 +10,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-sandbox + - osinfo-db diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index eb79aeb..08e35d3 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -10,3 +10,4 @@ projects: - libvirt-python - libvirt-sandbox - libvirt-tck + - osinfo-db diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 7a42e2b..88de6e5 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -11,3 +11,4 @@ projects: - libvirt-python - libvirt-sandbox - libvirt-tck + - osinfo-db diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 7a42e2b..88de6e5 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -11,3 +11,4 @@ projects: - libvirt-python - libvirt-sandbox - libvirt-tck + - osinfo-db diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 7a42e2b..88de6e5 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -11,3 +11,4 @@ projects: - libvirt-python - libvirt-sandbox - libvirt-tck + - osinfo-db diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index 868a0db..dd5302d 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -16,3 +16,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-tck + - osinfo-db diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index eb29531..48e8a98 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -59,7 +59,8 @@ project =3D=3D 'libvirt' or project =3D=3D 'libvirt-cim' or project =3D=3D 'libvirt-glib' or - project =3D=3D 'libvirt-sandbox' ) + project =3D=3D 'libvirt-sandbox' or + project =3D=3D 'osinfo-db' ) =20 - name: '{{ project }}: Run sanity checks' command: '{{ make }} -j{{ smp }} syntax-check' @@ -81,7 +82,8 @@ os_name !=3D 'FreeBSD' ) or project =3D=3D 'libvirt-cim' or project =3D=3D 'libvirt-glib' or - project =3D=3D 'libvirt-sandbox' ) + project =3D=3D 'libvirt-sandbox' or + project =3D=3D 'osinfo-db' ) =20 - name: '{{ project }}: Build RPM package' command: '{{ make }} -j{{ smp }} rpm' @@ -91,7 +93,8 @@ - ( os_name =3D=3D 'CentOS' or os_name =3D=3D 'Fedora' ) - ( project =3D=3D 'libvirt' or - project =3D=3D 'libvirt-cim' ) + project =3D=3D 'libvirt-cim' or + project =3D=3D 'osinfo-db' ) =20 # Go build =20 diff --git a/ansible/vars/osinfo-db/CentOS-7.yml b/ansible/vars/osinfo-db/C= entOS-7.yml new file mode 100644 index 0000000..c41d877 --- /dev/null +++ b/ansible/vars/osinfo-db/CentOS-7.yml @@ -0,0 +1,7 @@ +--- +packages: + - intltool + - libxml2 + +extra_packages: + - osinfo-db-tools diff --git a/ansible/vars/osinfo-db/Debian-9.yml b/ansible/vars/osinfo-db/D= ebian-9.yml new file mode 100644 index 0000000..c21dc6e --- /dev/null +++ b/ansible/vars/osinfo-db/Debian-9.yml @@ -0,0 +1,7 @@ +--- +packages: + - intltool + - libxml2-utils + +extra_packages: + - osinfo-db-tools diff --git a/ansible/vars/osinfo-db/Fedora-25.yml b/ansible/vars/osinfo-db/= Fedora-25.yml new file mode 100644 index 0000000..c41d877 --- /dev/null +++ b/ansible/vars/osinfo-db/Fedora-25.yml @@ -0,0 +1,7 @@ +--- +packages: + - intltool + - libxml2 + +extra_packages: + - osinfo-db-tools diff --git a/ansible/vars/osinfo-db/Fedora-26.yml b/ansible/vars/osinfo-db/= Fedora-26.yml new file mode 100644 index 0000000..c41d877 --- /dev/null +++ b/ansible/vars/osinfo-db/Fedora-26.yml @@ -0,0 +1,7 @@ +--- +packages: + - intltool + - libxml2 + +extra_packages: + - osinfo-db-tools diff --git a/ansible/vars/osinfo-db/Fedora-Rawhide.yml b/ansible/vars/osinf= o-db/Fedora-Rawhide.yml new file mode 100644 index 0000000..c41d877 --- /dev/null +++ b/ansible/vars/osinfo-db/Fedora-Rawhide.yml @@ -0,0 +1,7 @@ +--- +packages: + - intltool + - libxml2 + +extra_packages: + - osinfo-db-tools diff --git a/ansible/vars/osinfo-db/FreeBSD-11.yml b/ansible/vars/osinfo-db= /FreeBSD-11.yml new file mode 100644 index 0000000..c41d877 --- /dev/null +++ b/ansible/vars/osinfo-db/FreeBSD-11.yml @@ -0,0 +1,7 @@ +--- +packages: + - intltool + - libxml2 + +extra_packages: + - osinfo-db-tools --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506958828373376.92908680099856; Mon, 2 Oct 2017 08:40:28 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 41331C0587D3; Mon, 2 Oct 2017 15:40:27 +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 1E02F91B3B; Mon, 2 Oct 2017 15:40:27 +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 D489F18355C6; Mon, 2 Oct 2017 15:40:26 +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 v92FBY3M019175 for ; Mon, 2 Oct 2017 11:11:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 67A4817DDA; Mon, 2 Oct 2017 15:11:34 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C45426FDA6 for ; Mon, 2 Oct 2017 15:11:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 41331C0587D3 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:52 +0200 Message-Id: <20171002151056.30841-15-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 14/18] ansible: Add osinfo-db-tools 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.11 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:40:27 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 12 ++++++++---- ansible/vars/osinfo-db-tools/CentOS-7.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/Debian-8.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/Debian-9.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/Fedora-25.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/Fedora-26.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/FreeBSD-11.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/Ubuntu-14.yml | 8 ++++++++ ansible/vars/osinfo-db-tools/Ubuntu-16.yml | 8 ++++++++ 19 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 ansible/vars/osinfo-db-tools/CentOS-7.yml create mode 100644 ansible/vars/osinfo-db-tools/Debian-8.yml create mode 100644 ansible/vars/osinfo-db-tools/Debian-9.yml create mode 100644 ansible/vars/osinfo-db-tools/Fedora-25.yml create mode 100644 ansible/vars/osinfo-db-tools/Fedora-26.yml create mode 100644 ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml create mode 100644 ansible/vars/osinfo-db-tools/FreeBSD-11.yml create mode 100644 ansible/vars/osinfo-db-tools/Ubuntu-14.yml create mode 100644 ansible/vars/osinfo-db-tools/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index bfe7649..eaaa1cd 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -11,3 +11,4 @@ projects: - libvirt-python - libvirt-sandbox - osinfo-db + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index a9e2160..4199dfd 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -9,3 +9,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-tck + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 08e35d3..82b7cb8 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -11,3 +11,4 @@ projects: - libvirt-sandbox - libvirt-tck - osinfo-db + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 88de6e5..9a42421 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -12,3 +12,4 @@ projects: - libvirt-sandbox - libvirt-tck - osinfo-db + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 88de6e5..9a42421 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -12,3 +12,4 @@ projects: - libvirt-sandbox - libvirt-tck - osinfo-db + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 88de6e5..9a42421 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -12,3 +12,4 @@ projects: - libvirt-sandbox - libvirt-tck - osinfo-db + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index dd5302d..93eaca7 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -17,3 +17,4 @@ projects: - libvirt-python - libvirt-tck - osinfo-db + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index 809c9fd..7711c5c 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -6,3 +6,4 @@ projects: - libvirt-perl - libvirt-python - libvirt-tck + - osinfo-db-tools diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index eb79aeb..fb05515 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -10,3 +10,4 @@ projects: - libvirt-python - libvirt-sandbox - libvirt-tck + - osinfo-db-tools diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 48e8a98..8622713 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -41,7 +41,8 @@ project =3D=3D 'libvirt' or project =3D=3D 'libvirt-cim' or project =3D=3D 'libvirt-glib' or - project =3D=3D 'libvirt-sandbox' ) + project =3D=3D 'libvirt-sandbox' or + project =3D=3D 'osinfo-db-tools' ) =20 - name: '{{ project }}: Run configure' command: './configure {{ configure_options }}' @@ -60,7 +61,8 @@ project =3D=3D 'libvirt-cim' or project =3D=3D 'libvirt-glib' or project =3D=3D 'libvirt-sandbox' or - project =3D=3D 'osinfo-db' ) + project =3D=3D 'osinfo-db' or + project =3D=3D 'osinfo-db-tools' ) =20 - name: '{{ project }}: Run sanity checks' command: '{{ make }} -j{{ smp }} syntax-check' @@ -71,7 +73,8 @@ ( project =3D=3D 'libvirt' and os_name !=3D 'FreeBSD' ) or project =3D=3D 'libvirt-glib' or - project =3D=3D 'libvirt-sandbox' ) + project =3D=3D 'libvirt-sandbox' or + project =3D=3D 'osinfo-db-tools' ) =20 - name: '{{ project }}: Run test suite' command: '{{ make }} -j{{ smp }} check' @@ -83,7 +86,8 @@ project =3D=3D 'libvirt-cim' or project =3D=3D 'libvirt-glib' or project =3D=3D 'libvirt-sandbox' or - project =3D=3D 'osinfo-db' ) + project =3D=3D 'osinfo-db' or + project =3D=3D 'osinfo-db-tools' ) =20 - name: '{{ project }}: Build RPM package' command: '{{ make }} -j{{ smp }} rpm' diff --git a/ansible/vars/osinfo-db-tools/CentOS-7.yml b/ansible/vars/osinf= o-db-tools/CentOS-7.yml new file mode 100644 index 0000000..ce38721 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/CentOS-7.yml @@ -0,0 +1,8 @@ +--- +packages: + - glib2-devel + - gnome-common + - intltool + - libarchive-devel + - libxml2-devel + - libxslt-devel diff --git a/ansible/vars/osinfo-db-tools/Debian-8.yml b/ansible/vars/osinf= o-db-tools/Debian-8.yml new file mode 100644 index 0000000..dcc6634 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/Debian-8.yml @@ -0,0 +1,8 @@ +--- +packages: + - gnome-common + - intltool + - libarchive-dev + - libglib2.0-dev + - libxml2-dev + - libxslt1-dev diff --git a/ansible/vars/osinfo-db-tools/Debian-9.yml b/ansible/vars/osinf= o-db-tools/Debian-9.yml new file mode 100644 index 0000000..dcc6634 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/Debian-9.yml @@ -0,0 +1,8 @@ +--- +packages: + - gnome-common + - intltool + - libarchive-dev + - libglib2.0-dev + - libxml2-dev + - libxslt1-dev diff --git a/ansible/vars/osinfo-db-tools/Fedora-25.yml b/ansible/vars/osin= fo-db-tools/Fedora-25.yml new file mode 100644 index 0000000..ce38721 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/Fedora-25.yml @@ -0,0 +1,8 @@ +--- +packages: + - glib2-devel + - gnome-common + - intltool + - libarchive-devel + - libxml2-devel + - libxslt-devel diff --git a/ansible/vars/osinfo-db-tools/Fedora-26.yml b/ansible/vars/osin= fo-db-tools/Fedora-26.yml new file mode 100644 index 0000000..ce38721 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/Fedora-26.yml @@ -0,0 +1,8 @@ +--- +packages: + - glib2-devel + - gnome-common + - intltool + - libarchive-devel + - libxml2-devel + - libxslt-devel diff --git a/ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml b/ansible/vars= /osinfo-db-tools/Fedora-Rawhide.yml new file mode 100644 index 0000000..ce38721 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/Fedora-Rawhide.yml @@ -0,0 +1,8 @@ +--- +packages: + - glib2-devel + - gnome-common + - intltool + - libarchive-devel + - libxml2-devel + - libxslt-devel diff --git a/ansible/vars/osinfo-db-tools/FreeBSD-11.yml b/ansible/vars/osi= nfo-db-tools/FreeBSD-11.yml new file mode 100644 index 0000000..7a804c9 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/FreeBSD-11.yml @@ -0,0 +1,8 @@ +--- +packages: + - glib + - gnome-common + - intltool + - libarchive + - libxml2 + - libxslt diff --git a/ansible/vars/osinfo-db-tools/Ubuntu-14.yml b/ansible/vars/osin= fo-db-tools/Ubuntu-14.yml new file mode 100644 index 0000000..dcc6634 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/Ubuntu-14.yml @@ -0,0 +1,8 @@ +--- +packages: + - gnome-common + - intltool + - libarchive-dev + - libglib2.0-dev + - libxml2-dev + - libxslt1-dev diff --git a/ansible/vars/osinfo-db-tools/Ubuntu-16.yml b/ansible/vars/osin= fo-db-tools/Ubuntu-16.yml new file mode 100644 index 0000000..dcc6634 --- /dev/null +++ b/ansible/vars/osinfo-db-tools/Ubuntu-16.yml @@ -0,0 +1,8 @@ +--- +packages: + - gnome-common + - intltool + - libarchive-dev + - libglib2.0-dev + - libxml2-dev + - libxslt1-dev --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506957660287574.550157670637; Mon, 2 Oct 2017 08:21:00 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 11F4681E0F; Mon, 2 Oct 2017 15:20:59 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E66E65D722; Mon, 2 Oct 2017 15:20:58 +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 7F3503FAD3; Mon, 2 Oct 2017 15:20:58 +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 v92FBaYm019183 for ; Mon, 2 Oct 2017 11:11:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id 08E4D6FDA5; Mon, 2 Oct 2017 15:11:36 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3B0E06FDA0 for ; Mon, 2 Oct 2017 15:11:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 11F4681E0F Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.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:53 +0200 Message-Id: <20171002151056.30841-16-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 15/18] ansible: Add virt-manager 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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 02 Oct 2017 15:20:59 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 19 ++++++++++++++++++- ansible/vars/virt-manager/CentOS-7.yml | 12 ++++++++++++ ansible/vars/virt-manager/Debian-8.yml | 12 ++++++++++++ ansible/vars/virt-manager/Debian-9.yml | 12 ++++++++++++ ansible/vars/virt-manager/Fedora-25.yml | 12 ++++++++++++ ansible/vars/virt-manager/Fedora-26.yml | 12 ++++++++++++ ansible/vars/virt-manager/Fedora-Rawhide.yml | 12 ++++++++++++ ansible/vars/virt-manager/FreeBSD-11.yml | 11 +++++++++++ ansible/vars/virt-manager/Ubuntu-14.yml | 12 ++++++++++++ ansible/vars/virt-manager/Ubuntu-16.yml | 12 ++++++++++++ 19 files changed, 134 insertions(+), 1 deletion(-) create mode 100644 ansible/vars/virt-manager/CentOS-7.yml create mode 100644 ansible/vars/virt-manager/Debian-8.yml create mode 100644 ansible/vars/virt-manager/Debian-9.yml create mode 100644 ansible/vars/virt-manager/Fedora-25.yml create mode 100644 ansible/vars/virt-manager/Fedora-26.yml create mode 100644 ansible/vars/virt-manager/Fedora-Rawhide.yml create mode 100644 ansible/vars/virt-manager/FreeBSD-11.yml create mode 100644 ansible/vars/virt-manager/Ubuntu-14.yml create mode 100644 ansible/vars/virt-manager/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index eaaa1cd..970839d 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -12,3 +12,4 @@ projects: - libvirt-sandbox - osinfo-db - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 4199dfd..5d300e8 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -10,3 +10,4 @@ projects: - libvirt-python - libvirt-tck - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 82b7cb8..4640d87 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -12,3 +12,4 @@ projects: - libvirt-tck - osinfo-db - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 9a42421..265e7ca 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -13,3 +13,4 @@ projects: - libvirt-tck - osinfo-db - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 9a42421..265e7ca 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -13,3 +13,4 @@ projects: - libvirt-tck - osinfo-db - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 9a42421..265e7ca 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -13,3 +13,4 @@ projects: - libvirt-tck - osinfo-db - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index 93eaca7..563a254 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -18,3 +18,4 @@ projects: - libvirt-tck - osinfo-db - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index 7711c5c..f77a167 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -7,3 +7,4 @@ projects: - libvirt-python - libvirt-tck - osinfo-db-tools + - virt-manager diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index fb05515..04191bc 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -11,3 +11,4 @@ projects: - libvirt-sandbox - libvirt-tck - osinfo-db-tools + - virt-manager diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index 8622713..aa2d60e 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -184,12 +184,20 @@ =20 # Python build =20 +- name: '{{ project }}: Run configure' + command: python2 setup.py configure + args: + chdir: '{{ project }}' + when: + - project =3D=3D 'virt-manager' + - name: '{{ project }}: Build project' command: python2 setup.py build args: chdir: '{{ project }}' when: - - project =3D=3D 'libvirt-python' + - ( project =3D=3D 'libvirt-python' or + project =3D=3D 'virt-manager' ) =20 - name: '{{ project }}: Run test suite' command: python2 setup.py test @@ -197,3 +205,12 @@ chdir: '{{ project }}' when: - project =3D=3D 'libvirt-python' + +- name: '{{ project }}: Build RPM package' + command: python2 setup.py rpm + args: + chdir: '{{ project }}' + when: + - ( os_name =3D=3D 'CentOS' or + os_name =3D=3D 'Fedora' ) + - project =3D=3D 'virt-manager' diff --git a/ansible/vars/virt-manager/CentOS-7.yml b/ansible/vars/virt-man= ager/CentOS-7.yml new file mode 100644 index 0000000..c66999b --- /dev/null +++ b/ansible/vars/virt-manager/CentOS-7.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - libxml2-python + - python-gobject + - python-ipaddr + - python-requests + - python2-devel + +extra_packages: + - libosinfo + - libvirt-python diff --git a/ansible/vars/virt-manager/Debian-8.yml b/ansible/vars/virt-man= ager/Debian-8.yml new file mode 100644 index 0000000..1014887 --- /dev/null +++ b/ansible/vars/virt-manager/Debian-8.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - libglib2.0-bin + - python-gi + - python-ipaddr + - python-libxml2 + - python-requests + +extra_packages: + - gir1.2-libosinfo-1.0 + - python-libvirt diff --git a/ansible/vars/virt-manager/Debian-9.yml b/ansible/vars/virt-man= ager/Debian-9.yml new file mode 100644 index 0000000..1014887 --- /dev/null +++ b/ansible/vars/virt-manager/Debian-9.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - libglib2.0-bin + - python-gi + - python-ipaddr + - python-libxml2 + - python-requests + +extra_packages: + - gir1.2-libosinfo-1.0 + - python-libvirt diff --git a/ansible/vars/virt-manager/Fedora-25.yml b/ansible/vars/virt-ma= nager/Fedora-25.yml new file mode 100644 index 0000000..7ad9aa2 --- /dev/null +++ b/ansible/vars/virt-manager/Fedora-25.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - python-gobject + - python-ipaddr + - python-libxml2 + - python2-devel + - python2-requests + +extra_packages: + - libosinfo + - libvirt-python diff --git a/ansible/vars/virt-manager/Fedora-26.yml b/ansible/vars/virt-ma= nager/Fedora-26.yml new file mode 100644 index 0000000..7ad9aa2 --- /dev/null +++ b/ansible/vars/virt-manager/Fedora-26.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - python-gobject + - python-ipaddr + - python-libxml2 + - python2-devel + - python2-requests + +extra_packages: + - libosinfo + - libvirt-python diff --git a/ansible/vars/virt-manager/Fedora-Rawhide.yml b/ansible/vars/vi= rt-manager/Fedora-Rawhide.yml new file mode 100644 index 0000000..7ad9aa2 --- /dev/null +++ b/ansible/vars/virt-manager/Fedora-Rawhide.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - python-gobject + - python-ipaddr + - python-libxml2 + - python2-devel + - python2-requests + +extra_packages: + - libosinfo + - libvirt-python diff --git a/ansible/vars/virt-manager/FreeBSD-11.yml b/ansible/vars/virt-m= anager/FreeBSD-11.yml new file mode 100644 index 0000000..7b0082d --- /dev/null +++ b/ansible/vars/virt-manager/FreeBSD-11.yml @@ -0,0 +1,11 @@ +--- +packages: + - intltool + - py27-gobject3 + - py27-ipaddr + - py27-libxml2 + - py27-requests + +extra_packages: + - libosinfo + - py27-libvirt diff --git a/ansible/vars/virt-manager/Ubuntu-14.yml b/ansible/vars/virt-ma= nager/Ubuntu-14.yml new file mode 100644 index 0000000..1014887 --- /dev/null +++ b/ansible/vars/virt-manager/Ubuntu-14.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - libglib2.0-bin + - python-gi + - python-ipaddr + - python-libxml2 + - python-requests + +extra_packages: + - gir1.2-libosinfo-1.0 + - python-libvirt diff --git a/ansible/vars/virt-manager/Ubuntu-16.yml b/ansible/vars/virt-ma= nager/Ubuntu-16.yml new file mode 100644 index 0000000..1014887 --- /dev/null +++ b/ansible/vars/virt-manager/Ubuntu-16.yml @@ -0,0 +1,12 @@ +--- +packages: + - intltool + - libglib2.0-bin + - python-gi + - python-ipaddr + - python-libxml2 + - python-requests + +extra_packages: + - gir1.2-libosinfo-1.0 + - python-libvirt --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506958849463849.1608011426185; Mon, 2 Oct 2017 08:40:49 -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 438178047E; Mon, 2 Oct 2017 15:40:48 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 18FE1841D5; Mon, 2 Oct 2017 15:40:48 +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 D7AC83FAD0; Mon, 2 Oct 2017 15:40:47 +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 v92FBb9F019194 for ; Mon, 2 Oct 2017 11:11:37 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2C5EE6E516; Mon, 2 Oct 2017 15:11:37 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6A0AB6F989 for ; Mon, 2 Oct 2017 15:11:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 438178047E Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.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:54 +0200 Message-Id: <20171002151056.30841-17-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 16/18] ansible: Add virt-viewer 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.28]); Mon, 02 Oct 2017 15:40:48 +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-7/main.yml | 1 + ansible/host_vars/libvirt-debian-8/main.yml | 1 + ansible/host_vars/libvirt-debian-9/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/host_vars/libvirt-freebsd-11/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-14/main.yml | 1 + ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 + ansible/tasks/build.yml | 15 +++++++++++---- ansible/vars/virt-viewer/CentOS-7.yml | 20 ++++++++++++++++++++ ansible/vars/virt-viewer/Debian-8.yml | 18 ++++++++++++++++++ ansible/vars/virt-viewer/Debian-9.yml | 20 ++++++++++++++++++++ ansible/vars/virt-viewer/Fedora-25.yml | 20 ++++++++++++++++++++ ansible/vars/virt-viewer/Fedora-26.yml | 20 ++++++++++++++++++++ ansible/vars/virt-viewer/Fedora-Rawhide.yml | 20 ++++++++++++++++++++ ansible/vars/virt-viewer/FreeBSD-11.yml | 18 ++++++++++++++++++ ansible/vars/virt-viewer/Ubuntu-14.yml | 16 ++++++++++++++++ ansible/vars/virt-viewer/Ubuntu-16.yml | 18 ++++++++++++++++++ 19 files changed, 190 insertions(+), 4 deletions(-) create mode 100644 ansible/vars/virt-viewer/CentOS-7.yml create mode 100644 ansible/vars/virt-viewer/Debian-8.yml create mode 100644 ansible/vars/virt-viewer/Debian-9.yml create mode 100644 ansible/vars/virt-viewer/Fedora-25.yml create mode 100644 ansible/vars/virt-viewer/Fedora-26.yml create mode 100644 ansible/vars/virt-viewer/Fedora-Rawhide.yml create mode 100644 ansible/vars/virt-viewer/FreeBSD-11.yml create mode 100644 ansible/vars/virt-viewer/Ubuntu-14.yml create mode 100644 ansible/vars/virt-viewer/Ubuntu-16.yml diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index 970839d..fe33bcd 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -13,3 +13,4 @@ projects: - osinfo-db - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 5d300e8..42bf6c3 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -11,3 +11,4 @@ projects: - libvirt-tck - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index 4640d87..ff28698 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -13,3 +13,4 @@ projects: - osinfo-db - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 265e7ca..8d3b26f 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -14,3 +14,4 @@ projects: - osinfo-db - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 265e7ca..8d3b26f 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -14,3 +14,4 @@ projects: - osinfo-db - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 265e7ca..8d3b26f 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -14,3 +14,4 @@ projects: - osinfo-db - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index 563a254..69b172c 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -19,3 +19,4 @@ projects: - osinfo-db - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index f77a167..18b013d 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -8,3 +8,4 @@ projects: - libvirt-tck - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 04191bc..7baecf7 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -12,3 +12,4 @@ projects: - libvirt-tck - osinfo-db-tools - virt-manager + - virt-viewer diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml index aa2d60e..140d4da 100644 --- a/ansible/tasks/build.yml +++ b/ansible/tasks/build.yml @@ -42,7 +42,8 @@ project =3D=3D 'libvirt-cim' or project =3D=3D 'libvirt-glib' or project =3D=3D 'libvirt-sandbox' or - project =3D=3D 'osinfo-db-tools' ) + project =3D=3D 'osinfo-db-tools' or + project =3D=3D 'virt-viewer' ) =20 - name: '{{ project }}: Run configure' command: './configure {{ configure_options }}' @@ -62,7 +63,9 @@ project =3D=3D 'libvirt-glib' or project =3D=3D 'libvirt-sandbox' or project =3D=3D 'osinfo-db' or - project =3D=3D 'osinfo-db-tools' ) + project =3D=3D 'osinfo-db-tools' or + ( project =3D=3D 'virt-viewer' and + os_version !=3D 'Rawhide' ) ) =20 - name: '{{ project }}: Run sanity checks' command: '{{ make }} -j{{ smp }} syntax-check' @@ -74,7 +77,9 @@ os_name !=3D 'FreeBSD' ) or project =3D=3D 'libvirt-glib' or project =3D=3D 'libvirt-sandbox' or - project =3D=3D 'osinfo-db-tools' ) + project =3D=3D 'osinfo-db-tools' or + ( project =3D=3D 'virt-viewer' and + os_version !=3D 'Rawhide' ) ) =20 - name: '{{ project }}: Run test suite' command: '{{ make }} -j{{ smp }} check' @@ -87,7 +92,9 @@ project =3D=3D 'libvirt-glib' or project =3D=3D 'libvirt-sandbox' or project =3D=3D 'osinfo-db' or - project =3D=3D 'osinfo-db-tools' ) + project =3D=3D 'osinfo-db-tools' or + ( project =3D=3D 'virt-viewer' and + os_version !=3D 'Rawhide' ) ) =20 - name: '{{ project }}: Build RPM package' command: '{{ make }} -j{{ smp }} rpm' diff --git a/ansible/vars/virt-viewer/CentOS-7.yml b/ansible/vars/virt-view= er/CentOS-7.yml new file mode 100644 index 0000000..44081ec --- /dev/null +++ b/ansible/vars/virt-viewer/CentOS-7.yml @@ -0,0 +1,20 @@ +--- +packages: + - glib2-devel + - gtk-vnc2-devel + - gtk3-devel + - intltool + - libgovirt-devel + - libxml2 + - libxml2-devel + - spice-gtk3-devel + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --with-ovirt + with_spice_gtk: --with-spice-gtk diff --git a/ansible/vars/virt-viewer/Debian-8.yml b/ansible/vars/virt-view= er/Debian-8.yml new file mode 100644 index 0000000..54c34a9 --- /dev/null +++ b/ansible/vars/virt-viewer/Debian-8.yml @@ -0,0 +1,18 @@ +--- +packages: + - intltool + - libglib2.0-dev + - libgtk-3-dev + - libgtk-vnc-2.0-dev + - libxml2-dev + - libxml2-utils + +extra_packages: + - libvirt-dev + - libvirt-glib-1.0-dev + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --without-ovirt # not available + with_spice_gtk: --without-spice-gtk # too old diff --git a/ansible/vars/virt-viewer/Debian-9.yml b/ansible/vars/virt-view= er/Debian-9.yml new file mode 100644 index 0000000..e9b7653 --- /dev/null +++ b/ansible/vars/virt-viewer/Debian-9.yml @@ -0,0 +1,20 @@ +--- +packages: + - intltool + - libglib2.0-dev + - libgovirt-dev + - libgtk-3-dev + - libgtk-vnc-2.0-dev + - libspice-client-gtk-3.0-dev + - libxml2-dev + - libxml2-utils + +extra_packages: + - libvirt-dev + - libvirt-glib-1.0-dev + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --without-ovirt # not available + with_spice_gtk: --with-spice-gtk diff --git a/ansible/vars/virt-viewer/Fedora-25.yml b/ansible/vars/virt-vie= wer/Fedora-25.yml new file mode 100644 index 0000000..44081ec --- /dev/null +++ b/ansible/vars/virt-viewer/Fedora-25.yml @@ -0,0 +1,20 @@ +--- +packages: + - glib2-devel + - gtk-vnc2-devel + - gtk3-devel + - intltool + - libgovirt-devel + - libxml2 + - libxml2-devel + - spice-gtk3-devel + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --with-ovirt + with_spice_gtk: --with-spice-gtk diff --git a/ansible/vars/virt-viewer/Fedora-26.yml b/ansible/vars/virt-vie= wer/Fedora-26.yml new file mode 100644 index 0000000..44081ec --- /dev/null +++ b/ansible/vars/virt-viewer/Fedora-26.yml @@ -0,0 +1,20 @@ +--- +packages: + - glib2-devel + - gtk-vnc2-devel + - gtk3-devel + - intltool + - libgovirt-devel + - libxml2 + - libxml2-devel + - spice-gtk3-devel + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --with-ovirt + with_spice_gtk: --with-spice-gtk diff --git a/ansible/vars/virt-viewer/Fedora-Rawhide.yml b/ansible/vars/vir= t-viewer/Fedora-Rawhide.yml new file mode 100644 index 0000000..44081ec --- /dev/null +++ b/ansible/vars/virt-viewer/Fedora-Rawhide.yml @@ -0,0 +1,20 @@ +--- +packages: + - glib2-devel + - gtk-vnc2-devel + - gtk3-devel + - intltool + - libgovirt-devel + - libxml2 + - libxml2-devel + - spice-gtk3-devel + +extra_packages: + - libvirt-devel + - libvirt-glib-devel + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --with-ovirt + with_spice_gtk: --with-spice-gtk diff --git a/ansible/vars/virt-viewer/FreeBSD-11.yml b/ansible/vars/virt-vi= ewer/FreeBSD-11.yml new file mode 100644 index 0000000..f3a6332 --- /dev/null +++ b/ansible/vars/virt-viewer/FreeBSD-11.yml @@ -0,0 +1,18 @@ +--- +packages: + - glib + - gtk-vnc + - gtk3 + - intltool + - libxml2 + - spice-gtk + +extra_packages: + - libvirt + - libvirt-glib + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --without-ovirt # not available + with_spice_gtk: --with-spice-gtk diff --git a/ansible/vars/virt-viewer/Ubuntu-14.yml b/ansible/vars/virt-vie= wer/Ubuntu-14.yml new file mode 100644 index 0000000..dc68c85 --- /dev/null +++ b/ansible/vars/virt-viewer/Ubuntu-14.yml @@ -0,0 +1,16 @@ +--- +packages: + - intltool + - libatspi2.0-dev + - libglib2.0-dev + - libgtk-3-dev + - libgtk-vnc-2.0-dev + - libspice-client-gtk-3.0-dev + - libxml2-dev + - libxml2-utils + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --without-libvirt # too old + with_ovirt: --without-ovirt # not available + with_spice_gtk: --without-spice-gtk # too old diff --git a/ansible/vars/virt-viewer/Ubuntu-16.yml b/ansible/vars/virt-vie= wer/Ubuntu-16.yml new file mode 100644 index 0000000..54c34a9 --- /dev/null +++ b/ansible/vars/virt-viewer/Ubuntu-16.yml @@ -0,0 +1,18 @@ +--- +packages: + - intltool + - libglib2.0-dev + - libgtk-3-dev + - libgtk-vnc-2.0-dev + - libxml2-dev + - libxml2-utils + +extra_packages: + - libvirt-dev + - libvirt-glib-1.0-dev + +features: + with_gtk_vnc: --with-gtk-vnc + with_libvirt: --with-libvirt + with_ovirt: --without-ovirt # not available + with_spice_gtk: --without-spice-gtk # too old --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506957681284803.9389247193651; Mon, 2 Oct 2017 08:21:21 -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 0A83380E74; Mon, 2 Oct 2017 15:21:20 +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 CDA05841C5; Mon, 2 Oct 2017 15:21:19 +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 85CED18355C4; Mon, 2 Oct 2017 15:21:19 +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 v92FBcL1019206 for ; Mon, 2 Oct 2017 11:11:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9DBF46E516; Mon, 2 Oct 2017 15:11:38 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F38606FDA0 for ; Mon, 2 Oct 2017 15:11:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0A83380E74 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.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:55 +0200 Message-Id: <20171002151056.30841-18-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 17/18] ansible: Install and configure Jenkins agent 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.25]); Mon, 02 Oct 2017 15:21:20 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" The agent is downloaded and configured to start at boot. The secrets needed to prove the workers' identity to the Jenkins server are stored inside Ansible vaults. Signed-off-by: Andrea Bolognani --- ansible/ansible.cfg | 1 + ansible/group_vars/all/main.yml | 2 + ansible/host_vars/libvirt-centos-6/main.yml | 3 ++ ansible/host_vars/libvirt-centos-6/vault.yml | 10 ++++ ansible/host_vars/libvirt-centos-7/main.yml | 3 ++ ansible/host_vars/libvirt-centos-7/vault.yml | 10 ++++ ansible/host_vars/libvirt-debian-8/main.yml | 3 ++ ansible/host_vars/libvirt-debian-8/vault.yml | 10 ++++ ansible/host_vars/libvirt-debian-9/main.yml | 3 ++ ansible/host_vars/libvirt-debian-9/vault.yml | 10 ++++ ansible/host_vars/libvirt-fedora-25/main.yml | 3 ++ ansible/host_vars/libvirt-fedora-25/vault.yml | 10 ++++ ansible/host_vars/libvirt-fedora-26/main.yml | 3 ++ ansible/host_vars/libvirt-fedora-26/vault.yml | 10 ++++ ansible/host_vars/libvirt-fedora-rawhide/main.yml | 3 ++ ansible/host_vars/libvirt-fedora-rawhide/vault.yml | 10 ++++ ansible/host_vars/libvirt-freebsd-11/main.yml | 3 ++ ansible/host_vars/libvirt-freebsd-11/vault.yml | 10 ++++ ansible/host_vars/libvirt-ubuntu-12/main.yml | 3 ++ ansible/host_vars/libvirt-ubuntu-12/vault.yml | 8 +++ ansible/host_vars/libvirt-ubuntu-14/main.yml | 3 ++ ansible/host_vars/libvirt-ubuntu-14/vault.yml | 8 +++ ansible/host_vars/libvirt-ubuntu-16/main.yml | 3 ++ ansible/host_vars/libvirt-ubuntu-16/vault.yml | 8 +++ ansible/site.yml | 10 +++- ansible/tasks/jenkins.yml | 59 ++++++++++++++++++= ++++ ansible/templates/jenkins.service.j2 | 14 +++++ ansible/vars/jenkins/CentOS-6.yml | 3 ++ ansible/vars/jenkins/CentOS-7.yml | 3 ++ ansible/vars/jenkins/Debian-8.yml | 3 ++ ansible/vars/jenkins/Debian-9.yml | 3 ++ ansible/vars/jenkins/Fedora-25.yml | 3 ++ ansible/vars/jenkins/Fedora-26.yml | 3 ++ ansible/vars/jenkins/Fedora-Rawhide.yml | 3 ++ ansible/vars/jenkins/FreeBSD-11.yml | 3 ++ ansible/vars/jenkins/Ubuntu-12.yml | 3 ++ ansible/vars/jenkins/Ubuntu-14.yml | 3 ++ ansible/vars/jenkins/Ubuntu-16.yml | 3 ++ 38 files changed, 255 insertions(+), 1 deletion(-) create mode 100644 ansible/host_vars/libvirt-centos-6/vault.yml create mode 100644 ansible/host_vars/libvirt-centos-7/vault.yml create mode 100644 ansible/host_vars/libvirt-debian-8/vault.yml create mode 100644 ansible/host_vars/libvirt-debian-9/vault.yml create mode 100644 ansible/host_vars/libvirt-fedora-25/vault.yml create mode 100644 ansible/host_vars/libvirt-fedora-26/vault.yml create mode 100644 ansible/host_vars/libvirt-fedora-rawhide/vault.yml create mode 100644 ansible/host_vars/libvirt-freebsd-11/vault.yml create mode 100644 ansible/host_vars/libvirt-ubuntu-12/vault.yml create mode 100644 ansible/host_vars/libvirt-ubuntu-14/vault.yml create mode 100644 ansible/host_vars/libvirt-ubuntu-16/vault.yml create mode 100644 ansible/tasks/jenkins.yml create mode 100644 ansible/templates/jenkins.service.j2 create mode 100644 ansible/vars/jenkins/CentOS-6.yml create mode 100644 ansible/vars/jenkins/CentOS-7.yml create mode 100644 ansible/vars/jenkins/Debian-8.yml create mode 100644 ansible/vars/jenkins/Debian-9.yml create mode 100644 ansible/vars/jenkins/Fedora-25.yml create mode 100644 ansible/vars/jenkins/Fedora-26.yml create mode 100644 ansible/vars/jenkins/Fedora-Rawhide.yml create mode 100644 ansible/vars/jenkins/FreeBSD-11.yml create mode 100644 ansible/vars/jenkins/Ubuntu-12.yml create mode 100644 ansible/vars/jenkins/Ubuntu-14.yml create mode 100644 ansible/vars/jenkins/Ubuntu-16.yml diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index ca02677..2055540 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -6,3 +6,4 @@ log_path =3D ./log nocows =3D 1 pipelining =3D True squash_actions =3D package +vault_password_file =3D ~/.ansible/libvirt-jenkins-ci.vault-password diff --git a/ansible/group_vars/all/main.yml b/ansible/group_vars/all/main.= yml index cd97458..e216a5b 100644 --- a/ansible/group_vars/all/main.yml +++ b/ansible/group_vars/all/main.yml @@ -1,6 +1,8 @@ --- ansible_user: root =20 +jenkins_url: https://ci.centos.org/computer/{{ inventory_hostname }}/slave= -agent.jnlp + # Paths to various command. Can be overridden on a per-host basis bash: /bin/bash java: /usr/bin/java diff --git a/ansible/host_vars/libvirt-centos-6/main.yml b/ansible/host_var= s/libvirt-centos-6/main.yml index e959ecc..f6b64f3 100644 --- a/ansible/host_vars/libvirt-centos-6/main.yml +++ b/ansible/host_vars/libvirt-centos-6/main.yml @@ -1,7 +1,10 @@ --- projects: - base + - jenkins - libvirt - libvirt-cim - libvirt-perl - libvirt-python + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-centos-6/vault.yml b/ansible/host_va= rs/libvirt-centos-6/vault.yml new file mode 100644 index 0000000..2522a28 --- /dev/null +++ b/ansible/host_vars/libvirt-centos-6/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +33376164643732313335383930346630343432643939303864313631353063636663663634= 616638 +3062306563323630653033656231373634363932336331620a383065336664343663346562= 353862 +64616131656633653338316232303562363632643530313961316130303335626235653430= 326530 +3566363365323830660a363063623035333231396337393537626161363634313637323563= 643161 +36613030333563363630363730656238646138306236643937623266646639616130343734= 313566 +61356165383464323434333836333030336464326436373731313439626161653931626431= 343665 +30306236333133333334656430636363366132323132323039356264636465333630653335= 396662 +38356334386337386135343463323233666432326361656438333961303237353562656339= 623264 +3765 diff --git a/ansible/host_vars/libvirt-centos-7/main.yml b/ansible/host_var= s/libvirt-centos-7/main.yml index fe33bcd..1eea74d 100644 --- a/ansible/host_vars/libvirt-centos-7/main.yml +++ b/ansible/host_vars/libvirt-centos-7/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-cim @@ -14,3 +15,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-centos-7/vault.yml b/ansible/host_va= rs/libvirt-centos-7/vault.yml new file mode 100644 index 0000000..86367e5 --- /dev/null +++ b/ansible/host_vars/libvirt-centos-7/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +66663634303664343734626532356561373665336632383463666536356637626637393231= 353062 +3939383563383338663532336237623766346238316632340a663335353430333635343534= 333032 +63613530356333316131663565303537386364353039343933653364623661386338383530= 633665 +3738313139376133370a373731353034633439303965303735613666653133363665356633= 353564 +64343164633764636130653762303535636634613637303437636266386337376565343765= 616338 +35656162313662346338353833373564633138306332616562646566343237613638376166= 303264 +61373864343337326265653364363730336161343733663365656138333738323632373664= 343334 +62313666316266663162313238653338613761623033636632653736363036353937626566= 353932 +6234 diff --git a/ansible/host_vars/libvirt-debian-8/main.yml b/ansible/host_var= s/libvirt-debian-8/main.yml index 42bf6c3..6b5d645 100644 --- a/ansible/host_vars/libvirt-debian-8/main.yml +++ b/ansible/host_vars/libvirt-debian-8/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-glib @@ -12,3 +13,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-debian-8/vault.yml b/ansible/host_va= rs/libvirt-debian-8/vault.yml new file mode 100644 index 0000000..cbcc721 --- /dev/null +++ b/ansible/host_vars/libvirt-debian-8/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +31336636633735633463343137643865656262633531623935353465353063396439333234= 303562 +3331353530306331363639333361643738613335366633350a386663646630636332623832= 616539 +62653433306466646133313531656634616361336436326339336338383163386161313535= 666338 +6164306633393130650a316163653432623665626261373762633730353461353739613038= 646564 +62363163646163393939393262373030356464353234663566616330336130656662656539= 393131 +65316537333837396663366337356238306530656166636439346461326534396331343364= 653030 +38313938353135323463613565303166363533373565336236376566653063643562353933= 343337 +31316134386430613538363830396562393631633835643761386631363663306165343632= 656333 +3039 diff --git a/ansible/host_vars/libvirt-debian-9/main.yml b/ansible/host_var= s/libvirt-debian-9/main.yml index ff28698..f28f42b 100644 --- a/ansible/host_vars/libvirt-debian-9/main.yml +++ b/ansible/host_vars/libvirt-debian-9/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-glib @@ -14,3 +15,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-debian-9/vault.yml b/ansible/host_va= rs/libvirt-debian-9/vault.yml new file mode 100644 index 0000000..5401e48 --- /dev/null +++ b/ansible/host_vars/libvirt-debian-9/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +35356363663965366162643430613930363765333137623438663033616536313862323331= 336566 +6162343336636435346438363131663138376433633366650a383366303037346633363539= 396161 +38623533343238656238303066356465393733616136653330376330623735346435643630= 336336 +3666613962333736390a383731626161613836373330373465313834343638383838393334= 323232 +63636631666431666437323934383363353333653534393261343236663334646166313134= 353461 +36613538373566306365373466666235656330343330323761626534363361363134616430= 643539 +63333230333535386264383466303665663436333265366231336132316366353633613561= 313166 +39343339336231336564363131323234636363373933306636393462373939333562323731= 613761 +6435 diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml b/ansible/host_va= rs/libvirt-fedora-25/main.yml index 8d3b26f..5bbbf15 100644 --- a/ansible/host_vars/libvirt-fedora-25/main.yml +++ b/ansible/host_vars/libvirt-fedora-25/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-cim @@ -15,3 +16,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-fedora-25/vault.yml b/ansible/host_v= ars/libvirt-fedora-25/vault.yml new file mode 100644 index 0000000..e6f9f06 --- /dev/null +++ b/ansible/host_vars/libvirt-fedora-25/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +36636231353137663930643139343034663530336632313563376239316266343562353230= 376362 +6666663536353832623438346531656338366636623361350a613761386566643932396331= 663633 +35666261383661333635656664616661633863633362373564333262303863366166323534= 376433 +6632633736326537360a346231633862643366333433383838393331353535373634303837= 633563 +32333838326136303339633739383061316638646663343364326563666638396664353965= 623462 +30303839386235616236386230343738313031356338376135333933376566306132373862= 303039 +39653665616132383135646663656233343031396339663437323939646132316665613862= 613461 +36333235623563346136353836656336323435333836326463373235393362616430346230= 633665 +6266 diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml b/ansible/host_va= rs/libvirt-fedora-26/main.yml index 8d3b26f..5bbbf15 100644 --- a/ansible/host_vars/libvirt-fedora-26/main.yml +++ b/ansible/host_vars/libvirt-fedora-26/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-cim @@ -15,3 +16,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-fedora-26/vault.yml b/ansible/host_v= ars/libvirt-fedora-26/vault.yml new file mode 100644 index 0000000..eb2375f --- /dev/null +++ b/ansible/host_vars/libvirt-fedora-26/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +36373735366565623865626564663333663135643333626561373661366564316439383537= 373537 +3130363864626664346430636335353166626466663937630a353061386162363264333839= 313431 +64613465333431633736326535646561383061623631623036656361613234303132663530= 636330 +3530303366393939630a306631366463643463393039643332646239633862353866303939= 643461 +37643662663336383338653631363835383936316535323639356538653534303936636465= 346366 +66303465613065383639333734373961636261303535313065316131663962623430656666= 653439 +39613865326666363635643837363064323330306261666436373532386339666435373931= 386433 +64613636353566336466393266313534616666373165626539653632356430353930373961= 373835 +3631 diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml b/ansible/ho= st_vars/libvirt-fedora-rawhide/main.yml index 8d3b26f..5bbbf15 100644 --- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml +++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-cim @@ -15,3 +16,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-fedora-rawhide/vault.yml b/ansible/h= ost_vars/libvirt-fedora-rawhide/vault.yml new file mode 100644 index 0000000..2702f34 --- /dev/null +++ b/ansible/host_vars/libvirt-fedora-rawhide/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +62663638306366333136666338336465333961353933613538363563666562316466323864= 363137 +6362356336663762393734326336363765316334663661650a656436356533623165363330= 626433 +31373962316231363039356261326337376263656634363463343264333438663535396337= 633433 +6562663563626637300a303932343263663463666265313737663536373632326330633132= 386336 +63616466363336373666393137613464383864333065306333346133633965373463653264= 666363 +34326134303962396130646434373738316134323061386466623035616363626235353037= 343662 +63616466333930623563363632656662303063353431666432353763326433653364363963= 303033 +65633166323837313438393134303861663434643336616331313063623739396138343930= 643364 +6136 diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml b/ansible/host_v= ars/libvirt-freebsd-11/main.yml index 69b172c..e993a66 100644 --- a/ansible/host_vars/libvirt-freebsd-11/main.yml +++ b/ansible/host_vars/libvirt-freebsd-11/main.yml @@ -8,6 +8,7 @@ sudo: /usr/local/bin/sudo =20 projects: - base + - jenkins - libosinfo - libvirt - libvirt-glib @@ -20,3 +21,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-freebsd-11/vault.yml b/ansible/host_= vars/libvirt-freebsd-11/vault.yml new file mode 100644 index 0000000..55a02e9 --- /dev/null +++ b/ansible/host_vars/libvirt-freebsd-11/vault.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +35366634666565336238303436346366323865633938643064353533376164383662376564= 373634 +3964303330333438336462326139356534656535356339660a646463373034313734636565= 613335 +37363335663133333361376665623438316332633434323666646663643166613637653966= 383833 +3464613638613465320a393766613131616634343839623130366464653431313833613865= 646336 +65663136346365623233363533323730666661323863356531373162303961343264376531= 626362 +37346366366439643937346264376266643030623464333032353237303635343532303336= 373730 +37353564306663623361646239666234323038663162643436623136313033356562326561= 373337 +64333633343263613636666231393437356630343362633935623837353135303364343733= 326136 +3933 diff --git a/ansible/host_vars/libvirt-ubuntu-12/main.yml b/ansible/host_va= rs/libvirt-ubuntu-12/main.yml index 4d53bb3..acb4876 100644 --- a/ansible/host_vars/libvirt-ubuntu-12/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-12/main.yml @@ -1,4 +1,7 @@ --- projects: - base + - jenkins - libvirt + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-ubuntu-12/vault.yml b/ansible/host_v= ars/libvirt-ubuntu-12/vault.yml new file mode 100644 index 0000000..0e4f11a --- /dev/null +++ b/ansible/host_vars/libvirt-ubuntu-12/vault.yml @@ -0,0 +1,8 @@ +$ANSIBLE_VAULT;1.1;AES256 +31343061616436666138373261313733666434303431636233383766653637356532366664= 346434 +3430613264376461333233343839636138376363623837650a653566393532663133623139= 353932 +65373332626561613637393362663365643164396266633139643966336234323264653363= 376431 +3062343932353663660a313433383635363134383235663163663735326431386133653338= 363031 +62383038316164626563646438303565396135623735626261323139663265333162333562= 303237 +32313138663535363763383063303033333234396633313664353031666132316330313430= 663261 +626164653766633236633465373533303730 diff --git a/ansible/host_vars/libvirt-ubuntu-14/main.yml b/ansible/host_va= rs/libvirt-ubuntu-14/main.yml index 18b013d..05c05c6 100644 --- a/ansible/host_vars/libvirt-ubuntu-14/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-14/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-perl @@ -9,3 +10,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-ubuntu-14/vault.yml b/ansible/host_v= ars/libvirt-ubuntu-14/vault.yml new file mode 100644 index 0000000..4d7021a --- /dev/null +++ b/ansible/host_vars/libvirt-ubuntu-14/vault.yml @@ -0,0 +1,8 @@ +$ANSIBLE_VAULT;1.1;AES256 +32386562363465636265666365656262313166663463306664363638336135396533336462= 323361 +6661383437306236376663353037363265623833333533300a613561383439393732623039= 336266 +61313235666437356338313434656361666666393061653461343535366436303734653237= 336439 +3936366333346634330a623062376433336165346534626563383439383263326639646338= 313036 +32306339646166393938333964623732626331373361386365653435346263623831613261= 656135 +37303830656566643832356264643237643931623866376435306433343433393537353634= 353130 +363933393966643163353137646638663065 diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml b/ansible/host_va= rs/libvirt-ubuntu-16/main.yml index 7baecf7..4a3a0be 100644 --- a/ansible/host_vars/libvirt-ubuntu-16/main.yml +++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml @@ -1,6 +1,7 @@ --- projects: - base + - jenkins - libosinfo - libvirt - libvirt-glib @@ -13,3 +14,5 @@ projects: - osinfo-db-tools - virt-manager - virt-viewer + +jenkins_secret: '{{ vault_jenkins_secret }}' diff --git a/ansible/host_vars/libvirt-ubuntu-16/vault.yml b/ansible/host_v= ars/libvirt-ubuntu-16/vault.yml new file mode 100644 index 0000000..b7968f7 --- /dev/null +++ b/ansible/host_vars/libvirt-ubuntu-16/vault.yml @@ -0,0 +1,8 @@ +$ANSIBLE_VAULT;1.1;AES256 +64623036353031653333316132333739656435303732333036633031646564396239633235= 356639 +3533353934636539353433623336313633663332666639380a626130353565623031303630= 333764 +36333861303561643336323566323035646164343964643839343862386463653462643265= 643461 +3461636431616630350a636630353137336634663539643835666466643639613864366561= 396365 +34653733616464303266303165326461623430643762376161626434323665376262393635= 656136 +33353135616364336366633231643466343563616665623633393762383662633136393632= 323633 +333631346631646166363536393932663932 diff --git a/ansible/site.yml b/ansible/site.yml index b6caea0..be3a1ff 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -17,6 +17,13 @@ when: - projects is defined =20 + # Configure the Jenkins agent + - include: tasks/jenkins.yml + when: + - projects is defined + # jenkins is a pseudo-project + - ( 'jenkins' in projects ) + - include: tasks/build.yml with_items: '{{ projects }}' @@ -24,7 +31,8 @@ loop_var: project when: - projects is defined - # base is a pseudo-projects + # base and jenkins are pseudo-projects - project !=3D 'base' + - project !=3D 'jenkins' # Building can be turned on and off - build diff --git a/ansible/tasks/jenkins.yml b/ansible/tasks/jenkins.yml new file mode 100644 index 0000000..0679b58 --- /dev/null +++ b/ansible/tasks/jenkins.yml @@ -0,0 +1,59 @@ +--- +- name: Create Jenkins user account + user: + name: jenkins + comment: Jenkins + password: '*' + +- name: Download Jenkins agent + get_url: + url: https://ci.centos.org/jnlpJars/slave.jar + dest: /home/jenkins/slave.jar + owner: jenkins + group: jenkins + +- name: Figure out how to start Jenkins agent + set_fact: + use_rc_local: true + use_systemd: false + when: + - os_name =3D=3D 'FreeBSD' or + ( os_name =3D=3D 'CentOS' and os_version =3D=3D '6' ) or + ( os_name =3D=3D 'Ubuntu' and os_version =3D=3D '12' ) or + ( os_name =3D=3D 'Ubuntu' and os_version =3D=3D '14' ) + +- name: Figure out how to start Jenkins agent + set_fact: + use_rc_local: false + use_systemd: true + when: + - use_rc_local is not defined + - use_systemd is not defined + +- name: Configure and enable Jenkins agent + lineinfile: + path: /etc/rc.local + create: yes + backup: yes + regexp: '^nohup.*jenkins.*java.*slave\.jar.*&$' + line: "nohup {{ sudo }} -u jenkins {{ bash }} -l -c '{{ java }} -jar /= home/jenkins/slave.jar -jnlpUrl {{ jenkins_url }} -secret {{ jenkins_secret= }}' >/var/log/jenkins.log 2>&1 &" + insertafter: EOF + when: + - use_rc_local + +- name: Configure Jenkins agent + template: + src: templates/jenkins.service.j2 + dest: /etc/systemd/system/jenkins.service + when: + - use_systemd + +- name: Reload systemd status + command: systemctl daemon-reload + when: + - use_systemd + +- name: Enable Jenkins agent + command: systemctl enable jenkins + when: + - use_systemd diff --git a/ansible/templates/jenkins.service.j2 b/ansible/templates/jenki= ns.service.j2 new file mode 100644 index 0000000..a7c8dcf --- /dev/null +++ b/ansible/templates/jenkins.service.j2 @@ -0,0 +1,14 @@ +[Unit] +Description=3DJenkins agent +Wants=3Dnetwork.target +After=3Dnetwork.target + +[Service] +ExecStart=3D{{ bash }} -l -c '{{ java }} -jar /home/jenkins/slave.jar -jnl= pUrl {{ jenkins_url }} -secret {{ jenkins_secret }}' +User=3Djenkins +Group=3Djenkins +WorkingDirectory=3D/home/jenkins +Restart=3Dalways + +[Install] +WantedBy=3Dmulti-user.target diff --git a/ansible/vars/jenkins/CentOS-6.yml b/ansible/vars/jenkins/CentO= S-6.yml new file mode 100644 index 0000000..710a9cb --- /dev/null +++ b/ansible/vars/jenkins/CentOS-6.yml @@ -0,0 +1,3 @@ +--- +packages: + - java-1.8.0-openjdk-headless diff --git a/ansible/vars/jenkins/CentOS-7.yml b/ansible/vars/jenkins/CentO= S-7.yml new file mode 100644 index 0000000..710a9cb --- /dev/null +++ b/ansible/vars/jenkins/CentOS-7.yml @@ -0,0 +1,3 @@ +--- +packages: + - java-1.8.0-openjdk-headless diff --git a/ansible/vars/jenkins/Debian-8.yml b/ansible/vars/jenkins/Debia= n-8.yml new file mode 100644 index 0000000..9628ccc --- /dev/null +++ b/ansible/vars/jenkins/Debian-8.yml @@ -0,0 +1,3 @@ +--- +packages: + - openjdk-7-jre-headless diff --git a/ansible/vars/jenkins/Debian-9.yml b/ansible/vars/jenkins/Debia= n-9.yml new file mode 100644 index 0000000..fd5e95b --- /dev/null +++ b/ansible/vars/jenkins/Debian-9.yml @@ -0,0 +1,3 @@ +--- +packages: + - openjdk-8-jre-headless diff --git a/ansible/vars/jenkins/Fedora-25.yml b/ansible/vars/jenkins/Fedo= ra-25.yml new file mode 100644 index 0000000..710a9cb --- /dev/null +++ b/ansible/vars/jenkins/Fedora-25.yml @@ -0,0 +1,3 @@ +--- +packages: + - java-1.8.0-openjdk-headless diff --git a/ansible/vars/jenkins/Fedora-26.yml b/ansible/vars/jenkins/Fedo= ra-26.yml new file mode 100644 index 0000000..710a9cb --- /dev/null +++ b/ansible/vars/jenkins/Fedora-26.yml @@ -0,0 +1,3 @@ +--- +packages: + - java-1.8.0-openjdk-headless diff --git a/ansible/vars/jenkins/Fedora-Rawhide.yml b/ansible/vars/jenkins= /Fedora-Rawhide.yml new file mode 100644 index 0000000..710a9cb --- /dev/null +++ b/ansible/vars/jenkins/Fedora-Rawhide.yml @@ -0,0 +1,3 @@ +--- +packages: + - java-1.8.0-openjdk-headless diff --git a/ansible/vars/jenkins/FreeBSD-11.yml b/ansible/vars/jenkins/Fre= eBSD-11.yml new file mode 100644 index 0000000..ce1e4af --- /dev/null +++ b/ansible/vars/jenkins/FreeBSD-11.yml @@ -0,0 +1,3 @@ +--- +packages: + - openjdk8-jre diff --git a/ansible/vars/jenkins/Ubuntu-12.yml b/ansible/vars/jenkins/Ubun= tu-12.yml new file mode 100644 index 0000000..9628ccc --- /dev/null +++ b/ansible/vars/jenkins/Ubuntu-12.yml @@ -0,0 +1,3 @@ +--- +packages: + - openjdk-7-jre-headless diff --git a/ansible/vars/jenkins/Ubuntu-14.yml b/ansible/vars/jenkins/Ubun= tu-14.yml new file mode 100644 index 0000000..9628ccc --- /dev/null +++ b/ansible/vars/jenkins/Ubuntu-14.yml @@ -0,0 +1,3 @@ +--- +packages: + - openjdk-7-jre-headless diff --git a/ansible/vars/jenkins/Ubuntu-16.yml b/ansible/vars/jenkins/Ubun= tu-16.yml new file mode 100644 index 0000000..fd5e95b --- /dev/null +++ b/ansible/vars/jenkins/Ubuntu-16.yml @@ -0,0 +1,3 @@ +--- +packages: + - openjdk-8-jre-headless --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sat May 4 11:35:33 2024 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 1506958873641253.24628346912334; Mon, 2 Oct 2017 08:41:13 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E48D2356F0; Mon, 2 Oct 2017 15:41:11 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BB8A85D97D; Mon, 2 Oct 2017 15:41:11 +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 859633FAD2; Mon, 2 Oct 2017 15:41:11 +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 v92FBeHd019211 for ; Mon, 2 Oct 2017 11:11:40 -0400 Received: by smtp.corp.redhat.com (Postfix) id 01DCE6E516; Mon, 2 Oct 2017 15:11:40 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 48DD76F999 for ; Mon, 2 Oct 2017 15:11:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E48D2356F0 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.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:56 +0200 Message-Id: <20171002151056.30841-19-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 18/18] ansible: Add documentation 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.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 02 Oct 2017 15:41:12 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- ansible/README.markdown | 71 +++++++++++++ ansible/mappings/commands.yml | 77 ++++++++++++++ ansible/mappings/libraries.yml | 228 +++++++++++++++++++++++++++++++++++++= ++++ ansible/mappings/misc.yml | 13 +++ ansible/mappings/perl.yml | 112 ++++++++++++++++++++ ansible/mappings/python.yml | 35 +++++++ 6 files changed, 536 insertions(+) create mode 100644 ansible/README.markdown create mode 100644 ansible/mappings/commands.yml create mode 100644 ansible/mappings/libraries.yml create mode 100644 ansible/mappings/misc.yml create mode 100644 ansible/mappings/perl.yml create mode 100644 ansible/mappings/python.yml diff --git a/ansible/README.markdown b/ansible/README.markdown new file mode 100644 index 0000000..9c704b3 --- /dev/null +++ b/ansible/README.markdown @@ -0,0 +1,71 @@ +Ansible playbooks for libvirt CI +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D + +These can be used to turn a freshly installed machine into a worker for +the Jenkins-based libvirt CI. + +There are two main playbooks: + +* `bootstrap.yml`, used to perform the bootstrapping phase, that is, getti= ng + guests to the point where Ansible can manage them fully and prompting the + user for a password is no longer required; + +* `site.yml`, used for the remaining configuration steps. + +Although you can use the playbooks directly, it's much more convenient to +call either `make bootstrap` or `make site` instead. + +Each guest only needs to be bootstrapped once; that said, both playbooks a= re +idempotent so there's no harm in applying them over and over again. + +In addition to the usual Ansible stuff, the `mappings/` directory contains +a bunch of files describing the relationships between the packages of vari= ous +distributions. These files are not used by Ansible at all, and are included +merely for documentation purposes. + + +CI use +------ + +After you have reinstalled a Jenkins worker, run `make bootstrap` followed +by `make site` and a reboot to get it ready for CI use. No further action +should be necessary. + +Adding new workers will require tweaking the inventory and host variables, +but it should be very easy to eg. use the Fedora 26 configuration to come +up with a working Fedora 27 configuration. + + +Development use +--------------- + +If you are a developer trying to reproduce a bug on some OS you don't have +easy access to, you can use these playbooks to create a suitable test +environment. + +Since the playbooks are intended mainly for CI use, you'll have to tweak t= hem +a bit first, including: + +* trimming down the `inventory` file to just the guest you're interested i= n; + +* removing any references to the `jenkins` pseudo-project from + `host_vars/$guest/main.yml`, along with any references to projects you're + not interested to (this will cut down on the number of packages installe= d) + and any references to `jenkins_secret`; + +* deleting `host_vars/$guest/vault.yml` altogether. + +After performing these tweaks, you should be able to just run `make bootst= rap` +followed by `make site` as usual. + + +Playbooks development +--------------------- + +If you want to work on the playbooks themselves, you'll probably want to s= et +`build` in `group_vars/all/main.yml` to `true` so that a build of each pro= ject +will be attempted after setting up the environment: this will help make su= re +the worker is actually able of building the project successfully. + +Note that this can be pretty time consuming, so you'll want to comment out= as +many projects as possible in `host_vars/*/main.yml` to speed things up. diff --git a/ansible/mappings/commands.yml b/ansible/mappings/commands.yml new file mode 100644 index 0000000..b365a0a --- /dev/null +++ b/ansible/mappings/commands.yml @@ -0,0 +1,77 @@ +--- +augeas: + - augeas # CentOS, Fedora, FreeBSD + - augeas-tools # Debian, Ubuntu + +autopoint: + - autopoint # Debian, Ubuntu + - gettext-devel # CentOS, Fedora + - gettext-tools # FreeBSD + +dnsmasq: + - dnsmasq # CentOS, Fedora, FreeBSD + - dnsmasq-base # Debian, Ubuntu + +dtrace: + - systemtap-sdt-dev # Debian, Ubuntu + - systemtap-sdt-devel # CentOS, Fedora + +go: + - go # FreeBSD + - golang # CentOS, Debian, Fedora, Ubuntu + +gtkdocize: + - gtk-doc # CentOS, Fedora, FreeBSD + - gtk-doc-tools # Debian, Ubuntu + +iscsiadm: + - iscsi-initiator-utils # CentOS, Fedora + - open-iscsi # Debian, Ubuntu + +java: + - java-1.8.0-openjdk-headless # CentOS, Fedora + - openjdk-7-jre-headless # Debian 8, Ubuntu <=3D 14 + - openjdk-8-jre-headless # Debian 9, Ubuntu 16 + - openjdk8-jre # FreeBSD + +libtool: + - libtool-bin # Debian, Ubuntu 16 + - libtool # CentOS, Fedora, FreeBSD, Ubuntu <=3D 14 + +libtoolize: + - libtool + +make: + - gmake # FreeBSD + - make # CentOS, Debian, Fedora, Ubuntu + +pkg-config: + - pkgconf # Debian, FreeBSD, Ubuntu >=3D 14 + - pkgconfig # CentOS, Fedora, Ubuntu 12 + +qemu-img: + - qemu-img # CentOS, Fedora + - qemu-utils # Debian, FreeBSD, Ubuntu + +scrub: + - diskscrub # FreeBSD + - scrub # CentOS, Debian, Fedora Ubuntu + +showmount: + - nfs-common # Debian, Ubuntu + - nfs-utils # CentOS, Fedora + +valac: + - vala # CentOS, Fedora, FreeBSD + - valac # Debian, Ubuntu + +xmllint: + - libxml2 # CentOS, Fedora, FreeBSD + - libxml2-utils # Debian, Ubuntu + +xsltproc: + - libxslt # CentOS, Fedora, FreeBSD + - xsltproc # Debian, Ubuntu + +zfs: + - zfs-fuse # CentOS, Debian, Fedora, Ubuntu diff --git a/ansible/mappings/libraries.yml b/ansible/mappings/libraries.yml new file mode 100644 index 0000000..e827fd3 --- /dev/null +++ b/ansible/mappings/libraries.yml @@ -0,0 +1,228 @@ +--- +avahi: + - avahi # FreeBSD + - avahi-devel # CentOS, Fedora + - libavahi-client-dev # Debian, Ubuntu + +check: + - check # Debian, FreeBSD, Ubuntu + - check-devel # CentOS, Fedora + +cyrus-sasl: + - cyrus-sasl # FreeBSD + - cyrus-sasl-devel # CentOS, Fedora + - libsasl2-dev # Debian, Ubuntu + +device-mapper: + - device-mapper-devel # CentOS, Fedora + - libdevmapper-dev # Debian, Ubuntu + +fuse: + - fuse-devel # CentOS, Fedora + - fusefs-libs # FreeBSD + - libfuse-dev # Debian, Ubuntu + +glib2: + - glib # FreeBSD + - glib2-devel # CentOS, Fedora + - libglib2.0-dev # Debian, Ubuntu + +glibc6: + - glibc-devel # CentOS, Fedora + - libc6-dev # Debian, Ubuntu + +glusterfs: + - glusterfs # FreeBSD + - glusterfs-api-devel # CentOS, Fedora + - glusterfs-client # Debian, Ubuntu + +gnutls: + - gnutls # FreeBSD + - gnutls-devel # CentOS, Fedora + - libgnutls-dev # Ubuntu <=3D 14 + - libgnutls28-dev # Debian, Ubuntu 16 + +gobject-introspection: + - gobject-introspection # FreeBSD + - gobject-introspection-devel # CentOS, Fedora + - libgirepository1.0-dev # Debian, Ubuntu + +gtk-vnc2: + - gtk-vnc # FreeBSD + - gtk-vnc2-devel # CentOS, Fedora + - libgtk-vnc-2.0-dev # Debian, Ubuntu + +gtk3: + - gtk3 # FreeBSD + - gtk3-devel # CentOS, Fedora + - libgtk-3-dev # Debian, Ubuntu + +libacl: + - libacl-devel # CentOS, Fedora + - libacl1-dev # Debian, Ubuntu + +libattr: + - libattr-devel # CentOS, Fedora + - libattr1-dev # Debian, Ubuntu + +libaudit: + - audit-libs-devel # CentOS, Fedora + - libaudit-dev # Debian, Ubuntu + +libarchive: + - libarchive # FreeBSD + - libarchive-dev # Debian, Ubuntu + - libarchive-devel # CentOS, Fedora + +libblkid: + - libblkid-dev # Debian, Ubuntu + - libblkid-devel # CentOS, Fedora + +libcap-ng: + - libcap-ng-dev # Debian, Ubuntu + - libcap-ng-devel # CentOS, Fedora + +libcurl: + - curl # FreeBSD + - libcurl-devel # CentOS, Fedora + - libcurl4-gnutls-dev # Debian, Ubuntu + +libdbus: + - dbus # FreeBSD + - dbus-devel # CentOS, Fedora + - libdbus-1-dev # Debian, Ubuntu + +libgovirt: + - libgovirt-dev # Debian, Ubuntu + - libgovirt-devel # Fedora + +libnl3: + - libnl-3-dev # Debian, Ubuntu + - libnl3-devel # CentOS, Fedora + +libnlroute3: + - libnl-route-3-dev # Debian, Ubuntu + - libnl3-devel # CentOS, Fedora + +libparted: + - libparted-dev # Debian, Ubuntu + - parted-devel # CentOS, Fedora + +libpcap: + - libpcap # FreeBSD + - libpcap-dev # Debian, Ubuntu + - libpcap-devel # CentOS, Fedora + +libpciaccess: + - libpciaccess # FreeBSD + - libpciaccess-dev # Debian, Ubuntu + - libpciaccess-devel # CentOS, Fedora + +librbd: + - librbd-dev # Debian, Ubuntu + - librbd-devel # Fedora + - librbd1-devel # CentOS + +libselinux: + - libselinux-devel # CentOS, Fedora + - libselinux1-dev # Debian, Ubuntu + +libsoup: + - libsoup # FreeBSD + - libsoup-devel # CentOS, Fedora + - libsoup2.4-dev # Debian, Ubuntu + +libssh: + - libssh # FreeBSD + - libssh-devel # CentOS, Fedora + - libssh-gcrypt-dev # Debian + +libssh2: + - libssh2 # FreeBSD + - libssh2-1-dev # Debian, Ubuntu + - libssh2-devel # CentOS, Fedora + +libudev: + - libudev-dev # Debian, Ubuntu + - libudev-devel # CentOS, Fedora + +libvirt: + - libvirt # FreeBSD + - libvirt-dev # Debian, Ubuntu + - libvirt-devel # CentOS, Fedora + +libvirt-glib: + - libvirt-glib # FreeBSD + - libvirt-glib-1.0-dev # Debian, Ubuntu + - libvirt-glib-devel # CentOS, Fedora + +libvirt-gobject: + - libvirt-glib # FreeBSD + - libvirt-glib-1.0-dev # Debian, Ubuntu + - libvirt-gobject-devel # CentOS, Fedora + +libxml2: + - libxml2 # FreeBSD + - libxml2-devel # CentOS, Fedora + - libxml2-dev # Debian, Ubuntu + +libxslt: + - libxslt # FreeBSD + - libxslt-devel # CentOS, Fedora + - libxslt1-dev # Debian, Ubuntu + +netcf: + - netcf-devel # CentOS, Fedora + - libnetcf-dev # Debian, Ubuntu + +numactl: + - libnuma-dev # Debian, Ubuntu + - numactl-devel # CentOS, Fedora + +openssl: + - libssl-dev # Debian, Ubuntu + - openssl-devel # CentOS, Fedora + +openwsman: + - libopenwsman-dev # Ubuntu + - libwsman-devel # CentOS, Fedora + +polkit: + - policykit-1 # Debian, Ubuntu + - polkit # FreeBSD + - polkit-devel # CentOS, Fedora + +readline: + - libreadline-dev # Debian, Ubuntu + - readline # FreeBSD + - readline-devel # CentOS, Fedora + +sanlock: + - libsanlock-dev # Debian, Ubuntu + - sanlock-devel # CentOS, Fedora + +spice-gtk3: + - libspice-client-gtk-3.0-dev # Debian, Ubuntu + - spice-gtk # FreeBSD + - spice-gtk3-devel # CentOS, Fedora + +wireshark: + - wireshark-dev # Debian, Ubuntu + - wireshark-devel # Fedora + +xen: + - libxen-dev # Debian, Ubuntu + - xen-devel # Fedora + +xz: + - liblzma-dev # Debian, Ubuntu + - xz-devel # CentOS, Fedora + +yajl: + - libyajl-dev # Debian, Ubuntu + - yajl # FreeBSD + - yajl-devel # CentOS, Fedora + +zlib: + - zlib1g-dev # Debian, Ubuntu + - zlib-devel # CentOS, Fedora diff --git a/ansible/mappings/misc.yml b/ansible/mappings/misc.yml new file mode 100644 index 0000000..4882b72 --- /dev/null +++ b/ansible/mappings/misc.yml @@ -0,0 +1,13 @@ +--- +test-screenshot: + - libvirt # FreeBSD + - libvirt-daemon # Debian, Ubuntu + - libvirt-libs # CentOS, Fedora + +pci-ids: + - hwdata # CentOS, Debian, Fedora, Ubuntu + - pciids # FreeBSD + +usb-ids: + - hwdata # CentOS, Debian, Fedora, Ubuntu + - usbids # FreeBSD diff --git a/ansible/mappings/perl.yml b/ansible/mappings/perl.yml new file mode 100644 index 0000000..97f799d --- /dev/null +++ b/ansible/mappings/perl.yml @@ -0,0 +1,112 @@ +--- +accessors: + - libaccessors-perl # Debian, Ubuntu + - p5-accessors # FreeBSD + - perl-accessors # CentOS, Fedora + +Config::Record: + - libconfig-record-perl # Debian, Ubuntu + - p5-Config-Record # FreeBSD + - perl-Config-Record # CentOS, Fedora + +CPAN::Changes: + - libcpan-changes-perl # Debian, Ubuntu + - p5-CPAN-Changes # FreeBSD + - perl-CPAN-Changes # CentOS, Fedora + +Digest: + - libdigest-perl # Debian, Ubuntu + - p5-Digest # FreeBSD + - perl-Digest # CentOS, Fedora + +Digest::MD5: + - libdigest-perl-md5-perl # Debian, Ubuntu + - p5-Digest-MD5 # FreeBSD + - perl-Digest-MD5 # CentOS, Fedora + +ExtUtils::MakeMaker: + - p5-ExtUtils-MakeMaker # FreeBSD + - perl-ExtUtils-MakeMaker # CentOS, Fedora + +File::Slurp: + - libfile-slurp-perl # Debian, Ubuntu + - p5-File-Slurp # FreeBSD + - perl-File-Slurp # CentOS, Fedora + +IO::Compress:Bzip2: + - libio-compress-perl # Debian, Ubuntu + - p5-IO-Compress # FreeBSD + - perl-IO-Compress-Bzip2 # CentOS, Fedora + +IO::String: + - libio-string-perl # Debian, Ubuntu + - p5-IO-String # FreeBSD + - perl-IO-String # CentOS, Fedora + +Module::Build: + - libmodule-build-perl # Debian, Ubuntu + - p5-Module-Build # FreeBSD + - perl-Module-Build # CentOS, Fedora + +Sub::Uplevel: + - libsub-uplevel-perl # Debian, Ubuntu + - p5-Sub-Uplevel # FreeBSD + - perl-Sub-Uplevel # CentOS, Fedora + +Sys::Virt: + - libsys-virt-perl # Debian, Ubuntu + - p5-Sys-Virt # FreeBSD + - perl-Sys-Virt # CentOS, Fedora + +TAP::Formatter::HTML: + - libtap-formatter-html-perl # Debian, Ubuntu + - perl-TAP-Formatter-HTML # CentOS, Fedora + +TAP::Formatter::JUnit: + - libtap-formatter-junit-perl # Debian, Ubuntu + - p5-TAP-Formatter-JUnit # FreeBSD + - perl-TAP-Formatter-JUnit # CentOS, Fedora + +TAP::Harness::Archive: + - libtap-harness-archive-perl # Debian, Ubuntu + - perl-TAP-Harness-Archive # CentOS, Fedora + +Test::Exception: + - libtest-exception-perl # Debian, Ubuntu + - p5-Test-Exception # FreeBSD + - perl-Test-Exception # CentOS, Fedora + +Test::LWP::UserAgent: + - libtest-lwp-useragent-perl # Debian, Ubuntu + - p5-Test-LWP-UserAgent # FreeBSD + - perl-Test-LWP-UserAgent # CentOS, Fedora + +Test::Pod: + - libtest-pod-perl # Debian, Ubuntu + - p5-Test-Pod # FreeBSD + - perl-Test-Pod # CentOS, Fedora + +Test::Pod::Coverage: + - libtest-pod-coverage-perl # Debian, Ubuntu + - p5-Test-Pod-Coverage # FreeBSD + - perl-Test-Pod-Coverage # CentOS, Fedora + +Time::HiRes: + - libtime-hr-perl # Debian, Ubuntu + - p5-Time-HiRes # FreeBSD + - perl-Time-HiRes # CentOS, Fedora + +XML::Twig: + - libxml-twig-perl # Debian, Ubuntu + - p5-XML-Twig # FreeBSD + - perl-XML-Twig # CentOS, Fedora + +XML::Writer: + - libxml-writer-perl # Debian, Ubuntu + - p5-XML-Writer # FreeBSD + - perl-XML-Writer # CentOS, Fedora + +XML::XPath: + - libxml-xpath-perl # Debian, Ubuntu + - p5-XML-XPath # FreeBSD + - perl-XML-XPath # CentOS, Fedora diff --git a/ansible/mappings/python.yml b/ansible/mappings/python.yml new file mode 100644 index 0000000..e650db7 --- /dev/null +++ b/ansible/mappings/python.yml @@ -0,0 +1,35 @@ +--- +gi: + - py27-gobject3 # FreeBSD + - python-gi # Debian, Ubuntu + - python-gobject # CentOS, Fedora + +ipaddr: + - py27-ipaddr # FreeBSD + - python-ipaddr # CentOS, Debian, Fedora, Ubuntu + +libosinfo: + - gir1.2-libosinfo-1.0 # Debian, Ubuntu + - libosinfo # CentOS, Fedora, FreeBSD + +libxml2: + - libxml2-python # Debian, Ubuntu + - py27-libxml2 # FreeBSD + - python-libxml2 # CentOS, Fedora + +lxml: + - py27-lxml # FreeBSD + - python-lxml # CentOS, Debian, Fedora, Ubuntu + +nose: + - py27-nose # FreeBSD + - python-nose # CentOS, Debian, Fedora, Ubuntu + +requests: + - py27-requests # FreeBSD + - python-requests # CentOS, Debian, Ubuntu + - python2-requests # Fedora + +libvirt: + - libvirt-python # CentOS, Debian, Fedora, Ubuntu + - py27-libvirt # FreeBSD --=20 2.13.6 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list