-
Notifications
You must be signed in to change notification settings - Fork 823
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
Simple Game Server Example: Upgrade Docker to 24.0.6 #3531
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Kalaiselvi84 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 |
Here's the failed cloud-build log - https://gist.github.com/Kalaiselvi84/2abc327822338b70e3e082da45ff42fa |
Build Succeeded 👏 Build Id: 5edcf548-6ed5-4233-8ff9-02d689e60c21 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:
|
Build has passed with Log - https://gist.github.com/Kalaiselvi84/6b02ec26b5c8d4c0362060f81e31cd29 If this looks good, let me know the next steps please. |
Build Succeeded 👏 Build Id: b1be2b1e-67be-4393-bed0-a127b498a5c9 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:
|
Yes! Absolutely good catch. In fact as part of this change, we should remove all Re agones/examples/xonotic/Makefile Lines 87 to 88 in 330a548
Lemme know if that doesn't make sense - I'll also make a note on the parent issue (I edited the description) |
Build Succeeded 👏 Build Id: bd3f5a4e-825a-4bbe-a02e-0c196d15d97a 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:
|
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.
Approach looks good - is this successfully building the image and container?
@@ -87,13 +87,9 @@ endif | |||
ifeq ($(WITH_ARM64), 1) | |||
push: push-linux-image-arm64 | |||
endif | |||
-docker manifest rm $(server_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.
Just noting we'll want to increment the version number as well in here, since this will be a new build (then we will want to update the simple-game-server version everywhere as well - likely in a separate PR).
Build has passed with Failed Scenarios:
==================== We are using Is it fine to remove this flag from build/Makefile? |
My apologies, I'm not following - does it work as it is currently written in the PR? |
Sorry for the confusion, it isn't working |
Build Failed 😱 Build Id: 213999ec-2960-4f7e-8b2e-25e0135cfa70 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Just playing with this myself - there is definitely some weird stuff going on... For future reference: Locally I'm running Docker 24.x (client and server), but on Cloud Build, we have a 24.x Client on a 20.x Docker server. I think that is why we get weirdness on Cloud Build, when it seems to be fine building locally.
I think I've just ended up in exactly what you were originally trying to say 🤦🏻 just doing some tests to ensure it works across both versions. |
Got it.. |
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 is what I ended up with that worked across local Docker, 24.x and Cloud Build -- does this work for you too? If so, let's run with it, and update the issue for these instructions.
examples/simple-game-server/Makefile
Outdated
@@ -109,17 +105,14 @@ push-windows-image-%: | |||
$(MAKE) WINDOWS_DOCKER_PUSH_ARGS=--push build-windows-image-$* | |||
|
|||
build-windows-image-%: ensure-windows-buildx | |||
cd $(root_path) && DOCKER_CLI_EXPERIMENTAL=enabled \ | |||
cd $(root_path) && \ |
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.
cd $(root_path) && \ | |
cd $(root_path) && DOCKER_CLI_EXPERIMENTAL=enabled \ |
examples/simple-game-server/Makefile
Outdated
-DOCKER_CLI_EXPERIMENTAL=enabled docker buildx create --name=$(BUILDX_WINDOWS_BUILDER) --use | ||
# Windows image builds must be directed to a specific buildx context. | ||
# The default context does not support building cross platform images. | ||
-docker buildx create --name=$(BUILDX_WINDOWS_BUILDER) |
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.
-docker buildx create --name=$(BUILDX_WINDOWS_BUILDER) | |
-docker buildx create --name=$(BUILDX_WINDOWS_BUILDER) --use |
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.
I am going to follow what you're suggesting. Just a thought – should we aim for uniformity between the simple-game-server
and Xonotic
?
https://github.com/googleforgames/agones/blob/main/examples/xonotic/Makefile#L86-L93
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.
Just also making a note that after this change (and pushing the new image to prod), will need to change all the other references to |
Shall I push the latest tag to prod now or should I do it after this PR is merged? |
Build Succeeded 👏 Build Id: e0e9b072-cbd1-4fb3-8e62-cbbad6ce1df0 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:
|
Build Succeeded 👏 Build Id: af2c8db8-87e6-48aa-beef-48a5bafbc107 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:
|
Build Succeeded 👏 Build Id: 0a5fb708-b433-4e95-a858-fc4299c96263 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:
|
Either or. I'll approve this now, so push it when it's ready, and then can do the update to the rest in a separate PR. |
What type of PR is this?
What this PR does / Why we need it:
Which issue(s) this PR fixes:
Work on #3530
Special notes for your reviewer: