[libvirt PATCH 30/33] ci: helper: Add an action to run the container workload via lcitool

Erik Skultety posted 33 patches 2 years, 5 months ago
There is a newer version of this series
[libvirt PATCH 30/33] ci: helper: Add an action to run the container workload via lcitool
Posted by Erik Skultety 2 years, 5 months ago
Just like with the other CLI sub-commands, add an action to run a
GitLab spec job in a local container via lcitool.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
---
 ci/helper | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ci/helper b/ci/helper
index 887e64ece1..7385d3b95c 100755
--- a/ci/helper
+++ b/ci/helper
@@ -305,6 +305,10 @@ class Application:
     def _action_shell(self):
         self._make_run(f"ci-shell@{self._args.target}")
 
+    @required_deps("git")
+    def _action_run(self):
+        self._lcitool_run(self._args.job)
+
     def _action_list_images(self):
         registry_uri = util.get_registry_uri(self._args.namespace,
                                              self._args.gitlab_uri)
-- 
2.41.0
Re: [libvirt PATCH 30/33] ci: helper: Add an action to run the container workload via lcitool
Posted by Daniel P. Berrangé 2 years, 5 months ago
On Fri, Aug 25, 2023 at 07:55:38PM +0200, Erik Skultety wrote:
> Just like with the other CLI sub-commands, add an action to run a
> GitLab spec job in a local container via lcitool.
> 
> Signed-off-by: Erik Skultety <eskultet@redhat.com>
> ---
>  ci/helper | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|