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

Update grpc to v1.36.0 and proto to v1.26.0 #2175

Merged
merged 1 commit into from
Mar 26, 2021
Merged

Conversation

dragcp
Copy link
Contributor

@dragcp dragcp commented Mar 26, 2021

Signed-off-by: ramand.dragcp [email protected]

Pull Request check list

  • [*] Commit conforms to CONTRIBUTING.md?
  • Proper tests/regressions included?
  • Documentation updated?

Affected functionality
This was split off from #2172

Description of change
We are upgrading the version of grpc and proto dependencies

Which issue this PR fixes

@azdagron
Copy link
Member

azdagron commented Mar 26, 2021

Hmm, did make generate not regenerate any of the gRPC or protobuf code?

Signed-off-by: ramand.dragcp <[email protected]>

Add generate pb.go files

Signed-off-by: ramand.dragcp <[email protected]>
@dragcp
Copy link
Contributor Author

dragcp commented Mar 26, 2021

Yes. "make generate" is not generating those files.

I have now done "make generate-check" which generates the files and then fails. I have committed the generated files, rebased and repushed

@azdagron
Copy link
Member

Thanks!

@dragcp
Copy link
Contributor Author

dragcp commented Mar 26, 2021

Calling generate-check ( or protogen-check ) internally touches all the .proto files.

Calling generate only picks up the proto files that have been touched by me. That is why it didn't regenerate the files in the first attempt

@azdagron
Copy link
Member

Yeah, it's also supposed to regenerate when you move to a new version of the tool, but in your case, your build cache already had the new tool from working on the other PR, so it didn't rebuild. We're not really saving much time trying to be smart about regeneration since it is quick and idempotent. I'll probably tweak the makefile to just regenerate always.

@azdagron azdagron merged commit e5356f2 into spiffe:master Mar 26, 2021
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.

2 participants