add pushimage proto to build api proto

Fields deduced from https://chromium.googlesource.com/chromiumos/chromite/+/refs/heads/master/scripts/pushimage.py
and https://chromium.googlesource.com/chromiumos/chromite/+/refs/heads/master/cbuildbot/commands.py#2679

BUG=b:174516238
TEST=./generate.py

Cq-Depend: chromium:2567387
Change-Id: I145f442dd74b8bb2857cfa2b4accb43a297a5db1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2567717
Reviewed-by: Alex Klein <saklein@chromium.org>
Reviewed-by: George Engelbrecht <engeg@google.com>
Commit-Queue: Jack Neus <jackneus@google.com>
diff --git a/go/chromite/api/image.pb.go b/go/chromite/api/image.pb.go
index b7d5cbe..92db8c4 100644
--- a/go/chromite/api/image.pb.go
+++ b/go/chromite/api/image.pb.go
@@ -404,6 +404,127 @@
 	return false
 }
 
+// Request artifacts to be pushed from the archive bucket to the release bucket,
+// using chromite/scripts/pushimage.py.
+type PushImageRequest struct {
+	// The chroot used to execute the endpoint.
+	Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"`
+	// Whether or not this push image request is a dry run.
+	Dryrun bool `protobuf:"varint,2,opt,name=dryrun,proto3" json:"dryrun,omitempty"`
+	// GS path of source artifacts to push to the release bucket.
+	GsImageDir string `protobuf:"bytes,3,opt,name=gs_image_dir,json=gsImageDir,proto3" json:"gs_image_dir,omitempty"`
+	// Sysroot (board) to generate symbols for.
+	Sysroot *Sysroot `protobuf:"bytes,4,opt,name=sysroot,proto3" json:"sysroot,omitempty"`
+	// Board profile in use (e.g. "asan").
+	// If set, the pushimage script will look for artifacts with this profile
+	// in their name.
+	Profile *chromiumos.Profile `protobuf:"bytes,5,opt,name=profile,proto3" json:"profile,omitempty"`
+	// If set, only sign specified image types.
+	SignTypes            []chromiumos.ImageType `protobuf:"varint,6,rep,packed,name=sign_types,json=signTypes,proto3,enum=chromiumos.ImageType" json:"sign_types,omitempty"`
+	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
+	XXX_unrecognized     []byte                 `json:"-"`
+	XXX_sizecache        int32                  `json:"-"`
+}
+
+func (m *PushImageRequest) Reset()         { *m = PushImageRequest{} }
+func (m *PushImageRequest) String() string { return proto.CompactTextString(m) }
+func (*PushImageRequest) ProtoMessage()    {}
+func (*PushImageRequest) Descriptor() ([]byte, []int) {
+	return fileDescriptor_abef4ffabc69f3ed, []int{5}
+}
+
+func (m *PushImageRequest) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_PushImageRequest.Unmarshal(m, b)
+}
+func (m *PushImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_PushImageRequest.Marshal(b, m, deterministic)
+}
+func (m *PushImageRequest) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_PushImageRequest.Merge(m, src)
+}
+func (m *PushImageRequest) XXX_Size() int {
+	return xxx_messageInfo_PushImageRequest.Size(m)
+}
+func (m *PushImageRequest) XXX_DiscardUnknown() {
+	xxx_messageInfo_PushImageRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_PushImageRequest proto.InternalMessageInfo
+
+func (m *PushImageRequest) GetChroot() *chromiumos.Chroot {
+	if m != nil {
+		return m.Chroot
+	}
+	return nil
+}
+
+func (m *PushImageRequest) GetDryrun() bool {
+	if m != nil {
+		return m.Dryrun
+	}
+	return false
+}
+
+func (m *PushImageRequest) GetGsImageDir() string {
+	if m != nil {
+		return m.GsImageDir
+	}
+	return ""
+}
+
+func (m *PushImageRequest) GetSysroot() *Sysroot {
+	if m != nil {
+		return m.Sysroot
+	}
+	return nil
+}
+
+func (m *PushImageRequest) GetProfile() *chromiumos.Profile {
+	if m != nil {
+		return m.Profile
+	}
+	return nil
+}
+
+func (m *PushImageRequest) GetSignTypes() []chromiumos.ImageType {
+	if m != nil {
+		return m.SignTypes
+	}
+	return nil
+}
+
+// Response from pushimage script.
+type PushImageResponse struct {
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *PushImageResponse) Reset()         { *m = PushImageResponse{} }
+func (m *PushImageResponse) String() string { return proto.CompactTextString(m) }
+func (*PushImageResponse) ProtoMessage()    {}
+func (*PushImageResponse) Descriptor() ([]byte, []int) {
+	return fileDescriptor_abef4ffabc69f3ed, []int{6}
+}
+
+func (m *PushImageResponse) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_PushImageResponse.Unmarshal(m, b)
+}
+func (m *PushImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_PushImageResponse.Marshal(b, m, deterministic)
+}
+func (m *PushImageResponse) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_PushImageResponse.Merge(m, src)
+}
+func (m *PushImageResponse) XXX_Size() int {
+	return xxx_messageInfo_PushImageResponse.Size(m)
+}
+func (m *PushImageResponse) XXX_DiscardUnknown() {
+	xxx_messageInfo_PushImageResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_PushImageResponse proto.InternalMessageInfo
+
 func init() {
 	proto.RegisterType((*Image)(nil), "chromite.api.Image")
 	proto.RegisterType((*CreateImageRequest)(nil), "chromite.api.CreateImageRequest")
@@ -411,51 +532,61 @@
 	proto.RegisterType((*TestImageRequest)(nil), "chromite.api.TestImageRequest")
 	proto.RegisterType((*TestImageRequest_Result)(nil), "chromite.api.TestImageRequest.Result")
 	proto.RegisterType((*TestImageResult)(nil), "chromite.api.TestImageResult")
+	proto.RegisterType((*PushImageRequest)(nil), "chromite.api.PushImageRequest")
+	proto.RegisterType((*PushImageResponse)(nil), "chromite.api.PushImageResponse")
 }
 
 func init() { proto.RegisterFile("chromite/api/image.proto", fileDescriptor_abef4ffabc69f3ed) }
 
 var fileDescriptor_abef4ffabc69f3ed = []byte{
-	// 612 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 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, 0xb8, 0xfa, 0x0f, 0xc5, 0xfc, 0x5b,
-	0x9f, 0xbf, 0xf9, 0x2b, 0xd6, 0x1c, 0x1b, 0xce, 0xc1, 0xf3, 0xf7, 0xfb, 0x89, 0xfc, 0xa9, 0x7a,
-	0x20, 0x55, 0x12, 0xd6, 0x9e, 0x44, 0x91, 0x8d, 0x14, 0x0b, 0xf1, 0x41, 0x0c, 0x13, 0x19, 0xd6,
-	0xdf, 0xd8, 0x81, 0x8b, 0xe1, 0x67, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x79, 0xed, 0x5a, 0xdd,
-	0xa2, 0x05, 0x00, 0x00,
+	// 749 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x6e, 0xdb, 0x46,
+	0x10, 0x06, 0x65, 0x99, 0xb2, 0x46, 0xaa, 0x7f, 0xd6, 0x70, 0xcd, 0xb2, 0x6e, 0xad, 0x0a, 0x68,
+	0x61, 0xd7, 0xa8, 0x08, 0xa8, 0x85, 0x51, 0x14, 0x68, 0x10, 0xd8, 0xf1, 0xc1, 0xb0, 0x03, 0x18,
+	0x6b, 0x23, 0x87, 0x5c, 0x08, 0x8a, 0x5a, 0xd1, 0x0b, 0x4b, 0x5c, 0x66, 0x77, 0x29, 0x40, 0xd7,
+	0x9c, 0x83, 0x3c, 0x54, 0xce, 0xc9, 0x25, 0xef, 0x91, 0x77, 0x08, 0x38, 0x5c, 0x59, 0xa4, 0x14,
+	0xcb, 0x09, 0x90, 0x1b, 0x77, 0xbe, 0x6f, 0x66, 0x67, 0xbe, 0x99, 0xe1, 0x82, 0x13, 0xde, 0x4a,
+	0x31, 0xe2, 0x9a, 0x79, 0x41, 0xc2, 0x3d, 0x3e, 0x0a, 0x22, 0xd6, 0x49, 0xa4, 0xd0, 0x82, 0x34,
+	0xa7, 0x48, 0x27, 0x48, 0xb8, 0xbb, 0x57, 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0x91, 0x5f, 0x97, 0xcf, 0x8e, 0xfb, 0xcb, 0x83, 0x38, 0x86, 0xb9,
+	0x00, 0xb8, 0xe6, 0x51, 0xcc, 0xe4, 0xf7, 0x08, 0x76, 0x09, 0xf5, 0x7b, 0x19, 0xe6, 0x63, 0xcd,
+	0xcf, 0xcb, 0x7c, 0x85, 0x0b, 0xfa, 0xb9, 0x3f, 0xbc, 0xfb, 0xe4, 0xd6, 0xcd, 0x42, 0x6e, 0x5a,
+	0x27, 0xff, 0xbe, 0x3c, 0x8e, 0xc4, 0x7d, 0x27, 0x3a, 0x42, 0x46, 0x5e, 0xe1, 0x19, 0xe2, 0xf1,
+	0x40, 0x06, 0x1e, 0x3e, 0x42, 0x5e, 0x24, 0xbc, 0xe2, 0xab, 0xd6, 0xb3, 0xd1, 0xfc, 0xf7, 0xe7,
+	0x00, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x36, 0xb8, 0x19, 0x32, 0x07, 0x00, 0x00,
 }
 
 // Reference imports to suppress errors if they are not otherwise used.
@@ -492,6 +623,19 @@
 	//  "result": {"directory": "/tmp/image_test_results"}
 	// }
 	SignerTest(ctx context.Context, in *TestImageRequest, opts ...grpc.CallOption) (*TestImageResult, error)
+	// Execute PushImage for a script.
+	// Example json:
+	// {
+	//   "dryrun": true,
+	//   "gs_image_dir": "gs://chromeos-image-archive/atlas-release/R89-13604.0.0",
+	//   "sysroot": {
+	//       "build_target": {
+	//           "name": "atlas"
+	//       }
+	//   },
+	//   "sign_types": [1, 6]
+	// }
+	PushImage(ctx context.Context, in *PushImageRequest, opts ...grpc.CallOption) (*PushImageResponse, error)
 }
 
 type imageServiceClient struct {
@@ -529,6 +673,15 @@
 	return out, nil
 }
 
