ci/cd - add more logs when k8s fails

This commit is contained in:
fl0ppy-d1sk 2023-11-17 15:34:21 +01:00
parent eb160334fb
commit 57b0787dc1
No known key found for this signature in database
GPG Key ID: 93EE47CC3D061500
1 changed files with 10 additions and 0 deletions

View File

@ -138,6 +138,16 @@ class KubernetesTest(Test):
cwd="/tmp/kubernetes",
shell=True,
)
run(
"kubectl describe pvc",
cwd="/tmp/kubernetes",
shell=True,
)
run(
"kubectl describe pv",
cwd="/tmp/kubernetes",
shell=True,
)
raise (Exception("k8s stack is not healthy"))
sleep(60)
except: