Updated jobs image specification.
This commit is contained in:
@@ -37,7 +37,10 @@ def get_orchestrator_from_config(cfg: dict) -> Union[Orchestrator, PodmanOrchest
|
|||||||
if 'runner' in cfg:
|
if 'runner' in cfg:
|
||||||
val = cfg['runner'].lower().strip()
|
val = cfg['runner'].lower().strip()
|
||||||
if val == "podman":
|
if val == "podman":
|
||||||
return PodmanOrchestrator()
|
orch = PodmanOrchestrator()
|
||||||
|
image = cfg.get('image', 'debian')
|
||||||
|
orch.opts.image_name = image
|
||||||
|
return orch
|
||||||
else:
|
else:
|
||||||
raise RuntimeError("Other orchestrators not implemented yet.")
|
raise RuntimeError("Other orchestrators not implemented yet.")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user