ci: helper: Add --lcitool-path CLI option

We'll soon be relying solely on lcitool so we need to be able to run it
from a user-provided location if it's not installed in a known
location.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Erik Skultety 2023-08-24 10:33:43 +02:00
parent f6f930b435
commit a35b4e4e97

View File

@ -43,6 +43,12 @@ class Parser:
default="latest",
help="use container images with non-default tags",
)
containerparser.add_argument(
"--lcitool-path",
dest="lcitool",
default="lcitool",
help="path to lcitool (default: $PATH)",
)
# Options that are common to all actions that call the
# project's build system