[libvirt-jenkins-ci PATCH 12/18] ansible: Add libvirt-tck project

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 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_vars/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_vars/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_vars/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_vars/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/host_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_vars/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_vars/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_vars/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 == 'libvirt-perl'
     - false
 
+# Perl build (module-build)
+
+- name: '{{ project }}: Run Build.PL'
+  command: perl Build.PL
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == 'libvirt-tck'
+
+- name: '{{ project }}: Build project'
+  command: perl Build
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == 'libvirt-tck'
+
+- name: '{{ project }}: Build project manifest'
+  command: perl Build manifest
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == 'libvirt-tck'
+
+- name: '{{ project }}: Run test suite'
+  command: perl Build test
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == 'libvirt-tck'
+
 # Python build
 
 - name: '{{ project }}: Build project'
diff --git a/ansible/vars/libvirt-tck/Debian-8.yml b/ansible/vars/libvirt-tck/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-tck/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/libvirt-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
-- 
2.13.6

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux