[libvirt-jenkins-ci PATCH 09/18] ansible: Add libvirt-perl project

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

 



Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 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_vars/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_vars/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_vars/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_vars/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_vars/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_vars/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/host_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_vars/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_vars/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_vars/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 == 'libvirt-go' or
         project == 'libvirt-go-xml' )
+
+# Perl build (makemaker)
+
+- name: '{{ project }}: Run Makefile.PL'
+  command: perl Makefile.PL
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == 'libvirt-perl'
+    - false
+
+- name: '{{ project }}: Build project'
+  command: '{{ make }}'
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == 'libvirt-perl'
+    - false
+
+- name: '{{ project }}: Build project manifest'
+  command: '{{ make }} -j{{ smp }} manifest'
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == 'libvirt-perl'
+    - false
+
+- name: '{{ project }}: Run test suite'
+  command: '{{ make }} -j{{ smp }} test'
+  args:
+    chdir: '{{ project }}'
+  when:
+    - project == '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/libvirt-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/libvirt-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
-- 
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