mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
ci/cd - add more logs to swarm tests
This commit is contained in:
parent
9313d766b8
commit
87cbfbcf41
1 changed files with 8 additions and 0 deletions
|
|
@ -74,6 +74,14 @@ class SwarmTest(Test):
|
|||
sleep(1)
|
||||
i += 1
|
||||
if not healthy:
|
||||
proc = run(
|
||||
'docker stack ps --no-trunc bunkerweb',
|
||||
cwd="/tmp/swarm",
|
||||
shell=True,
|
||||
capture_output=True,
|
||||
)
|
||||
log("SWARM", "❌", f"stdout logs = {proc.stdout.decode()}")
|
||||
log("SWARM", "❌", f"stderr logs = {proc.stderr.decode()}")
|
||||
proc = run(
|
||||
"docker service logs bunkerweb_bunkerweb ;"
|
||||
+ " docker service logs bunkerweb_bw-autoconf ;"
|
||||
|
|
|
|||
Loading…
Reference in a new issue