-
Notifications
You must be signed in to change notification settings - Fork 810
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
Upgrade gRPC version #3472
Upgrade gRPC version #3472
Conversation
Build Failed 😱 Build Id: b881305e-50cd-40b1-be3f-1a9f1dc4b869 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
@markmandel, Could you please guide me how to fix this error?
|
Will pull this down and take a look 👍🏻 |
So just digging into this - looks like you may have run if you run ❯ git shell
On branch pr/grpc-update
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: pkg/sdk/alpha/alpha.pb.go
modified: pkg/sdk/alpha/alpha_grpc.pb.go
modified: pkg/sdk/beta/beta.pb.go
modified: pkg/sdk/beta/beta_grpc.pb.go
modified: pkg/sdk/sdk.pb.go
modified: pkg/sdk/sdk_grpc.pb.go
modified: sdks/cpp/include/agones/sdk.pb.h
modified: sdks/cpp/include/google/api/annotations.pb.h
modified: sdks/cpp/include/google/api/http.pb.h
modified: sdks/cpp/include/protoc-gen-openapiv2/options/annotations.pb.h
modified: sdks/cpp/include/protoc-gen-openapiv2/options/openapiv2.pb.h
modified: sdks/cpp/src/agones/sdk.pb.cc
modified: sdks/cpp/src/google/annotations.pb.cc
modified: sdks/cpp/src/google/http.pb.cc
modified: sdks/cpp/src/protoc-gen-openapiv2/annotations.pb.cc
modified: sdks/cpp/src/protoc-gen-openapiv2/openapiv2.pb.cc Not 100% sure it solves the problem yet, but just working step by step. |
Build Failed 😱 Build Id: ea09cb33-2c58-4c7e-aa64-ffbcb7966580 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Log for You're right; I may have executed |
I got the same error anyway with all the files updated, but I think i have a fix.... lemme try it though. |
Build Failed 😱 Build Id: 57d9f6d0-d92d-400b-84f6-dcc5aa86b583 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Fairly sure I got it... I'll do my usual file a PR against your branch thing. |
I cleaned my build and am running it again - so probably have confirmation tomorrow. |
Kalaiselvi84#326 submitted to your branch! The CPP tests passed for me 👍🏻 |
I am confused. What's the difference between my local setup and yours? Why aren't all the files being modified on my end as they are on yours? |
I figure it's because I had rebuilt all my Docker images, so it pulled down the latest protobuf (which is why the version updated). Also because I ran the |
When you mentioned rebuilding all the Docker images, did you mean only for the example images or did you rebuild everything? Also I guess you ran |
I occasionally delete all docker images from my machines ( Either way - merge my PR to your PR when ready, and we'll see if it passes all of CI 👍🏻 |
Do we have any command for this?
This is kind of no fair to always use your updates, would it be possible for you to create a separate PR for it? What do you think? else share me your logs, I will try to replicate yours |
I just do the command above occasionally when I do
I don't mind either way - whatever works! |
Also just realised I was typing on my phone above and wrote |
Build Failed 😱 Build Id: 5594bbca-edaf-4c65-982f-576385f624d6 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
This was also typing from your phone? you typed the same command here😂 |
OMG I did it again. |
As part of this PR can we update |
|
Don't we need that update in this PR? We don't know what is being generated by Cloud Build and how it's different to what we have right now. |
Build Failed 😱 Build Id: e48cf338-8a6e-4f29-8b8a-826a66b08a94 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
* Fix for cmake grpc dependency * Updated all gRPC SDK code.
* Include the gRPC version in the `build_sdk_base_version` version such that it automatically gets rebuilt whenever the gRPC version changes without manual intervention. Also updated the changes in the allocation gRPC code as well.
74cdeb3
to
8238032
Compare
Build Succeeded 👏 Build Id: 180da6c3-c541-4b24-8cc7-8ba3cc5967ba The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
200% credit goes to @markmandel 😀 |
build_sdk_base_version = $(call sha,$(build_path)/build-sdk-images/tool/base/Dockerfile) | ||
grpc_release_tag = v1.57.0 | ||
|
||
build_sdk_base_version = $(call sha,$(build_path)/build-sdk-images/tool/base/Dockerfile)_$(grpc_release_tag) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now forces a rebuild when the grpc version is updated. Before this wasn't happening.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gongmax, Kalaiselvi84, zmerlynn The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / Why we need it:
Which issue(s) this PR fixes:
Closes #3467
Special notes for your reviewer: