Skip to content

Commit 0105314

Browse files
Migrate gsutil usage to gcloud storage (#13725)
1 parent 236bcaa commit 0105314

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

memorystore/redis/gce_deployment/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fi
3737
#Upload the tar to GCS
3838
tar -cvf app.tar -C .. requirements.txt main.py
3939
# Copy to GCS bucket
40-
gsutil cp app.tar gs://"$GCS_BUCKET_NAME"/gce/
40+
gcloud storage cp app.tar gs://"$GCS_BUCKET_NAME"/gce/
4141

4242
# Create an instance
4343
gcloud compute instances create my-instance \

memorystore/redis/gce_deployment/startup-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ apt-get install -yq \
3333
curl -s "https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh" | bash
3434
service google-fluentd restart &
3535

36-
gsutil cp gs://"$GCS_BUCKET_NAME"/gce/app.tar /app.tar
36+
gcloud storage cp gs://"$GCS_BUCKET_NAME"/gce/app.tar /app.tar
3737
mkdir -p /app
3838
tar -x -f /app.tar -C /app
3939
cd /app

0 commit comments

Comments
 (0)