test_platform: Add build ID to execute request
BUG=chromium:1094178
TEST=./generate.sh
Change-Id: I781bad1ab22567d240bbfc0c72d0d2ab52009882
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2271133
Tested-by: Alex Zamorzaev <zamorzaev@chromium.org>
Auto-Submit: Alex Zamorzaev <zamorzaev@chromium.org>
Reviewed-by: Sean Abraham <seanabraham@chromium.org>
Commit-Queue: Alex Zamorzaev <zamorzaev@chromium.org>
diff --git a/go/test_platform/steps/execute/build.pb.go b/go/test_platform/steps/execute/build.pb.go
index ba76703..46456b3 100644
--- a/go/test_platform/steps/execute/build.pb.go
+++ b/go/test_platform/steps/execute/build.pb.go
@@ -25,6 +25,7 @@
// https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/build.proto
type Build struct {
CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
+ Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -62,6 +63,13 @@
return nil
}
+func (m *Build) GetId() int64 {
+ if m != nil {
+ return m.Id
+ }
+ return 0
+}
+
func init() {
proto.RegisterType((*Build)(nil), "test_platform.steps.execute.Build")
}
@@ -71,17 +79,18 @@
}
var fileDescriptor_3bfb5ba3da11fbc5 = []byte{
- // 186 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xcf, 0xb1, 0x6e, 0xc2, 0x30,
- 0x10, 0x80, 0x61, 0x65, 0x68, 0x07, 0x67, 0xcb, 0x54, 0xa5, 0x43, 0xab, 0x2e, 0x65, 0xba, 0x93,
- 0x60, 0x64, 0x8b, 0x40, 0xec, 0x88, 0x89, 0x25, 0x72, 0xc2, 0xc5, 0x58, 0x8a, 0x39, 0xc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, 0xdc, 0x4b, 0x27, 0x97, 0x92, 0xb6, 0xd7, 0x18, 0x68, 0xbc, 0x90, 0x5c,
+ 0xc0, 0x8f, 0x2f, 0x6d, 0xec, 0xe0, 0xf2, 0xc6, 0x84, 0xdf, 0xff, 0xb8, 0x53, 0xcf, 0x42, 0x51,
+ 0x06, 0xbf, 0x6a, 0x59, 0x38, 0x38, 0x8c, 0x42, 0x3e, 0x22, 0xfd, 0xd0, 0x94, 0x84, 0x70, 0x4c,
+ 0x76, 0x9d, 0xc1, 0x07, 0x16, 0xae, 0x1e, 0xfe, 0x41, 0xd8, 0x21, 0xfc, 0xc1, 0xcb, 0xa3, 0x61,
+ 0x36, 0x2b, 0xe1, 0x4e, 0xc7, 0xb4, 0xa0, 0x58, 0x47, 0x51, 0xb4, 0xf3, 0xb9, 0x7e, 0xea, 0xd5,
+ 0x6d, 0xbb, 0x0d, 0xab, 0xde, 0xd4, 0x69, 0x0a, 0xa4, 0x85, 0x86, 0x8d, 0x9c, 0x8b, 0xba, 0x68,
+ 0x4e, 0x2f, 0x17, 0xc8, 0x3d, 0x1c, 0x3d, 0xf4, 0x47, 0xdf, 0xa9, 0xcc, 0xb7, 0x8f, 0xea, 0x5e,
+ 0x95, 0x76, 0x3e, 0x97, 0x75, 0xd1, 0xdc, 0x74, 0xa5, 0x9d, 0xdb, 0x8f, 0xcf, 0x77, 0xc3, 0x30,
+ 0x7d, 0x05, 0x76, 0x36, 0x39, 0xe0, 0x60, 0xf0, 0x78, 0x70, 0x44, 0xfb, 0xbd, 0x04, 0x9d, 0x57,
+ 0x42, 0xc3, 0x78, 0xe5, 0xd0, 0xf1, 0x6e, 0x57, 0xaf, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x97,
+ 0x95, 0x69, 0x50, 0x0e, 0x01, 0x00, 0x00,
}
diff --git a/src/test_platform/steps/execute/build.proto b/src/test_platform/steps/execute/build.proto
index 73c27e9..8b75840 100644
--- a/src/test_platform/steps/execute/build.proto
+++ b/src/test_platform/steps/execute/build.proto
@@ -14,4 +14,6 @@
// https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/build.proto
message Build {
google.protobuf.Timestamp create_time = 1;
+
+ int64 id = 2;
}
\ No newline at end of file