[libvirt] [jenkins-ci PATCH v2 10/13] lcitool: Add 'build' action

Andrea Bolognani posted 13 patches 7 years, 5 months ago
There is a newer version of this series
[libvirt] [jenkins-ci PATCH v2 10/13] lcitool: Add 'build' action
Posted by Andrea Bolognani 7 years, 5 months ago
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 guests/lcitool | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/guests/lcitool b/guests/lcitool
index e0410f3..2901a92 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -323,6 +323,7 @@ class Application:
                 common actions:
                   install  perform unattended host installation
                   update   prepare hosts and keep them updated
+                  build    build projects on hosts
 
                 informational actions:
                   hosts     list all known hosts
@@ -477,6 +478,9 @@ class Application:
     def _action_update(self, hosts, projects):
         self._execute_playbook("update", hosts, projects)
 
+    def _action_build(self, hosts, projects):
+        self._execute_playbook("build", hosts, projects)
+
     def _action_dockerfile(self, hosts, projects):
         mappings = self._projects.get_mappings()
 
-- 
2.17.1

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