From e2d9a20dc7636b5829b81c99efd8577af84d4495 Mon Sep 17 00:00:00 2001 From: Alexey Volkov Date: Thu, 22 Nov 2018 01:11:39 -0800 Subject: [PATCH] Tests - Improve Minikube source code copy process --- test/presubmit-tests-gce-minikube.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/presubmit-tests-gce-minikube.sh b/test/presubmit-tests-gce-minikube.sh index aa07e39b89e..8ba4fd03f36 100755 --- a/test/presubmit-tests-gce-minikube.sh +++ b/test/presubmit-tests-gce-minikube.sh @@ -74,9 +74,7 @@ fi gcloud compute scp --zone=$ZONE --verbosity=error "$GOOGLE_APPLICATION_CREDENTIALS" $instance_name:"~/service-account.json" #Copy repo -git_root=$(git rev-parse --show-toplevel) -git_root_parent=$(dirname "$git_root") -gcloud compute scp --zone=$ZONE --verbosity=error --recurse "$git_root" $instance_name:'~' >/dev/null || true #Do not fail on error here because of broken symlinks until this is fixed: https://github.com/kubeflow/pipelines/issues/1084 +tar --directory=.. -cz pipelines | gcloud compute ssh --zone=$ZONE $instance_name -- tar -xz #Assumes that the current directory on target VM is ~ #Installing software on VM gcloud compute ssh --zone=$ZONE $instance_name -- "~/pipelines/test/minikube/install_docker_minikube_argo.sh"