Skip to content

Commit

Permalink
Merge pull request #789 from henry118/fix
Browse files Browse the repository at this point in the history
regenerate protobuf with the right protoc compiler version
  • Loading branch information
henry118 authored May 23, 2024
2 parents 73f17ac + 12ccf1c commit 9bad4be
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ require (
github.com/containernetworking/plugins v1.4.0
github.com/firecracker-microvm/firecracker-go-sdk v0.22.1-0.20220427214706-47505a9cf951
github.com/gofrs/uuid v3.3.0+incompatible
github.com/golang/protobuf v1.5.4
github.com/hashicorp/go-multierror v1.1.1
github.com/miekg/dns v1.1.25
github.com/opencontainers/image-spec v1.1.0-rc3
Expand Down Expand Up @@ -79,7 +80,6 @@ require (
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.6.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion proto/events.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/firecracker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/service/drivemount/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PROTO_GEN_SRC_TTRPC := $(addprefix ttrpc/,$(PROTO_GEN_SRC))

$(PROTO_GEN_SRC_TTRPC): $(PROTO_SRC)
protoc -I. -I$(PROTOPATH)\
--go-out=:ttrpc \
--go_out=:ttrpc \
$^
protoc -I. -I$(PROTOPATH)\
--go-ttrpc_out=:ttrpc \
Expand Down
6 changes: 3 additions & 3 deletions proto/service/drivemount/ttrpc/drivemount.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions proto/service/drivemount/ttrpc/drivemount_ttrpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/service/fccontrol/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ PROTO_GEN_SRC_TTRPC := $(addprefix ttrpc/,$(PROTO_GEN_SRC))

$(PROTO_GEN_SRC_TTRPC): $(PROTO_SRC)
protoc -I. -I$(PROTOPATH)\
--go_out=Mfirecracker.proto=github.com/firecracker-microvm/firecracker-containerd/proto:ttrpc \
--go_out=Mfirecracker.proto=github.com/firecracker-microvm/firecracker-containerd/proto,Mtypes.proto=github.com/firecracker-microvm/firecracker-containerd/proto:ttrpc \
$^
protoc -I. -I$(PROTOPATH)\
--go-ttrpc_out=Mfirecracker.proto=github.com/firecracker-microvm/firecracker-containerd/proto:ttrpc \
--go-ttrpc_out=Mfirecracker.proto=github.com/firecracker-microvm/firecracker-containerd/proto,Mtypes.proto=github.com/firecracker-microvm/firecracker-containerd/proto:ttrpc \
$^

proto: $(PROTO_GEN_SRC_TTRPC)
Expand Down
6 changes: 3 additions & 3 deletions proto/service/fccontrol/ttrpc/fccontrol.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions proto/service/fccontrol/ttrpc/fccontrol_ttrpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions proto/service/ioproxy/ttrpc/ioproxy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions proto/service/ioproxy/ttrpc/ioproxy_ttrpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions proto/types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tools/docker/Dockerfile.proto-builder
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
FROM golang:1.21-bullseye

RUN apt-get update && apt-get install --yes --no-install-recommends \
libprotobuf-dev \
protobuf-compiler \
libprotobuf-dev=3.12.4-1+deb11u1 \
protobuf-compiler=3.12.4-1+deb11u1 \
&& go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.33 \
&& go install github.com/containerd/ttrpc/cmd/protoc-gen-go-ttrpc@v1.2.3 \
&& mkdir /protobuf
Expand Down

0 comments on commit 9bad4be

Please sign in to comment.