+func (c *imageServiceClient) PushImage(ctx context.Context, in *PushImageRequest, opts ...grpc.CallOption) (*PushImageResponse, error) {
+	out := new(PushImageResponse)
+	err := c.cc.Invoke(ctx, "/chromite.api.ImageService/PushImage", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 // ImageServiceServer is the server API for ImageService service.
 type ImageServiceServer interface {
 	// Build an image.
@@ -553,6 +706,19 @@
 	//  "result": {"directory": "/tmp/image_test_results"}
 	// }
 	SignerTest(context.Context, *TestImageRequest) (*TestImageResult, error)
+	// Execute PushImage for a script.
+	// Example json:
+	// {
+	//   "dryrun": true,
+	//   "gs_image_dir": "gs://chromeos-image-archive/atlas-release/R89-13604.0.0",
+	//   "sysroot": {
+	//       "build_target": {
+	//           "name": "atlas"
+	//       }
+	//   },
+	//   "sign_types": [1, 6]
+	// }
+	PushImage(context.Context, *PushImageRequest) (*PushImageResponse, error)
 }
 
 // UnimplementedImageServiceServer can be embedded to have forward compatible implementations.
@@ -568,6 +734,9 @@
 func (*UnimplementedImageServiceServer) SignerTest(ctx context.Context, req *TestImageRequest) (*TestImageResult, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method SignerTest not implemented")
 }
+func (*UnimplementedImageServiceServer) PushImage(ctx context.Context, req *PushImageRequest) (*PushImageResponse, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method PushImage not implemented")
+}
 
 func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer) {
 	s.RegisterService(&_ImageService_serviceDesc, srv)
@@ -627,6 +796,24 @@
 	return interceptor(ctx, in, info, handler)
 }
 
+func _ImageService_PushImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(PushImageRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(ImageServiceServer).PushImage(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/chromite.api.ImageService/PushImage",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(ImageServiceServer).PushImage(ctx, req.(*PushImageRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 var _ImageService_serviceDesc = grpc.ServiceDesc{
 	ServiceName: "chromite.api.ImageService",
 	HandlerType: (*ImageServiceServer)(nil),
@@ -643,6 +830,10 @@
 			MethodName: "SignerTest",
 			Handler:    _ImageService_SignerTest_Handler,
 		},
+		{
+			MethodName: "PushImage",
+			Handler:    _ImageService_PushImage_Handler,
+		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "chromite/api/image.proto",
diff --git a/src/chromite/api/image.proto b/src/chromite/api/image.proto
index b0747ec..23493fc 100644
--- a/src/chromite/api/image.proto
+++ b/src/chromite/api/image.proto
@@ -5,6 +5,7 @@
 option go_package = "go.chromium.org/chromiumos/infra/proto/go/chromite/api";
 
 import "chromite/api/build_api.proto";
+import "chromite/api/sysroot.proto";
 import "chromiumos/common.proto";
 import "chromiumos/metrics.proto";
 
@@ -80,6 +81,34 @@
   bool success = 1;
 }
 
+// Request artifacts to be pushed from the archive bucket to the release bucket,
+// using chromite/scripts/pushimage.py.
+message PushImageRequest {
+  // The chroot used to execute the endpoint.
+  chromiumos.Chroot chroot = 1;
+
+  // Whether or not this push image request is a dry run.
+  bool dryrun = 2;
+
+  // GS path of source artifacts to push to the release bucket.
+  string gs_image_dir = 3;
+
+  // Sysroot (board) to generate symbols for.
+  chromite.api.Sysroot sysroot = 4;
+
+  // Board profile in use (e.g. "asan").
+  // If set, the pushimage script will look for artifacts with this profile
+  // in their name.
+  chromiumos.Profile profile = 5;
+
+  // If set, only sign specified image types.
+  repeated chromiumos.ImageType sign_types = 6;
+}
+
+// Response from pushimage script.
+message PushImageResponse {
+}
+
 // The image service.
 service ImageService {
   option (service_options) = {
@@ -111,4 +140,18 @@
   //  "result": {"directory": "/tmp/image_test_results"}
   // }
   rpc SignerTest(TestImageRequest) returns (TestImageResult);
+
+  // Execute PushImage for a script.
+  // Example json:
+  // {
+  //   "dryrun": true,
+  //   "gs_image_dir": "gs://chromeos-image-archive/atlas-release/R89-13604.0.0",
+  //   "sysroot": {
+  //       "build_target": {
+  //           "name": "atlas"
+  //       }
+  //   },
+  //   "sign_types": [1, 6]
+  // }
+  rpc PushImage(PushImageRequest) returns (PushImageResponse);
 }