File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- runtime : python310
1
+ runtime : python311
2
2
3
3
automatic_scaling :
4
4
max_instances : 2
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ Flask ~= 2.2
2
2
gevent ~= 22.10
3
3
geventhttpclient ~= 2.0
4
4
google-cloud-ndb ~= 2.1
5
- google-cloud-tasks ~= 2.12
5
+ google-cloud-tasks ~= 2.13
6
6
gunicorn ~= 20.1
Original file line number Diff line number Diff line change @@ -99,15 +99,15 @@ def show_routes(c):
99
99
# fmt: on
100
100
},
101
101
)
102
- def deploy (c , target = "stage " ):
102
+ def deploy (c , target = "staging " ):
103
103
"""Deploy app."""
104
104
_ensure_private_mount (c )
105
105
if target == "all" :
106
- targets = "stage " , "prod"
106
+ targets = "staging " , "prod"
107
107
else :
108
108
targets = (target ,)
109
109
for t in targets :
110
- if t == "stage " :
110
+ if t == "staging " :
111
111
cmd = f"gcloud app deploy --quiet --project={ PROJECT_STAGING } "
112
112
elif t == "prod" :
113
113
cmd = f"gcloud app deploy --project={ PROJECT_PROD } "
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def xform(c):
213
213
link = self ._urls .get (tag )
214
214
if link is None or link .filename != curr_filename :
215
215
return tag
216
- tag + f"{ base_tag } _{ i } "
216
+ tag = f"{ base_tag } _{ i } "
217
217
i += 1
218
218
219
219
@staticmethod
You can’t perform that action at this time.
0 commit comments