File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
memorystore/redis/gce_deployment Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3636
3737# Upload the tar to GCS
3838tar -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
4242gcloud compute instances create my-instance \
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ apt-get install -yq ca-certificates supervisor nodejs build-essential
3434curl -s " https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh" | bash
3535service 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
3838mkdir -p /app
3939tar -x -f /app.tar -C /app
4040cd /app
You can’t perform that action at this time.
0 commit comments