-
Notifications
You must be signed in to change notification settings - Fork 0
/
usagestats.yaml
47 lines (39 loc) · 1.15 KB
/
usagestats.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# DEPLOYMENT INFO
# Last deployed dev version: 2016-10-31
# Last deployed prod version: 2019-03-19
# command: gcloud app deploy usagestats.yaml
# args:
# --project vertnet-portal # Optional, no need if gcloud is configured to use this project
# --version prod|dev # Indicates version to use. If 'Prod', --promote flag should be used
# --promote # Optional, removes the version id from the deployment URL. Skip for testing and/or dev version
#
# TODO
# * Check 'todo' item in ReportViewer:
# Update template fields to fit new model schema (e.g. search_events)
# * Check, refactor and improve *Status
# * Build EntityCleaner
# Upgraded instance_class overcomes out of memory issues
instance_class: B4
basic_scaling:
max_instances: 4
idle_timeout: 3m
service: tools-usagestats
runtime: python27
api_version: 1
threadsafe: yes
handlers:
# - url: /_ah/queue/deferred
# script: google.appengine.ext.deferred.deferred.application
# login: admin
- url: /admin/.*
script: usagestats.admin
# login: admin
- url: .*
script: usagestats.app
libraries:
- name: webapp2
version: "2.5.2"
- name: jinja2
version: latest
# builtins:
# - deferred: on