Skip to content

Commit 6bd075d

Browse files
chore: Migrate gsutil usage to gcloud storage
1 parent 455d71e commit 6bd075d

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
@@ -36,7 +36,7 @@ fi
3636

3737
#Upload the tar to GCS
3838
tar -cvf app.tar -C .. package.json server.js
39-
gsutil cp app.tar gs://"$GCS_BUCKET_NAME"/gce/
39+
gcloud storage cp app.tar gs://"$GCS_BUCKET_NAME"/gce/
4040

4141
# Create an instance
4242
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
@@ -34,7 +34,7 @@ apt-get install -yq ca-certificates supervisor nodejs build-essential
3434
curl -s "https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh" | bash
3535
service google-fluentd restart &
3636

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

0 commit comments

Comments
 (0)