Merge "gate: cleanup 'helm serve'"

This commit is contained in:
Jenkins 2017-10-09 13:55:56 +00:00 committed by Gerrit Code Review
commit d3568b3e1f

View File

@ -7,6 +7,10 @@ if ! type "kubectl" &> /dev/null; then
exit $1 exit $1
fi 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." echo "Capturing logs from environment."
mkdir -p ${LOGS_DIR}/k8s/etc mkdir -p ${LOGS_DIR}/k8s/etc
sudo cp -a /etc/kubernetes ${LOGS_DIR}/k8s/etc sudo cp -a /etc/kubernetes ${LOGS_DIR}/k8s/etc