mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
ci: helper: Add an action to run the container workload via lcitool
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> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
04b9118fe5
commit
e4dc7deaaa
@ -295,6 +295,10 @@ class Application:
|
|||||||
def _action_shell(self):
|
def _action_shell(self):
|
||||||
self._make_run(f"ci-shell@{self._args.target}")
|
self._make_run(f"ci-shell@{self._args.target}")
|
||||||
|
|
||||||
|
@required_deps("git")
|
||||||
|
def _action_run(self):
|
||||||
|
return self._lcitool_run(self._args.job)
|
||||||
|
|
||||||
def _action_list_images(self):
|
def _action_list_images(self):
|
||||||
registry_uri = util.get_registry_uri(self._args.namespace,
|
registry_uri = util.get_registry_uri(self._args.namespace,
|
||||||
self._args.gitlab_uri)
|
self._args.gitlab_uri)
|
||||||
|
Loading…
Reference in New Issue
Block a user