blob: 10c4e9504228065b3fd00fc0eeb0a58e7d737b0c [file] [log] [blame]
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
service: latency-insensitive
runtime: python27
api_version: 1
threadsafe: no
default_expiration: "3600d"
instance_class: F4
automatic_scaling:
min_idle_instances: ${MIN_IDLE_INSTANCES}
max_pending_latency: ${MAX_PENDING_LATENCY}
# Note: this is interpreted by gae.py, it maps the app ID being deployed to
# values of ${...} vars.
# Reference: https://chromium.googlesource.com/infra/luci/luci-go/+/HEAD/examples/appengine/helloworld_v2/app.yaml
luci_gae_vars:
monorail-dev:
MIN_IDLE_INSTANCES: "1"
MAX_PENDING_LATENCY: "automatic"
monorail-staging:
MIN_IDLE_INSTANCES: "1"
MAX_PENDING_LATENCY: "0.2s"
monorail-prod:
MIN_IDLE_INSTANCES: "25"
MAX_PENDING_LATENCY: "0.2s"
handlers:
- url: /_ah/warmup
script: monorailapp.app
login: admin
- url: /_ah/api/.*
script: monorailapp.endpoints
- url: /_task/.*
script: monorailapp.app
login: admin
- url: /_cron/.*
script: monorailapp.app
login: admin
- url: /_ah/mail/.*
script: monorailapp.app
login: admin
inbound_services:
- mail
- mail_bounce
- warmup
libraries:
- name: endpoints
version: "1.0"
- name: grpcio
version: "1.0.0"
- name: MySQLdb
version: "latest"
- name: ssl
version: latest
includes:
- gae_ts_mon
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- node_modules/
- venv/