提交 e278d62e 编写于 作者: D dlorenc 提交者: dlorenc

Set permissions before cleanup.

Signed-off-by: Ndlorenc <dlorenc@google.com>
上级 b9a9f1c5
......@@ -36,6 +36,16 @@ gsutil cp gs://minikube-builds/${MINIKUBE_LOCATION}/testdata/busybox-mount-test.
gsutil cp gs://minikube-builds/${MINIKUBE_LOCATION}/testdata/nginx-pod-svc.yaml testdata/
gsutil cp gs://minikube-builds/${MINIKUBE_LOCATION}/testdata/nginx-ing.yaml testdata/
# Set the executable bit on the e2e binary and out binary
chmod +x out/e2e-${OS_ARCH}
chmod +x out/minikube-${OS_ARCH}
chmod +x out/docker-machine-driver-*
chmod +x out/localkube
# Fix permissions in $HOME
sudo chown -R $USER $HOME/.kube
sudo chown -R $USER $HOME/.minikube
export MINIKUBE_WANTREPORTERRORPROMPT=False
sudo ./out/minikube-${OS_ARCH} delete || true
./out/minikube-${OS_ARCH} delete || true
......@@ -67,10 +77,6 @@ hdiutil info \
# Clean up xhyve processes
pgrep xhyve | xargs kill || true
# Set the executable bit on the e2e binary and out binary
chmod +x out/e2e-${OS_ARCH}
chmod +x out/minikube-${OS_ARCH}
chmod +x out/docker-machine-driver-*
if [ -e out/docker-machine-driver-hyperkit ]; then
sudo chown root:wheel out/docker-machine-driver-hyperkit || true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册