Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions container_ci_suite/engines/podman_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ def podman_inspect(field: str, src_image: str) -> str:
return PodmanCLIWrapper.call_podman_command(f"inspect -f '{field}' {src_image}")

@staticmethod
def podman_run_command(cmd):
return PodmanCLIWrapper.call_podman_command(f"run {cmd}")
def podman_run_command(cmd, ignore_error: bool = False, return_output: bool = True):
return PodmanCLIWrapper.call_podman_command(
f"run {cmd}", ignore_error=ignore_error, return_output=return_output
)

@staticmethod
def podman_exec_shell_command(
Expand Down
Loading