mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-28 01:25:08 +00:00
ci: bypass docker compose stop failure
docker compose stop without starting the project results in failure. Bypass the exception for docker compose stop
This commit is contained in:
parent
ed5311473c
commit
233fc47b51
1 changed files with 5 additions and 1 deletions
|
|
@ -46,7 +46,11 @@ class Compose:
|
|||
self("exec", "-T", *cmd)
|
||||
|
||||
def stop(self) -> None:
|
||||
try:
|
||||
subprocess.check_call(self.base_cmd + ("down", "-v", "--remove-orphans"))
|
||||
except subprocess.CalledProcessError as e:
|
||||
print("docker compose stop command failed")
|
||||
print(e)
|
||||
|
||||
def bench(self, *cmd: str) -> None:
|
||||
self.exec("backend", "bench", *cmd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue