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

Updates to gRPC generation #3483

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

markmandel
Copy link
Member

Some cleanup post the last series of gRPC updates and changes for future gRPC updates.

  • Cleanup the instructions for better clarity and operational ordering.
  • Fix for allocation gRPC generation to reuse the gRPC version include in the build container image rather than unnecessarily build its own.

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind hotfix
/kind release

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Closes #

Special notes for your reviewer:

Some cleanup post the last series of gRPC updates and changes for future
gRPC updates.

* Cleanup the instructions for better clarity and operational ordering.
* Fix for allocation gRPC generation to reuse the gRPC version include
in the build container image rather than unnecessarily build its own.
@markmandel markmandel added kind/cleanup Refactoring code, fixing up documentation, etc area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. labels Nov 1, 2023
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gongmax, markmandel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@markmandel
Copy link
Member Author

@Kalaiselvi84 do want to check with you if any of the changes to the release process need improvement in any way - let me know!

@Kalaiselvi84
Copy link
Contributor

do want to check with you if any of the changes to the release process need improvement in any way - let me know!

Nope! We are good with our release process steps.👍🏻

@markmandel markmandel enabled auto-merge (squash) November 1, 2023 19:16
Copy link

New changes are detected. LGTM label has been removed.

@google-oss-prow google-oss-prow bot removed the lgtm label Nov 1, 2023
and `gRPC_GIT_TAG` [here](https://github.com/googleforgames/agones/blob/main/sdks/cpp/cmake/prerequisites.cmake)
- [ ] Regenerate all client sdks: [make gen-all-sdk-grpc](https://github.com/googleforgames/agones/blob/main/build/README.md#make-gen-all-sdk-grpc)
This can take an hour or so, as the above changes force a rebuild. Plan your day accordingly 😃.
- [ ] Regenerate allocated API endpoints: [make gen-allocation-grpc](https://github.com/googleforgames/agones/blob/main/build/README.md#make-gen-allocation-grpc)
Copy link
Contributor

Choose a reason for hiding this comment

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

First, we need to run make gen-allocation-grpc, followed by the make gen-all-sdk-grpc target🤔
Do we need also mention to run make build target followed by the sdk.mk file update and rebuilding all the sdk docker images if it is required?

Copy link
Member Author

Choose a reason for hiding this comment

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

First, we need to run make gen-allocation-grpc, followed by the make gen-all-sdk-grpc target🤔

No I deliberately switched the order to make make gen-all-sdk-grpc run first. It's the more important step of the two.

Do we need also mention to run make build target followed by the sdk.mk file update and rebuilding all the sdk docker images if it is required?

There's no need to run make build, everything that needs to get rebuilt gets rebuilt automatically (the sdk and allocation grpc build images are actually separate from the main Go/Agones build image).

Copy link
Contributor

Choose a reason for hiding this comment

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

I am super confused, but if these steps work for the Kubernetes upgrade, then it's fine.😅

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 82527832-1368-40a1-9c3a-1038d4b55317

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:

  • git fetch https://github.com/googleforgames/agones.git pull/3483/head:pr_3483 && git checkout pr_3483
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.36.0-dev-57df68b-amd64

@markmandel markmandel merged commit 77bde06 into googleforgames:main Nov 1, 2023
3 checks passed
@markmandel markmandel deleted the update/grpc-updates branch November 1, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. kind/cleanup Refactoring code, fixing up documentation, etc size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants