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

Side by Side Diff: recipe_engine/arguments.proto

Issue 2265673002: Add LogDog / annotation protobuf support. (Closed) Base URL: https://github.com/luci/recipes-py@step-formal-struct
Patch Set: Stronger flush meta logic, moar test. Created 4 years, 2 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 | recipe_engine/arguments_pb2.py » ('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 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 = "proto3"; 5 syntax = "proto3";
6 6
7 package recipe_engine; 7 package recipe_engine;
8 8
9 // Arguments is a protobuf that can be supplied to the recipe engine through its 9 // Arguments is a protobuf that can be supplied to the recipe engine through its
10 // "--operational-args-path" command-line parameter in JSONPB format. 10 // "--operational-args-path" command-line parameter in JSONPB format.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 message AnnotationFlags { 57 message AnnotationFlags {
58 // If true, emit CURRENT_TIMESTAMP annotations. 58 // If true, emit CURRENT_TIMESTAMP annotations.
59 bool emit_timestamp = 1; 59 bool emit_timestamp = 1;
60 60
61 // If true, emit all input properties as annotations at the beginning of 61 // If true, emit all input properties as annotations at the beginning of
62 // recipe engine execution. 62 // recipe engine execution.
63 bool emit_initial_properties = 2; 63 bool emit_initial_properties = 2;
64 } 64 }
65 // Annotation control flags. 65 // Annotation control flags.
66 AnnotationFlags annotation_flags = 2; 66 AnnotationFlags annotation_flags = 2;
67
68 // LogDog flags.
69 //
70 // If the "streamserver_uri" is provided, recipe output will be forwarded
71 // through LogDog streams using Milo's Annotation Protobuf instead of
72 // STDOUT/STDERR and classic @@@annotations@@@.
73 message LogDogFlags {
74 // The LogDog streamserver URI.
75 string streamserver_uri = 1;
76
77 // The log stream base name. If provided, generated stream names will be
78 // prefixed with "<name_base>/". This must be a valid LogDog stream name.
79 string name_base = 2;
80
81 // If true, tee output through STDOUT/STDERR using inline @@@annotation@@@
82 // markers in addition to LogDog streaming.
83 bool tee = 3;
84 }
85 LogDogFlags logdog = 3;
67 } 86 }
OLDNEW
« no previous file with comments | « no previous file | recipe_engine/arguments_pb2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698