gate: cleanup 'helm serve'

The goal here is to prevent some gate runs from hanging upon
completion.

Change-Id: I36fbe1b65f163b93ff12183080ec2b22f7d46347
This commit is contained in:
Chris Wedgwood 2017-10-06 20:39:26 +00:00
parent f622c1bcfe
commit 9a36845f6a

View File

@ -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