Merge pull request #13991 from ixdy/jenkins-gke-configs

Jenkins gke e2e: don't use sudo with gsutil cp
This commit is contained in:
Quinton Hoole 2015-09-15 15:24:35 -07:00
commit 1f4a1d65ba

View File

@ -651,7 +651,7 @@ export E2E_REPORT_DIR=${ARTIFACTS}
# Install gcloud from a custom path if provided. Used to test GKE with gcloud
# at HEAD, release candidate.
if [[ ! -z "${CLOUDSDK_BUCKET:-}" ]]; then
sudo gsutil -m cp -r "${CLOUDSDK_BUCKET}" ~
gsutil -m cp -r "${CLOUDSDK_BUCKET}" ~
mv ~/$(basename "${CLOUDSDK_BUCKET}") ~/repo
mkdir ~/cloudsdk
tar zvxf ~/repo/google-cloud-sdk.tar.gz -C ~/cloudsdk