From e4dc7deaaab087f29b826861501fd4ec36afdaaf Mon Sep 17 00:00:00 2001 From: Erik Skultety Date: Thu, 24 Aug 2023 15:21:44 +0200 Subject: [PATCH] ci: helper: Add an action to run the container workload via lcitool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Daniel P. Berrangé --- ci/helper | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/helper b/ci/helper index fce370f995..f7b0204ea0 100755 --- a/ci/helper +++ b/ci/helper @@ -295,6 +295,10 @@ class Application: def _action_shell(self): 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): registry_uri = util.get_registry_uri(self._args.namespace, self._args.gitlab_uri)