Skip to content

Commit 5ca200b

Browse files
author
remi Taylor
authored
Merge pull request #31 from GoogleCloudPlatform/gcloud-app-deploy
Update `gcloud preview app` commands to `gcloud app`
2 parents f92f5b7 + 8889c89 commit 5ca200b

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

appengine/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ create a project/app id. (App id and project id are identical.)
4646

4747
1. Use gcloud to deploy your app.
4848

49-
gcloud preview app deploy
49+
gcloud app deploy
5050

5151
1. Awesome! Your application is now live at `your-app-id.appspot.com`.

appengine/datastore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bundle exec ruby ./app.rb
2323
## Deploy
2424

2525
```
26-
gcloud preview app deploy
26+
gcloud app deploy
2727
```
2828

2929
## Test

appengine/endpoints/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Open the `swagger.yaml` file and in the `host` property, replace
4040

4141
Then, deploy the sample using `gcloud`:
4242

43-
gcloud preview app deploy app.yaml
43+
gcloud app deploy app.yaml
4444

4545
Once deployed, you can access the application at https://YOUR-PROJECT-ID.appspot.com/.
4646

appengine/pubsub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ curl -i --data @sample_message.json "localhost:4567/pubsub/push?token=<your-toke
5353
Put topic and token in `app.yaml`, then:
5454

5555
```
56-
gcloud preview app deploy
56+
gcloud app deploy
5757
```
5858

5959
## Test

appengine/storage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The public URL to the uploaded file will be displayed.
4040
Replace `<your-project-id>` and `<your-bucket-name>` in `app.yaml`, then:
4141

4242
```
43-
gcloud preview app deploy
43+
gcloud app deploy
4444
```
4545

4646
## Test

pubsub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $ bundle exec rake spec
1212
Deploy the push listener:
1313

1414
```bash
15-
$ gcloud preview app deploy --promote
15+
$ gcloud app deploy --promote
1616
```
1717

1818
You will see messages pushed to the listener in

spec/e2e.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def deploy(test_dir, build_id = nil)
5757
# try 3 times in case of intermittent deploy error
5858
app_yaml_path = File.expand_path("../../#{test_dir}/app.yaml", __FILE__)
5959
for attempt in 0..3
60-
self.exec "gcloud preview app deploy #{app_yaml_path} --version=#{version} -q --no-promote"
60+
self.exec "gcloud app deploy #{app_yaml_path} --version=#{version} -q --no-promote"
6161
break if $?.to_i == 0
6262
end
6363

@@ -87,7 +87,7 @@ def cleanup(test_dir, build_id = nil)
8787

8888
# run gcloud command
8989
test_name = self.versionize(test_dir)
90-
self.exec "gcloud preview app modules delete default --version=#{test_name}-#{build_id} -q"
90+
self.exec "gcloud app modules delete default --version=#{test_name}-#{build_id} -q"
9191

9292
# return the result of the gcloud delete command
9393
if $?.to_i != 0

0 commit comments

Comments
 (0)