This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathapp.yaml
106 lines (94 loc) · 3.35 KB
/
app.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
application: unset
version: 22-7
runtime: python27 # Which runtime to use.
api_version: 1 # Which version of the API to use for that runtime.
threadsafe: true # Whether or not to enable threading.
instance_class: F4 # Instance size to handle front-end requests.
default_expiration: 30d
# Third party libraries loaded from the App Engine environment.
libraries:
- name: MySQLdb
# Warning: datetime returns None in 1.2.4b4 ?!
version: "1.2.4"
- name: jinja2
version: "2.6"
- name: webapp2
version: "2.5.1"
builtins:
- remote_api: on
- appstats: on
# Dispatch table from URL -> application instance or from URL -> static content.
handlers:
# Upload static scripts and HTML templates
- url: /static
static_dir: client
login: required
# Use version number as part of static file URLs so that long expiration times
# will not affect changes in new deployments. This is accomplished by the
# handler providing a template variable static_dir, see
# _RequestHandler.RenderHtml in perfkit.explorer.handlers.base.
- url: /_static/.+?/(.*)
static_files: client/\1
upload: client/(.*)
secure: always
# Provides interactive console for debugging purposes in production.
# This is equivalent to /_ah/admin in dev_app_server.
- url: /_ah/dev_console(/.*)?
script: google.appengine.ext.admin.application
login: admin
secure: always
# URLs from /dashboard/* allow consumers to view, create and edit dashboards.
- url: /dashboard/.*
script: perfkit.explorer.handlers.dashboard.app
login: required
secure: always
# URLs from /config are used to get and update the global config.
- url: /config
script: perfkit.explorer.handlers.explorer_config.app
login: admin
secure: always
# URLs from /data/* are Data Providers, and return data in Json format. This
# is used by the Explorer Pages (mapped below), and can also be used by
# external consumers.
- url: /data/.*
script: perfkit.explorer.handlers.data.app
login: required
secure: always
################################################################################
# Extension Libraries
################################################################################
- url: /cloudsql/config
script: perfkit.ext.cloudsql.handlers.cloudsql_config.app
login: admin
secure: always
# URLs from /* are Explorer Pages, and return data in HTML format.
# These pages rely in async calls to the Data Provider (noted above) to provide
# full functionality.
- url: /.*
script: perfkit.explorer.handlers.pages.app
login: required
secure: always
################################################################################
# Generated by app_impl.py. Do not modify manually. To disable and manage
# skip_files yourself, pass the --norewrite_app_yaml flag via app.sh or the
# command line. See go/appsh.
################################################################################
skip_files:
# Default patterns skipped by App Engine, which must be repeated since
# specifying skip_files overrides them otherwise. See
# https://developers.google.com/appengine/docs/python/config/appconfig#Skipping_Files.
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
# Files produced by blaze that have no effect in App Engine's runtime.
- ^.*\.so$
- ^.*pywrap.+\.py$
- ^.*\.jslib$
- ^.*\.CMF$
- ^.*\.MF$