Skip to content

Commit e249eaa

Browse files
author
Takashi Matsuo
committed
Merge pull request GoogleCloudPlatform#35 from GoogleCloudPlatform/use-gcloud
Use gcloud instead of appcfg.py.
2 parents a28e43a + 025f539 commit e249eaa

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

app_engine/phpmyadmin/app-e2e.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
application: {{your_project_id}}
2-
version: 1
31
module: phpmyadmin
42
runtime: php55
53
api_version: 1
64

75
handlers:
86

9-
- url: /(.+\.(ico|jpg|png|gif))$
7+
- url: /(.+\.(ico|jpg|png|gif))
108
static_files: \1
119
upload: (.+\.(ico|jpg|png|gif))$
1210
application_readable: true
1311

14-
- url: /(.+\.(htm|html|css|js))$
12+
- url: /(.+\.(htm|html|css|js))
1513
static_files: \1
1614
upload: (.+\.(htm|html|css|js))$
1715
application_readable: true
1816

19-
- url: /(.+\.php)$
17+
- url: /(.+\.php)
2018
script: \1
2119

2220
- url: /.*

app_engine/phpmyadmin/tests/DeployTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,11 @@ public static function setUpBeforeClass()
130130

131131
public static function deploy($project_id, $e2e_test_version, $target)
132132
{
133-
$command = "appcfg.py -q "
133+
$command = "gcloud -q preview app deploy --no-promote "
134+
. "--no-stop-previous-version "
134135
. "--version $e2e_test_version "
135-
. "--application $project_id "
136-
. "update $target";
136+
. "--project $project_id "
137+
. "$target/app.yaml";
137138
for ($i = 0; $i <= 3; $i++) {
138139
exec($command, $output, $ret);
139140
foreach ($output as $line) {

0 commit comments

Comments
 (0)