Jenkins gke e2e: don't use sudo with gsutil cp

This commit is contained in:
Jeff Grafton 2015-09-15 13:29:58 -07:00
parent 4c01b2a589
commit 8a41cb46fa

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