Skip to content

Commit 55ac167

Browse files
authored
Migrate gsutil usage to gcloud (#3002)
1 parent 84d301a commit 55ac167

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

courses/developingapps/v1.3/java/appengine/start/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "Creating App Engine app"
1515
gcloud app create --region "us-central"
1616

1717
echo "Making bucket: gs://$DEVSHELL_PROJECT_ID-media"
18-
gsutil mb gs://$DEVSHELL_PROJECT_ID-media
18+
gcloud storage buckets create gs://$DEVSHELL_PROJECT_ID-media
1919

2020
echo "Exporting GCLOUD_PROJECT and GCLOUD_BUCKET"
2121
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

courses/developingapps/v1.3/nodejs/cloudendpoints/bonus/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ echo "Creating App Engine app"
2222
gcloud app create --region "us-central"
2323

2424
echo "Making bucket: gs://$GCLOUD_BUCKET"
25-
gsutil mb gs://$GCLOUD_BUCKET
25+
gcloud storage buckets create gs://$GCLOUD_BUCKET
2626

2727
echo "Installing dependencies"
2828
npm install -g [email protected]

courses/developingapps/v1.3/nodejs/cloudendpoints/end/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ echo "Creating App Engine app"
2323
gcloud app create --region "us-central"
2424

2525
echo "Making bucket: gs://$GCLOUD_BUCKET"
26-
gsutil mb gs://$GCLOUD_BUCKET
26+
gcloud storage buckets create gs://$GCLOUD_BUCKET
2727

2828
echo "Installing dependencies"
2929
npm install -g [email protected]

courses/developingapps/v1.3/nodejs/cloudendpoints/start/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "Creating App Engine app"
1616
gcloud app create --region "us-central"
1717

1818
echo "Making bucket: gs://$DEVSHELL_PROJECT_ID-media"
19-
gsutil mb gs://$DEVSHELL_PROJECT_ID-media
19+
gcloud storage buckets create gs://$DEVSHELL_PROJECT_ID-media
2020

2121
echo "Exporting GCLOUD_PROJECT and GCLOUD_BUCKET"
2222
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

courses/developingapps/v1.3/nodejs/cloudfunctions/bonus/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "Creating App Engine app"
1515
gcloud app create --region "us-central"
1616

1717
echo "Making bucket: gs://$DEVSHELL_PROJECT_ID-media"
18-
gsutil mb gs://$DEVSHELL_PROJECT_ID-media
18+
gcloud storage buckets create gs://$DEVSHELL_PROJECT_ID-media
1919

2020
echo "Exporting GCLOUD_PROJECT and GCLOUD_BUCKET"
2121
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

courses/developingapps/v1.3/nodejs/containerengine/bonus/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo "Creating App Engine app"
1919
gcloud app create --region "us-central"
2020

2121
echo "Making bucket: gs://$GCLOUD_BUCKET"
22-
gsutil mb gs://$GCLOUD_BUCKET
22+
gcloud storage buckets create gs://$GCLOUD_BUCKET
2323

2424
echo "Installing dependencies"
2525
npm install -g [email protected]

courses/developingapps/v1.3/nodejs/containerengine/end/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo "Creating App Engine app"
1919
gcloud app create --region "us-central"
2020

2121
echo "Making bucket: gs://$GCLOUD_BUCKET"
22-
gsutil mb gs://$GCLOUD_BUCKET
22+
gcloud storage buckets create gs://$GCLOUD_BUCKET
2323

2424
echo "Installing dependencies"
2525
npm install -g [email protected]

courses/developingapps/v1.3/nodejs/containerengine/start/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo "Creating App Engine app"
1919
gcloud app create --region "us-central"
2020

2121
echo "Making bucket: gs://$GCLOUD_BUCKET"
22-
gsutil mb gs://$GCLOUD_BUCKET
22+
gcloud storage buckets create gs://$GCLOUD_BUCKET
2323

2424
echo "Installing dependencies"
2525
npm install

courses/developingapps/v1.3/nodejs/stackdriver-trace-monitoring/end/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "Creating App Engine app"
1515
gcloud app create --region "us-central"
1616

1717
echo "Making bucket: gs://$DEVSHELL_PROJECT_ID-media"
18-
gsutil mb gs://$DEVSHELL_PROJECT_ID-media
18+
gcloud storage buckets create gs://$DEVSHELL_PROJECT_ID-media
1919

2020
echo "Exporting GCLOUD_PROJECT and GCLOUD_BUCKET and NODE_ENV"
2121
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

courses/developingapps/v1.3/nodejs/stackdriver-trace-monitoring/start/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export GCLOUD_BUCKET=$DEVSHELL_PROJECT_ID-media
2424
export NODE_ENV=production
2525

2626
echo "Making bucket: gs://$GCLOUD_BUCKET"
27-
gsutil mb gs://$GCLOUD_BUCKET
27+
gcloud storage buckets create gs://$GCLOUD_BUCKET
2828

2929
echo "Installing dependencies"
3030
npm install

0 commit comments

Comments
 (0)