Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2015 The LUCI Authors. All rights reserved. | 1 // Copyright (c) 2015 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 = "proto3"; | 5 syntax = "proto3"; |
| 6 | 6 |
| 7 package milo; | 7 package milo; |
| 8 | 8 |
| 9 import "google/protobuf/timestamp.proto"; | 9 import "google/protobuf/timestamp.proto"; |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 130 repeated Link other_links = 23; | 130 repeated Link other_links = 23; |
| 131 | 131 |
| 132 // Property is an arbitrary key/value (build) property. | 132 // Property is an arbitrary key/value (build) property. |
| 133 message Property { | 133 message Property { |
| 134 // name is the property name. | 134 // name is the property name. |
| 135 string name = 1; | 135 string name = 1; |
| 136 // value is the optional property value. | 136 // value is the optional property value. |
| 137 string value = 2; | 137 string value = 2; |
| 138 } | 138 } |
| 139 repeated Property property = 24; | 139 repeated Property property = 24; |
| 140 | |
| 141 // Links to a recipe_engine.Manifest proto. | |
| 142 message ManifestLink { | |
| 143 // The fully qualified (logdog://) url of the Manifest proto. It's expected | |
| 144 // that this is a binary logdog stream consisting of exactly one Manifest | |
| 145 // proto. | |
| 146 string url = 1; | |
| 147 | |
| 148 // The hash of the Manifest. Milo will use this as an optimization; | |
|
Ryan Tseng
2017/07/19 00:29:38
"The hash of the content of the Manifest in binary
iannucci
2017/07/19 00:38:16
Done.
| |
| 149 // Manifests will be interned once into Milo's datastore. Future hashes | |
| 150 // which match will not be loaded from the url, but will be assumed to be | |
| 151 // identical. If the sha256 doesn't match the data at the URL, Milo may | |
| 152 // render this build with the wrong manifest. | |
| 153 string sha256 = 2; | |
| 154 } | |
| 155 | |
| 156 // Maps the name of the Manifest, e.g. UNPATCHED, INFRA, etc. to the | |
| 157 // ManifestLink. This name will be used in the milo console definition to | |
| 158 // indicate which manifest data to sort the console view by. | |
| 159 map<string, ManifestLink> source_manifests = 25; | |
| 140 } | 160 } |
| 141 | 161 |
| 142 // A Link is an optional label followed by a typed link to an external | 162 // A Link is an optional label followed by a typed link to an external |
| 143 // resource. | 163 // resource. |
| 144 message Link { | 164 message Link { |
| 145 // An optional display label for the link. | 165 // An optional display label for the link. |
| 146 string label = 1; | 166 string label = 1; |
| 147 // If present, this link is an alias for another link with this name, and | 167 // If present, this link is an alias for another link with this name, and |
| 148 // should be rendered in relation to that link. | 168 // should be rendered in relation to that link. |
| 149 string alias_label = 2; | 169 string alias_label = 2; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 189 | 209 |
| 190 // The quest name. | 210 // The quest name. |
| 191 string quest = 2; | 211 string quest = 2; |
| 192 | 212 |
| 193 // The attempt number. | 213 // The attempt number. |
| 194 int64 attempt = 3; | 214 int64 attempt = 3; |
| 195 | 215 |
| 196 // The execution number. | 216 // The execution number. |
| 197 int64 execution = 4; | 217 int64 execution = 4; |
| 198 } | 218 } |
| OLD | NEW |