cros_test_platform: add Pubsub topic field for TestRunner
BUG=chromium:1101104
TEST=./generate.sh
Change-Id: Ia80062e6d168a79794ed3785642a56616d433f66
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2289936
Reviewed-by: Alex Zamorzaev <zamorzaev@chromium.org>
Auto-Submit: Xinan Lin <linxinan@chromium.org>
Tested-by: Xinan Lin <linxinan@chromium.org>
Commit-Queue: Xinan Lin <linxinan@chromium.org>
diff --git a/go/test_platform/config/config.pb.go b/go/test_platform/config/config.pb.go
index 0c705a6..4ce6668 100644
--- a/go/test_platform/config/config.pb.go
+++ b/go/test_platform/config/config.pb.go
@@ -403,47 +403,6 @@
return ""
}
-// TestRunner defines configuration parameters related to the test_runner
-// recipe.
-type Config_TestRunner struct {
- Buildbucket *Config_Buildbucket `protobuf:"bytes,1,opt,name=buildbucket,proto3" json:"buildbucket,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Config_TestRunner) Reset() { *m = Config_TestRunner{} }
-func (m *Config_TestRunner) String() string { return proto.CompactTextString(m) }
-func (*Config_TestRunner) ProtoMessage() {}
-func (*Config_TestRunner) Descriptor() ([]byte, []int) {
- return fileDescriptor_2c858eded7d7f900, []int{0, 5}
-}
-
-func (m *Config_TestRunner) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Config_TestRunner.Unmarshal(m, b)
-}
-func (m *Config_TestRunner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Config_TestRunner.Marshal(b, m, deterministic)
-}
-func (m *Config_TestRunner) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Config_TestRunner.Merge(m, src)
-}
-func (m *Config_TestRunner) XXX_Size() int {
- return xxx_messageInfo_Config_TestRunner.Size(m)
-}
-func (m *Config_TestRunner) XXX_DiscardUnknown() {
- xxx_messageInfo_Config_TestRunner.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Config_TestRunner proto.InternalMessageInfo
-
-func (m *Config_TestRunner) GetBuildbucket() *Config_Buildbucket {
- if m != nil {
- return m.Buildbucket
- }
- return nil
-}
-
// PubSub defines the configuration parameters for PubSub topic.
type Config_PubSub struct {
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
@@ -457,7 +416,7 @@
func (m *Config_PubSub) String() string { return proto.CompactTextString(m) }
func (*Config_PubSub) ProtoMessage() {}
func (*Config_PubSub) Descriptor() ([]byte, []int) {
- return fileDescriptor_2c858eded7d7f900, []int{0, 6}
+ return fileDescriptor_2c858eded7d7f900, []int{0, 5}
}
func (m *Config_PubSub) XXX_Unmarshal(b []byte) error {
@@ -492,6 +451,56 @@
return ""
}
+// TestRunner defines configuration parameters related to the test_runner
+// recipe.
+type Config_TestRunner struct {
+ Buildbucket *Config_Buildbucket `protobuf:"bytes,1,opt,name=buildbucket,proto3" json:"buildbucket,omitempty"`
+ // The PubSub topic to which Buildbucket sends the update of test runner build.
+ Pubsub *Config_PubSub `protobuf:"bytes,2,opt,name=pubsub,proto3" json:"pubsub,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *Config_TestRunner) Reset() { *m = Config_TestRunner{} }
+func (m *Config_TestRunner) String() string { return proto.CompactTextString(m) }
+func (*Config_TestRunner) ProtoMessage() {}
+func (*Config_TestRunner) Descriptor() ([]byte, []int) {
+ return fileDescriptor_2c858eded7d7f900, []int{0, 6}
+}
+
+func (m *Config_TestRunner) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_Config_TestRunner.Unmarshal(m, b)
+}
+func (m *Config_TestRunner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_Config_TestRunner.Marshal(b, m, deterministic)
+}
+func (m *Config_TestRunner) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Config_TestRunner.Merge(m, src)
+}
+func (m *Config_TestRunner) XXX_Size() int {
+ return xxx_messageInfo_Config_TestRunner.Size(m)
+}
+func (m *Config_TestRunner) XXX_DiscardUnknown() {
+ xxx_messageInfo_Config_TestRunner.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Config_TestRunner proto.InternalMessageInfo
+
+func (m *Config_TestRunner) GetBuildbucket() *Config_Buildbucket {
+ if m != nil {
+ return m.Buildbucket
+ }
+ return nil
+}
+
+func (m *Config_TestRunner) GetPubsub() *Config_PubSub {
+ if m != nil {
+ return m.Pubsub
+ }
+ return nil
+}
+
func init() {
proto.RegisterType((*Config)(nil), "test_platform.config.Config")
proto.RegisterType((*Config_Swarming)(nil), "test_platform.config.Config.Swarming")
@@ -500,51 +509,51 @@
proto.RegisterType((*Config_Versioning)(nil), "test_platform.config.Config.Versioning")
proto.RegisterType((*Config_Versioning_CrosTestPlatformBinary)(nil), "test_platform.config.Config.Versioning.CrosTestPlatformBinary")
proto.RegisterType((*Config_Buildbucket)(nil), "test_platform.config.Config.Buildbucket")
- proto.RegisterType((*Config_TestRunner)(nil), "test_platform.config.Config.TestRunner")
proto.RegisterType((*Config_PubSub)(nil), "test_platform.config.Config.PubSub")
+ proto.RegisterType((*Config_TestRunner)(nil), "test_platform.config.Config.TestRunner")
}
func init() { proto.RegisterFile("test_platform/config/config.proto", fileDescriptor_2c858eded7d7f900) }
var fileDescriptor_2c858eded7d7f900 = []byte{
- // 611 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x61, 0x6b, 0xd4, 0x4c,
- 0x10, 0xe6, 0xda, 0x6b, 0xee, 0x32, 0x77, 0x6f, 0xdf, 0xb2, 0xd6, 0x12, 0x03, 0x42, 0xab, 0x15,
- 0x2b, 0x42, 0x22, 0xfa, 0x41, 0x41, 0x28, 0xd2, 0x0a, 0xd6, 0x53, 0xcb, 0xb1, 0x15, 0x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 0x09, 0xfa, 0xab, 0xde,
- 0xd9, 0xd0, 0xd2, 0xcb, 0xaf, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x09, 0xac, 0xb4, 0x86,
- 0x05, 0x00, 0x00,
+ // 617 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6b, 0xd4, 0x40,
+ 0x14, 0x25, 0xed, 0x36, 0xbb, 0x7b, 0x77, 0xad, 0x65, 0xac, 0x25, 0x06, 0x84, 0x56, 0x2b, 0x56,
+ 0x84, 0x44, 0xf4, 0x41, 0x41, 0x28, 0xd2, 0x0a, 0xd6, 0x55, 0xcb, 0x32, 0x15, 0x05, 0x5f, 0x86,
+ 0x24, 0x4d, 0xb3, 0xd3, 0x26, 0xb9, 0x61, 0x66, 0xd2, 0xb2, 0xff, 0xc1, 0x57, 0xff, 0x8f, 0x3f,
+ 0x4d, 0x32, 0x99, 0xec, 0x66, 0x75, 0x59, 0xea, 0x53, 0x72, 0xce, 0xdc, 0x73, 0x66, 0xee, 0xc7,
+ 0x0c, 0xec, 0xa9, 0x58, 0x2a, 0x56, 0xa4, 0x81, 0xba, 0x40, 0x91, 0xf9, 0x11, 0xe6, 0x17, 0x3c,
+ 0x31, 0x1f, 0xaf, 0x10, 0xa8, 0x90, 0x6c, 0x2f, 0x84, 0x78, 0xf5, 0x9a, 0xfb, 0x62, 0x51, 0x98,
+ 0xf1, 0x44, 0x04, 0x8a, 0x63, 0xee, 0x6b, 0x5e, 0x94, 0x79, 0x1e, 0x8b, 0x05, 0x9f, 0x47, 0x3f,
+ 0x01, 0xec, 0x63, 0x4d, 0x90, 0x53, 0xb8, 0x2b, 0xaf, 0xa6, 0x69, 0x10, 0x32, 0x79, 0x13, 0x88,
+ 0x8c, 0xe7, 0x89, 0x63, 0xed, 0x5a, 0x07, 0x83, 0x97, 0x4f, 0xbc, 0x65, 0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+ 0x5a, 0x74, 0xdd, 0x86, 0x0d, 0x85, 0x05, 0x8f, 0xcc, 0x6e, 0x35, 0x70, 0x7f, 0x59, 0x00, 0xf3,
+ 0xa1, 0x27, 0x23, 0x18, 0x84, 0xf3, 0x73, 0x9b, 0xea, 0x1e, 0xac, 0xac, 0x6e, 0x2b, 0x4f, 0xda,
+ 0x16, 0xb7, 0x66, 0x7a, 0xed, 0xbf, 0x67, 0x7a, 0xd4, 0xe9, 0xad, 0x6d, 0xad, 0x8f, 0x3a, 0xbd,
+ 0x8d, 0x2d, 0x7b, 0xd4, 0xe9, 0xd9, 0x5b, 0xdd, 0xa3, 0x77, 0x3f, 0x0e, 0x13, 0xf4, 0xa2, 0x89,
+ 0xc0, 0x8c, 0x97, 0x99, 0x87, 0x22, 0xf1, 0x1b, 0x80, 0xd2, 0xe7, 0xf9, 0x85, 0x08, 0x7c, 0xfd,
+ 0x70, 0xfa, 0x09, 0xfa, 0xcb, 0x5e, 0xe9, 0xd0, 0xd6, 0xcb, 0xaf, 0xfe, 0x04, 0x00, 0x00, 0xff,
+ 0xff, 0x65, 0x72, 0x7f, 0x06, 0xc4, 0x05, 0x00, 0x00,
}
diff --git a/src/test_platform/config/config.proto b/src/test_platform/config/config.proto
index eb37208..6ae8885 100644
--- a/src/test_platform/config/config.proto
+++ b/src/test_platform/config/config.proto
@@ -62,16 +62,18 @@
string builder = 4;
}
+ // PubSub defines the configuration parameters for PubSub topic.
+ message PubSub {
+ string project = 1;
+ string topic = 2;
+ }
+
// TestRunner defines configuration parameters related to the test_runner
// recipe.
message TestRunner {
Buildbucket buildbucket = 1;
- }
-
- // PubSub defines the configuration parameters for PubSub topic.
- message PubSub {
- string project = 1;
- string topic = 2;
+ // The PubSub topic to which Buildbucket sends the update of test runner build.
+ PubSub pubsub = 2;
}
Swarming skylab_swarming = 1;