Re: [jenkins-ci PATCH 11/12] lcitool: Support building arbitrary branches

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

 



On Wed, 2018-08-08 at 15:45 +0200, Andrea Bolognani wrote:
[...]
> -    def _action_update(self, hosts, projects):
> -        self._execute_playbook("update", hosts, projects)
> +    def _action_update(self, hosts, projects, _branch):
> +        self._execute_playbook("update", hosts, project, None)

Oops, made a mistake there... Consider the following squashed in:

diff --git a/guests/lcitool b/guests/lcitool
index 9d4b628..ec81448 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -482,7 +482,7 @@ class Application:
                 raise Error("Failed to install '{}'".format(host))

     def _action_update(self, hosts, projects, _branch):
-        self._execute_playbook("update", hosts, project, None)
+        self._execute_playbook("update", hosts, projects, None)

     def _action_build(self, hosts, projects, branch):
         if branch is None:
-- 
Andrea Bolognani / Red Hat / Virtualization

--
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