Skip to content

Commit

Permalink
Tests - Improve Minikube source code copy process
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun committed Nov 22, 2018
1 parent 486d43d commit e2d9a20
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/presubmit-tests-gce-minikube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e2d9a20

Please sign in to comment.