| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 | 7 |
| 8 // Schema for settings.cfg service config file in luci-config. | 8 // Schema for settings.cfg service config file in luci-config. |
| 9 message SettingsCfg { | 9 message SettingsCfg { |
| 10 // id to inject into pages if applicable. | 10 // id to inject into pages if applicable. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // a task id can go. | 45 // a task id can go. |
| 46 optional string display_server_url_template = 11; | 46 optional string display_server_url_template = 11; |
| 47 | 47 |
| 48 // Sets a maximum sleep time in seconds for bots that limits the exponental | 48 // Sets a maximum sleep time in seconds for bots that limits the exponental |
| 49 // backoff. If missing, the task scheduler will provide the default maximum | 49 // backoff. If missing, the task scheduler will provide the default maximum |
| 50 // (usually 60s, but see bot_code/task_scheduler.py for details). | 50 // (usually 60s, but see bot_code/task_scheduler.py for details). |
| 51 optional int32 max_bot_sleep_time = 12; | 51 optional int32 max_bot_sleep_time = 12; |
| 52 | 52 |
| 53 // Names of the authorization groups used by components/auth. | 53 // Names of the authorization groups used by components/auth. |
| 54 optional AuthSettings auth = 13; | 54 optional AuthSettings auth = 13; |
| 55 |
| 56 // Sets the default gRPC proxy for the bot's Isolate server calls. |
| 57 optional string bot_isolate_grpc_proxy = 14; |
| 55 } | 58 } |
| 56 | 59 |
| 57 | 60 |
| 58 // Configuration for swarming-isolate integration. | 61 // Configuration for swarming-isolate integration. |
| 59 message IsolateSettings { | 62 message IsolateSettings { |
| 60 // URL of the default isolate server to use if it is not specified in a | 63 // URL of the default isolate server to use if it is not specified in a |
| 61 // task. Must start with "https://" or "http://", | 64 // task. Must start with "https://" or "http://", |
| 62 // e.g. "https://isolateserver.appspot.com" | 65 // e.g. "https://isolateserver.appspot.com" |
| 63 optional string default_server = 1; | 66 optional string default_server = 1; |
| 64 | 67 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 message AuthSettings { | 154 message AuthSettings { |
| 152 // Members of this group have full administrative access. | 155 // Members of this group have full administrative access. |
| 153 optional string admins_group = 1; | 156 optional string admins_group = 1; |
| 154 // Members of this group can fetch swarming bot code and bootstrap bots. | 157 // Members of this group can fetch swarming bot code and bootstrap bots. |
| 155 optional string bot_bootstrap_group = 2; | 158 optional string bot_bootstrap_group = 2; |
| 156 // Members of this group can schedule tasks and see everyone else's tasks. | 159 // Members of this group can schedule tasks and see everyone else's tasks. |
| 157 optional string privileged_users_group = 3; | 160 optional string privileged_users_group = 3; |
| 158 // Members of this group can schedule tasks and see only their own tasks. | 161 // Members of this group can schedule tasks and see only their own tasks. |
| 159 optional string users_group = 4; | 162 optional string users_group = 4; |
| 160 } | 163 } |
| OLD | NEW |