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 3737# Upload the tar to GCS
3838tar -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
4343gcloud compute instances create my-instance \
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ apt-get install -yq \
3333curl -s " https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh" | bash
3434service 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
3737mkdir -p /app
3838tar -x -f /app.tar -C /app
3939cd /app
You can’t perform that action at this time.
0 commit comments