From 9a36845f6a745239d3cd334f07a0e9e90c73e7ab Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Fri, 6 Oct 2017 20:39:26 +0000 Subject: [PATCH] gate: cleanup 'helm serve' The goal here is to prevent some gate runs from hanging upon completion. Change-Id: I36fbe1b65f163b93ff12183080ec2b22f7d46347 --- tools/gate/dump_logs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/gate/dump_logs.sh b/tools/gate/dump_logs.sh index e87d72c6ce..530c08f6e0 100755 --- a/tools/gate/dump_logs.sh +++ b/tools/gate/dump_logs.sh @@ -7,6 +7,10 @@ if ! type "kubectl" &> /dev/null; then exit $1 fi +# make sure there are no helm processes sticking about when we're done +# which can cause some test runs to hang +pkill -x helm + echo "Capturing logs from environment." mkdir -p ${LOGS_DIR}/k8s/etc sudo cp -a /etc/kubernetes ${LOGS_DIR}/k8s/etc