# Copyright (C) 2019 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. runtime: python27 service: controller api_version: 1 threadsafe: yes # B4 := 2.4 GHz 1024 MB instance_class: B4 manual_scaling: instances: 1 # Login: admin is to avoid exposing the controller to the public and directly # poking at its internals. These endpoints are hit only by the tasks posted # by the controller itself. Everything happens as a continuation of either the # /_ah/start call or the Cron job calls (see cron.yaml). handlers: - url: (/controller/.*)|(/_ah/.*) script: controller.app login: admin