remote_test_driver: temporarily drop chromiumos/config dep
This dependency makes it impossible to run compile_build_api_proto
inside the chromite api dir, since there's no binding in there
currently for the chromiumos/config proto repo.
BUG=1151028
TEST=generate
Change-Id: Ie2728332a5a937da3c5d8df05192e6981fd5bd9e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2611790
Auto-Submit: Sean Abraham <seanabraham@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@google.com>
Commit-Queue: Prathmesh Prabhu <pprabhu@google.com>
diff --git a/go/chromite/api/remote_test_driver.pb.go b/go/chromite/api/remote_test_driver.pb.go
index 7878723..5c215bd 100644
--- a/go/chromite/api/remote_test_driver.pb.go
+++ b/go/chromite/api/remote_test_driver.pb.go
@@ -7,7 +7,6 @@
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
- v1 "go.chromium.org/chromiumos/config/go/api/test/metadata/v1"
chromiumos "go.chromium.org/chromiumos/infra/proto/go/chromiumos"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
@@ -119,12 +118,10 @@
// the Remote Test Driver. This folder will contain a Dockerfile in addition
// to test harness(es) and content. It will be such that `gcloud builds
// submit` can be invoked in the directory.
- BuildContext *chromiumos.Path `protobuf:"bytes,1,opt,name=build_context,json=buildContext,proto3" json:"build_context,omitempty"`
- // Metadata about the RTD.
- Specifications []*v1.Specification `protobuf:"bytes,2,rep,name=specifications,proto3" json:"specifications,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ BuildContext *chromiumos.Path `protobuf:"bytes,1,opt,name=build_context,json=buildContext,proto3" json:"build_context,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *RemoteTestDriver) Reset() { *m = RemoteTestDriver{} }
@@ -159,13 +156,6 @@
return nil
}
-func (m *RemoteTestDriver) GetSpecifications() []*v1.Specification {
- if m != nil {
- return m.Specifications
- }
- return nil
-}
-
func init() {
proto.RegisterType((*AssembleRequest)(nil), "chromite.api.AssembleRequest")
proto.RegisterType((*AssembleResponse)(nil), "chromite.api.AssembleResponse")
@@ -177,32 +167,28 @@
}
var fileDescriptor_5784d7f92f93aadf = []byte{
- // 394 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0xca, 0xd3, 0x40,
- 0x14, 0xc5, 0xc9, 0x27, 0x7c, 0xe8, 0xb4, 0x6a, 0x1c, 0xa1, 0x0d, 0x41, 0x4b, 0x29, 0x08, 0xc5,
- 0xc5, 0x0c, 0xad, 0x44, 0xdc, 0x6a, 0xbb, 0x71, 0x23, 0x92, 0xba, 0x12, 0x24, 0x4c, 0x92, 0xdb,
- 0x74, 0xa0, 0xc9, 0xc4, 0x99, 0x9b, 0xe0, 0xd2, 0xc7, 0xf1, 0x39, 0x7c, 0x1f, 0xdf, 0x41, 0x3a,
- 0xd3, 0x3f, 0x69, 0xca, 0xb7, 0x0b, 0x73, 0x7e, 0x67, 0xe6, 0xdc, 0x93, 0x4b, 0xde, 0x64, 0x3b,
- 0xad, 0x4a, 0x89, 0xc0, 0x45, 0x2d, 0xb9, 0x86, 0x52, 0x21, 0x24, 0x08, 0x06, 0x93, 0x5c, 0xcb,
- 0x16, 0x34, 0xab, 0xb5, 0x42, 0x45, 0x87, 0x27, 0x8c, 0x89, 0x5a, 0x86, 0xaf, 0xae, 0x4c, 0x69,
- 0x23, 0xf7, 0x79, 0x22, 0x6a, 0xe9, 0xd8, 0x70, 0xec, 0xd4, 0xa6, 0x54, 0x86, 0x67, 0xaa, 0x2c,
- 0x55, 0x75, 0x14, 0xa2, 0x2b, 0xa1, 0xda, 0xca, 0xc2, 0xfa, 0x0f, 0xaf, 0xf1, 0x12, 0x50, 0xe4,
- 0x02, 0x05, 0x6f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, 0x0f, 0x5b,
+ 0xf0, 0xbd, 0x9b, 0xab, 0xc7, 0xcb, 0x0c, 0xbf, 0x6d, 0x0a, 0xd4, 0x99, 0xac, 0x9d, 0x54, 0x15,
+ 0x4f, 0x3a, 0x96, 0xf6, 0xa2, 0x32, 0x43, 0x59, 0x7f, 0x0a, 0x49, 0xcb, 0x8e, 0x2f, 0x3e, 0x02,
+ 0x00, 0x00, 0xff, 0xff, 0xb9, 0xb1, 0x19, 0x2d, 0x56, 0x02, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/src/chromite/api/remote_test_driver.proto b/src/chromite/api/remote_test_driver.proto
index 454435f..d5257d6 100644
--- a/src/chromite/api/remote_test_driver.proto
+++ b/src/chromite/api/remote_test_driver.proto
@@ -6,7 +6,8 @@
import "chromite/api/build_api.proto";
import "chromiumos/common.proto";
-import "chromiumos/config/api/test/metadata/v1/metadata.proto";
+// TODO(https://crbug.com/1151028): fix dependency for chromite protoc
+// import "chromiumos/config/api/test/metadata/v1/metadata.proto";
message AssembleRequest {
// The chroot used to execute the endpoint.
@@ -27,7 +28,8 @@
// submit` can be invoked in the directory.
chromiumos.Path build_context = 1;
// Metadata about the RTD.
- repeated chromiumos.config.api.test.metadata.v1.Specification specifications = 2;
+ // TODO(https://crbug.com/1151028): fix dependency for chromite protoc
+ // repeated chromiumos.config.api.test.metadata.v1.Specification specifications = 2;
}
service RemoteTestDriverService {