Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mercari-grpc-federation v0.10.0 and enable updates #1028

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

mfridman
Copy link
Member

Fix #991

@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1.6
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diff from the v0.9.2 we added earlier in the week.

--- A/Dockerfile
+++ B/Dockerfile-1
@@ -2,12 +2,11 @@
 FROM golang:1.21.6-bookworm AS build
 RUN --mount=type=cache,target=/go/pkg/mod \
     CGO_ENABLED=0 \
+    go install -ldflags="-s -w" -trimpath github.com/mercari/grpc-federation/cmd/protoc-gen-grpc-federation@v0.10.0
-    go install -ldflags="-s -w" -trimpath github.com/mercari/grpc-federation/cmd/protoc-gen-grpc-federation@v0.9.2
 
 FROM scratch
 COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd
 COPY --from=build --link --chown=root:root /go/bin/protoc-gen-grpc-federation .
-COPY --from=build --link --chown=root:root /usr/local/go/bin/go /bin/go
 ENV GOROOT /
 USER nobody
 ENTRYPOINT [ "/protoc-gen-grpc-federation" ]

# Disabling this plugin until it can be updated to work without invoking the
# Go toolchain for formatting. For more information, see:
# https://github.com/bufbuild/plugins/pull/1022#issuecomment-1908230254
disabled: true
Copy link
Member Author

@mfridman mfridman Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed upstream in mercari/grpc-federation#93 🙏 @goccy

@mfridman mfridman merged commit 75ea815 into main Jan 26, 2024
4 checks passed
@mfridman mfridman deleted the mf-mercari-federation branch January 26, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin request for Buf Schema Registry - grpc-federation
2 participants