Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion memorystore/redis/gce_deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fi

#Upload the tar to GCS
tar -cvf app.tar -C .. package.json server.js
gsutil cp app.tar gs://"$GCS_BUCKET_NAME"/gce/
gcloud storage cp app.tar gs://"$GCS_BUCKET_NAME"/gce/
Comment thread
gurusai-voleti marked this conversation as resolved.

# Create an instance
gcloud compute instances create my-instance \
Expand Down
2 changes: 1 addition & 1 deletion memorystore/redis/gce_deployment/startup-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ apt-get install -yq ca-certificates supervisor nodejs build-essential
curl -s "https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh" | bash
service google-fluentd restart &

gsutil cp gs://"$GCS_BUCKET_NAME"/gce/app.tar /app.tar
gcloud storage cp gs://"$GCS_BUCKET_NAME"/gce/app.tar /app.tar
Comment thread
gurusai-voleti marked this conversation as resolved.
mkdir -p /app
tar -x -f /app.tar -C /app
cd /app
Expand Down
Loading