Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
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_vars/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_vars/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_vars/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_vars/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/host_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_vars/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 == 'libosinfo' or
project == 'libvirt' or
project == 'libvirt-cim' or
- project == 'libvirt-glib' )
+ project == 'libvirt-glib' or
+ project == 'libvirt-sandbox' )
- name: '{{ project }}: Run configure'
command: './configure {{ configure_options }}'
@@ -57,7 +58,8 @@
- ( project == 'libosinfo' or
project == 'libvirt' or
project == 'libvirt-cim' or
- project == 'libvirt-glib' )
+ project == 'libvirt-glib' or
+ project == 'libvirt-sandbox' )
- name: '{{ project }}: Run sanity checks'
command: '{{ make }} -j{{ smp }} syntax-check'
@@ -67,7 +69,8 @@
- ( project == 'libosinfo' or
( project == 'libvirt' and
os_name != 'FreeBSD' ) or
- project == 'libvirt-glib' )
+ project == 'libvirt-glib' or
+ project == 'libvirt-sandbox' )
- name: '{{ project }}: Run test suite'
command: '{{ make }} -j{{ smp }} check'
@@ -77,7 +80,8 @@
- ( ( project == 'libvirt' and
os_name != 'FreeBSD' ) or
project == 'libvirt-cim' or
- project == 'libvirt-glib' )
+ project == 'libvirt-glib' or
+ project == 'libvirt-sandbox' )
- name: '{{ project }}: Build RPM package'
command: '{{ make }} -j{{ smp }} rpm'
diff --git a/ansible/vars/libvirt-sandbox/CentOS-7.yml
b/ansible/vars/libvirt-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/libvirt-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/libvirt-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/libvirt-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/libvirt-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
--
2.13.6