File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- application : {{your_project_id}}
2- version : 1
31module : phpmyadmin
42runtime : php55
53api_version : 1
64
75handlers :
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 : /.*
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments