Skip to content

Commit 1dfbf18

Browse files
author
Takashi Matsuo
authored
Use gcloud app instead of gcloud preview app. (GoogleCloudPlatform#133)
* Use `gcloud app` instead of `gcloud preview app`.
1 parent 84e2beb commit 1dfbf18

File tree

46 files changed

+64
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+64
-64
lines changed

appengine/flexible/analytics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ $ composer install
3838
3939
```
4040
$ gcloud config set project YOUR_PROJECT_ID
41-
$ gcloud preview app deploy
41+
$ gcloud app deploy
4242
```

appengine/flexible/analytics/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$app = require __DIR__ . '/../app.php';
2323

2424
// Run the app!
25-
// use "gcloud preview app deploy"
25+
// use "gcloud app deploy"
2626
$app['debug'] = true;
2727
$app['GA_TRACKING_ID'] = getenv('GA_TRACKING_ID');
2828
$app->run();

appengine/flexible/cloudsql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ in your browser.
5959

6060
```
6161
gcloud config set project YOUR_PROJECT_ID
62-
gcloud preview app deploy
63-
gcloud preview app browse
62+
gcloud app deploy
63+
gcloud app browse
6464
```
6565

6666
The last command will open `https://{YOUR_PROJECT_ID}.appspot.com/`

appengine/flexible/cloudsql/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$app = require __DIR__ . '/../app.php';
2323

2424
// Run the app!
25-
// use "gcloud preview app deploy"
25+
// use "gcloud app deploy"
2626
$app['debug'] = true;
2727
$app['mysql.dsn'] = getenv('MYSQL_DSN');
2828
$app['mysql.user'] = getenv('MYSQL_USER');

appengine/flexible/datastore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ This sample application demonstrates how to invoke Google Cloud Datastore from
4444

4545
```
4646
$ gcloud config set project YOUR_PROJECT_ID
47-
$ gcloud preview app deploy
47+
$ gcloud app deploy
4848
```

appengine/flexible/datastore/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$app = require __DIR__ . '/../app.php';
2323

2424
// Run the app!
25-
// use "gcloud preview app deploy"
25+
// use "gcloud app deploy"
2626
$app['debug'] = true;
2727
$app['google.dataset_id'] = getenv('GCLOUD_DATASET_ID');
2828
$app->run();

appengine/flexible/drupal8/tests/DeployTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public static function deploy($projectId, $versionId, $targetDir)
184184
{
185185
for ($i = 0; $i <= 3; $i++) {
186186
$process = self::createProcess(
187-
"gcloud -q preview app deploy "
187+
"gcloud -q app deploy "
188188
. "--version $versionId "
189189
. "--project $projectId --no-promote -q "
190190
. "$targetDir/drupal8.test/app.yaml"
@@ -202,7 +202,7 @@ public static function tearDownAfterClass()
202202
{
203203
for ($i = 0; $i <= 3; $i++) {
204204
$process = self::createProcess(sprintf(
205-
'gcloud -q preview app versions delete %s --service %s --project %s',
205+
'gcloud -q app versions delete %s --service %s --project %s',
206206
self::getVersion(),
207207
self::getServiceName() ?: 'default',
208208
self::getProjectId()

appengine/flexible/endpoints/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Open the `swagger.yaml` file and in the `host` property, replace
3838

3939
Then, deploy the sample using `gcloud`:
4040

41-
gcloud preview app deploy
41+
gcloud app deploy
4242

4343
Once deployed, you can access the application at https://YOUR-PROJECT-ID.appspot.com/
44-
or run the command `gcloud preview app browse`.
44+
or run the command `gcloud app browse`.
4545

4646
### Using the echo client
4747

appengine/flexible/endpoints/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$app = require __DIR__ . '/app.php';
2323

2424
// Run the app!
25-
// use "gcloud preview app deploy" or run "php -S localhost:8080"
25+
// use "gcloud app deploy" or run "php -S localhost:8080"
2626
// and browse to "/"
2727
$app['debug'] = true;
2828
$app->run();

appengine/flexible/memcache/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $ composer install
2121

2222
```
2323
$ gcloud config set project YOUR_PROJECT_ID
24-
$ gcloud preview app deploy
24+
$ gcloud app deploy
2525
```
2626

2727
**Store and retrieve values from the cache.**

0 commit comments

Comments
 (0)