File tree Expand file tree Collapse file tree
memorystore/redis/gce_deployment Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333mvn clean package
3434
3535# Copy the WAR artifact to the GCS bucket location
36- gsutil cp -r target/${WAR} gs://" $GCS_BUCKET_NAME " /gce/
36+ gcloud storage cp --recursive target/${WAR} gs://" $GCS_BUCKET_NAME " /gce/
3737
3838cd gce_deployment
3939
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ PROJECTID=$(curl -s "http://metadata.google.internal/computeMetadata/v1/project/
2121GCS_BUCKET_NAME=$( curl -s " http://metadata.google.internal/computeMetadata/v1/instance/attributes/gcs-bucket" -H " Metadata-Flavor: Google" )
2222WAR=$( curl -s " http://metadata.google.internal/computeMetadata/v1/instance/attributes/app-war" -H " Metadata-Flavor: Google" )
2323
24- gsutil cp gs://" $GCS_BUCKET_NAME " /gce/" $WAR " .
24+ gcloud storage cp gs://" $GCS_BUCKET_NAME " /gce/" $WAR " .
2525
2626# Install dependencies from apt
2727apt-get update
You can’t perform that action at this time.
0 commit comments