Skip to content

Commit 8c29bc7

Browse files
authored
Migrate gsutil usage to gcloud (#3006)
1 parent 8993237 commit 8c29bc7

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

courses/developingapps/v1.2/java/appengine/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"
2121
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

courses/developingapps/v1.2/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.2/java/firebase/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"
2121
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

courses/developingapps/v1.2/java/firebase/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.2/nodejs/cloudendpoints/bonus/prepare_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ echo "Creating Datastore database (Firestore in Datastore mode)"
2525
gcloud datastore databases create --region "us-central"
2626

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

3030
echo "Installing dependencies"
3131
npm install -g [email protected]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ echo "Creating Datastore database (Firestore in Datastore mode)"
2626
gcloud datastore databases create --region "us-central"
2727

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

3131
echo "Installing dependencies"
3232
npm install -g [email protected]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ echo "Creating Datastore database (Firestore in Datastore mode)"
1818
gcloud datastore databases create --region "us-central"
1919

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

2323
echo "Exporting GCLOUD_PROJECT and GCLOUD_BUCKET"
2424
export GCLOUD_PROJECT=$DEVSHELL_PROJECT_ID

courses/developingapps/v1.2/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.2/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.2/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 -g [email protected]

0 commit comments

Comments
 (0)