Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: common/proto/milo/annotations.proto

Issue 2979283002: Add manifest links and hack to index on revision. (Closed)
Patch Set: actually upload Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | common/proto/milo/annotations.pb.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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's raw binary form (i.e. the bytes at the end of
149 // `url`, without any interpretation or decoding). Milo will use this as an
150 // optimization; Manifests will be interned once into Milo's datastore.
151 // Future hashes which match will not be loaded from the url, but will be
152 // assumed to be identical. If the sha256 doesn't match the data at the URL,
153 // Milo may render this build with the wrong manifest.
154 string sha256 = 2;
155 }
156
157 // Maps the name of the Manifest, e.g. UNPATCHED, INFRA, etc. to the
158 // ManifestLink. This name will be used in the milo console definition to
159 // indicate which manifest data to sort the console view by.
160 map<string, ManifestLink> source_manifests = 25;
140 } 161 }
141 162
142 // A Link is an optional label followed by a typed link to an external 163 // A Link is an optional label followed by a typed link to an external
143 // resource. 164 // resource.
144 message Link { 165 message Link {
145 // An optional display label for the link. 166 // An optional display label for the link.
146 string label = 1; 167 string label = 1;
147 // If present, this link is an alias for another link with this name, and 168 // If present, this link is an alias for another link with this name, and
148 // should be rendered in relation to that link. 169 // should be rendered in relation to that link.
149 string alias_label = 2; 170 string alias_label = 2;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 210
190 // The quest name. 211 // The quest name.
191 string quest = 2; 212 string quest = 2;
192 213
193 // The attempt number. 214 // The attempt number.
194 int64 attempt = 3; 215 int64 attempt = 3;
195 216
196 // The execution number. 217 // The execution number.
197 int64 execution = 4; 218 int64 execution = 4;
198 } 219 }
OLDNEW
« no previous file with comments | « no previous file | common/proto/milo/annotations.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698