| 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 20 matching lines...) Expand all Loading... |
| 31 // Emergency setting to disable bot task reaping. When set, all bots are | 31 // Emergency setting to disable bot task reaping. When set, all bots are |
| 32 // always put to sleep and are never granted task. | 32 // always put to sleep and are never granted task. |
| 33 optional bool force_bots_to_sleep_and_not_run_task = 8; | 33 optional bool force_bots_to_sleep_and_not_run_task = 8; |
| 34 | 34 |
| 35 // oauth client id for the ui. This is created in the developer's console | 35 // oauth client id for the ui. This is created in the developer's console |
| 36 // under Credentials. | 36 // under Credentials. |
| 37 optional string ui_client_id = 9; | 37 optional string ui_client_id = 9; |
| 38 | 38 |
| 39 // A mapping "dimension" => "who can posts tasks for it". | 39 // A mapping "dimension" => "who can posts tasks for it". |
| 40 optional DimensionACLs dimension_acls = 10; | 40 optional DimensionACLs dimension_acls = 10; |
| 41 |
| 42 // A url to a task display server (e.g. milo). This should have a %s where |
| 43 // a task id can go. |
| 44 optional string display_server_url_template = 11; |
| 41 } | 45 } |
| 42 | 46 |
| 43 | 47 |
| 44 // Configuration for swarming-isolate integration. | 48 // Configuration for swarming-isolate integration. |
| 45 message IsolateSettings { | 49 message IsolateSettings { |
| 46 // URL of the default isolate server to use if it is not specified in a | 50 // URL of the default isolate server to use if it is not specified in a |
| 47 // task. Must start with "https://" or "http://", | 51 // task. Must start with "https://" or "http://", |
| 48 // e.g. "https://isolateserver.appspot.com" | 52 // e.g. "https://isolateserver.appspot.com" |
| 49 optional string default_server = 1; | 53 optional string default_server = 1; |
| 50 | 54 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // | 120 // |
| 117 // This check always work in conjunction with 'swarming-users' group check: | 121 // This check always work in conjunction with 'swarming-users' group check: |
| 118 // in order to post a task that uses dimension "X:Y", the user must be both | 122 // in order to post a task that uses dimension "X:Y", the user must be both |
| 119 // in 'swarming-users' group and in "X:Y"'s 'usable_by' group. | 123 // in 'swarming-users' group and in "X:Y"'s 'usable_by' group. |
| 120 optional string usable_by = 2; | 124 optional string usable_by = 2; |
| 121 } | 125 } |
| 122 | 126 |
| 123 // Entries with ACLs for individual dimensions. Order is irrelevant. | 127 // Entries with ACLs for individual dimensions. Order is irrelevant. |
| 124 repeated Entry entry = 1; | 128 repeated Entry entry = 1; |
| 125 } | 129 } |
| OLD | NEW |