| 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 by the Apache v2.0 license that can be | 2 // Use of this source code is governed by the Apache v2.0 license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 // Schema for settings.cfg service config file in luci-config. | 7 // Schema for settings.cfg service config file in luci-config. |
| 8 message SettingsCfg { | 8 message SettingsCfg { |
| 9 // id to inject into pages if applicable. | 9 // id to inject into pages if applicable. |
| 10 optional string google_analytics = 1; | 10 optional string google_analytics = 1; |
| 11 | 11 |
| 12 // The number of seconds an old task can be deduped from. | 12 // The number of seconds an old task can be deduped from. |
| 13 optional int32 reusable_task_age_secs = 2; | 13 optional int32 reusable_task_age_secs = 2; |
| 14 | 14 |
| 15 // The amount of time that has to pass before a machine is considered dead. | 15 // The amount of time that has to pass before a machine is considered dead. |
| 16 optional int32 bot_death_timeout_secs = 3; | 16 optional int32 bot_death_timeout_secs = 3; |
| 17 | 17 |
| 18 // Enable ts_mon based monitoring. | 18 // Enable ts_mon based monitoring. |
| 19 optional bool enable_ts_monitoring = 4; | 19 optional bool enable_ts_monitoring = 4; |
| 20 | 20 |
| 21 // Configuration for swarming-isolate integration. | 21 // Configuration for swarming-isolate integration. |
| 22 optional IsolateSettings isolate = 5; | 22 optional IsolateSettings isolate = 5; |
| 23 |
| 24 // Configuration for swarming-cipd integration. |
| 25 optional CipdSettings cipd = 6; |
| 23 } | 26 } |
| 24 | 27 |
| 25 // Configuration for swarming-isolate integration. | 28 // Configuration for swarming-isolate integration. |
| 26 message IsolateSettings { | 29 message IsolateSettings { |
| 27 // URL of the default isolate server to use if it is not specified in a | 30 // URL of the default isolate server to use if it is not specified in a |
| 28 // task. Must start with "https://" or "http://". | 31 // task. Must start with "https://" or "http://", |
| 29 // e.g. "https://isolateserver.appspot.com" | 32 // e.g. "https://isolateserver.appspot.com" |
| 30 optional string default_server = 1; | 33 optional string default_server = 1; |
| 31 | 34 |
| 32 // Default namespace to use if it is not specified in a task, | 35 // Default namespace to use if it is not specified in a task, |
| 33 // e.g. "default-gzip" | 36 // e.g. "default-gzip" |
| 34 optional string default_namespace = 2; | 37 optional string default_namespace = 2; |
| 35 } | 38 } |
| 39 |
| 40 // A CIPD package. |
| 41 message CipdPackage { |
| 42 // A template of a full CIPD package name, e.g. |
| 43 // "infra/tools/cipd/${platform}" |
| 44 // See also cipd.ALL_PARAMS. |
| 45 optional string package_name = 1; |
| 46 |
| 47 // Valid package version for all packages matched by package name. |
| 48 optional string version = 2; |
| 49 } |
| 50 |
| 51 // Settings for Swarming-CIPD integration. |
| 52 message CipdSettings { |
| 53 // URL of the default CIPD server to use if it is not specified in a task. |
| 54 // Must start with "https://" or "http://", |
| 55 // e.g. "https://chrome-infra-packages.appspot.com". |
| 56 optional string default_server = 1; |
| 57 |
| 58 // Package of the default CIPD client to use if it is not specified in a |
| 59 // task. |
| 60 optional CipdPackage default_client_package = 2; |
| 61 } |
| OLD | NEW |