| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 // Configuration for swarming-cipd integration. | 25 // Configuration for swarming-cipd integration. |
| 26 optional CipdSettings cipd = 6; | 26 optional CipdSettings cipd = 6; |
| 27 | 27 |
| 28 // Configuration for swarming-mp integration. | 28 // Configuration for swarming-mp integration. |
| 29 optional MachineProviderSettings mp = 7; | 29 optional MachineProviderSettings mp = 7; |
| 30 | 30 |
| 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 |
| 35 // oauth client id for the ui. This is created in the developer's console |
| 36 // under Credentials. |
| 37 optional string ui_client_id = 9; |
| 34 } | 38 } |
| 35 | 39 |
| 36 | 40 |
| 37 // Configuration for swarming-isolate integration. | 41 // Configuration for swarming-isolate integration. |
| 38 message IsolateSettings { | 42 message IsolateSettings { |
| 39 // URL of the default isolate server to use if it is not specified in a | 43 // URL of the default isolate server to use if it is not specified in a |
| 40 // task. Must start with "https://" or "http://", | 44 // task. Must start with "https://" or "http://", |
| 41 // e.g. "https://isolateserver.appspot.com" | 45 // e.g. "https://isolateserver.appspot.com" |
| 42 optional string default_server = 1; | 46 optional string default_server = 1; |
| 43 | 47 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 70 // task. | 74 // task. |
| 71 optional CipdPackage default_client_package = 2; | 75 optional CipdPackage default_client_package = 2; |
| 72 } | 76 } |
| 73 | 77 |
| 74 | 78 |
| 75 // Settings for Swarming-MP integration. | 79 // Settings for Swarming-MP integration. |
| 76 message MachineProviderSettings { | 80 message MachineProviderSettings { |
| 77 // Whether or not Swarming-MP integration is enabled. | 81 // Whether or not Swarming-MP integration is enabled. |
| 78 optional bool enabled = 1; | 82 optional bool enabled = 1; |
| 79 } | 83 } |
| OLD | NEW |