aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf/dash.proto
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2015-07-07 15:44:07 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-07-07 16:33:24 +0000
commitc9f87565db0d0b9d12b05d568e67527af06f7d54 (patch)
treee086011b264f6150a294ad51afd84f5b89a5bd5c /src/main/protobuf/dash.proto
parent67eb5365ba04cc6724a1e2e45df4ff95b6f05c53 (diff)
Basic dashboard for build results
-- MOS_MIGRATED_REVID=97675174
Diffstat (limited to 'src/main/protobuf/dash.proto')
-rw-r--r--src/main/protobuf/dash.proto59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/main/protobuf/dash.proto b/src/main/protobuf/dash.proto
new file mode 100644
index 0000000000..c4c394485f
--- /dev/null
+++ b/src/main/protobuf/dash.proto
@@ -0,0 +1,59 @@
+// Copyright 2015 Google Inc. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto2";
+
+package dash;
+
+option java_package = "com.google.devtools.build.lib.bazel.dash";
+option java_outer_classname = "DashProtos";
+
+message BuildData {
+ optional string build_id = 1;
+ optional string command_name = 2;
+ optional string working_dir = 3;
+
+ message CommandLine {
+ message Option {
+ optional string name = 1;
+ repeated string value = 2;
+ optional string source = 3;
+ }
+ repeated Option startup_options = 1;
+ repeated Option options = 2;
+ repeated string residue = 3;
+ }
+ optional CommandLine command_line = 4;
+
+ message EnvironmentVar {
+ optional string name = 1;
+ optional string value = 2;
+ }
+ repeated EnvironmentVar client_env = 5;
+
+ message Target {
+ optional string label = 1;
+ optional string rule_kind = 2;
+ }
+ repeated Target targets = 6;
+
+ message TestData {
+ optional string label = 2;
+ optional bool passed = 3;
+ optional bytes log = 4;
+ // Log is truncated after 1MB.
+ optional bool truncated = 5;
+ }
+ repeated TestData test_data = 7;
+}