mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
Jenkins gke e2e: don't use sudo with gsutil cp
This commit is contained in:
parent
4c01b2a589
commit
8a41cb46fa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user