[resultdb] Update luci-go proto
Bug: 62282
Change-Id: I7f95b61cee61eef66e98213f579b149d687966b2
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/luci-go/+/453496
Reviewed-by: Marc-Antoine Ruel <maruel@google.com>
diff --git a/resultdb/sink/proto/v1/sink.proto b/resultdb/sink/proto/v1/sink.proto
index d446f00..9530eab 100644
--- a/resultdb/sink/proto/v1/sink.proto
+++ b/resultdb/sink/proto/v1/sink.proto
@@ -16,6 +16,7 @@
package luci.resultsink.v1;
+import "google/protobuf/empty.proto";
import "resultdb/sink/proto/v1/test_result.proto";
option go_package = "go.chromium.org/luci/resultdb/sink/proto/v1;sinkpb";
@@ -33,6 +34,11 @@
// Reports test results.
rpc ReportTestResults(ReportTestResultsRequest)
returns (ReportTestResultsResponse) {};
+
+ // Reports invocation-level artifacts.
+ // To upload result-level artifact, use ReportTestResults instead.
+ rpc ReportInvocationLevelArtifacts(ReportInvocationLevelArtifactsRequest)
+ returns (google.protobuf.Empty) {};
}
message ReportTestResultsRequest {
@@ -42,6 +48,12 @@
message ReportTestResultsResponse {
// List of unique identifiers that can be used to link to these results
- // or requested via luci.resultdb.rpc.v1.ResultDB service.
+ // or requested via luci.resultdb.v1.ResultDB service.
repeated string test_result_names = 1;
-}
\ No newline at end of file
+}
+
+message ReportInvocationLevelArtifactsRequest {
+ // Invocation-level artifacts to report.
+ // The map key is an artifact id.
+ map<string, Artifact> artifacts = 1;
+}