Chromium Code Reviews| 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 partial url which a task id will be appended. The result should be a | |
| 43 // valid link to the milo output of a task (if any). | |
| 44 optional string milo_server_prefix = 11; | |
| 45 | |
| 46 // A partial url which a Skia git revision will be appended. The result | |
|
M-A Ruel
2016/10/11 16:26:55
I think we need a more generic way to define this
kjlubick
2016/10/11 17:00:03
I agree. I'll rework this to deal with a tag inst
kjlubick
2016/10/12 13:59:51
As it turns out, there was a sk_repo tag already b
| |
| 47 // should be a valid link to the source code at that revision (if any). | |
| 48 optional string sk_revision_prefix = 12; | |
| 41 } | 49 } |
| 42 | 50 |
| 43 | 51 |
| 44 // Configuration for swarming-isolate integration. | 52 // Configuration for swarming-isolate integration. |
| 45 message IsolateSettings { | 53 message IsolateSettings { |
| 46 // URL of the default isolate server to use if it is not specified in a | 54 // URL of the default isolate server to use if it is not specified in a |
| 47 // task. Must start with "https://" or "http://", | 55 // task. Must start with "https://" or "http://", |
| 48 // e.g. "https://isolateserver.appspot.com" | 56 // e.g. "https://isolateserver.appspot.com" |
| 49 optional string default_server = 1; | 57 optional string default_server = 1; |
| 50 | 58 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 116 // | 124 // |
| 117 // This check always work in conjunction with 'swarming-users' group check: | 125 // 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 | 126 // 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. | 127 // in 'swarming-users' group and in "X:Y"'s 'usable_by' group. |
| 120 optional string usable_by = 2; | 128 optional string usable_by = 2; |
| 121 } | 129 } |
| 122 | 130 |
| 123 // Entries with ACLs for individual dimensions. Order is irrelevant. | 131 // Entries with ACLs for individual dimensions. Order is irrelevant. |
| 124 repeated Entry entry = 1; | 132 repeated Entry entry = 1; |
| 125 } | 133 } |
| OLD | NEW |