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 xonotic example to 0.8.6 #3273

Merged
merged 5 commits into from
Aug 7, 2023

Conversation

ashutosji
Copy link
Contributor

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 #3233

Special notes for your reviewer:

@github-actions github-actions bot added the kind/feature New features for Agones label Jul 18, 2023
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 1d3557da-a691-434b-b3e1-40c5523da559

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/3273/head:pr_3273 && git checkout pr_3273
  • 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.34.0-dev-0e2a9e7-amd64

@markmandel
Copy link
Member

We had a chat offline, but just wanted to confirm that with the changes both the Linux and Windows image build?

@ashutosji
Copy link
Contributor Author

We had a chat offline, but just wanted to confirm that with the changes both the Linux and Windows image build?

Linux image build working as expected but I am not able to build Windows image due to system issue.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: e93dd269-abdb-458f-a25c-ff8669c76d6b

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

At first glance - this look great! Just running a local test as well to double check everything runs as expected.

Only extra thing, we'll need to update the push target to build the multi-arch manifest.

You can use the simple-game-server as example:

push: push-linux-image-amd64
ifeq ($(WITH_WINDOWS), 1)
push: push-windows-images
endif
ifeq ($(WITH_ARM64), 1)
push: push-linux-image-arm64
endif
-docker manifest rm $(server_tag)
docker manifest create $(server_tag) $(push_server_manifest)
docker manifest push $(server_tag) --purge

Take a look, but definitely let me know if you have any questions on the above.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: f1aa6419-df2f-4a76-83cc-d08dcd224507

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/3273/head:pr_3273 && git checkout pr_3273
  • 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.34.0-dev-5d576d6-amd64

ifeq ($(WITH_WINDOWS), 1)
push_server_manifest += $(foreach windows_version, $(WINDOWS_VERSIONS), $(server_tag)-windows_amd64-$(windows_version))
endif
ifeq ($(WITH_ARM64), 1)
Copy link
Member

Choose a reason for hiding this comment

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

I just double checked: https://xonotic.org/download/

And Xonotic doesn't support Arm, only x86-64 - so let's remove the arm support please.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just double checked: https://xonotic.org/download/

And Xonotic doesn't support Arm, only x86-64 - so let's remove the arm support please.

Sure, I will remove it.

Comment on lines 43 to 49
ifeq ($(WITH_WINDOWS), 1)
server_tag_linux_amd64 = $(server_tag)-linux-amd64
server_tag_linux_arm64 = $(server_tag)-linux-arm64
else
server_tag_linux_amd64 = $(server_tag)-amd64
server_tag_linux_arm64 = $(server_tag)-arm64
endif
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
ifeq ($(WITH_WINDOWS), 1)
server_tag_linux_amd64 = $(server_tag)-linux-amd64
server_tag_linux_arm64 = $(server_tag)-linux-arm64
else
server_tag_linux_amd64 = $(server_tag)-amd64
server_tag_linux_arm64 = $(server_tag)-arm64
endif
server_tag_linux_amd64 = $(server_tag)-linux-amd64
server_tag_linux_arm64 = $(server_tag)-linux-arm64

I know we do this everywhere, but I don't know why, so let's break the habit and remove the conditional. It's not really doing anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know we do this everywhere, but I don't know why, so let's break the habit and remove the conditional. It's not really doing anything.

Even, I was confused why we are doing this everywhere. But, At the end I had to follow the coding guidelines (Current codebase written in this way)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

server_tag_linux_arm64 = $(server_tag)-linux-arm64
I think, this is not required. Since, Xonotic does not have support for ARM64, I am removing everthing related to ARM64 in makefile.

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Tried to run this but ran into an issue - I expect it's because I ran with WITH_ARM=0, so will try again once the ARM support is gone, I expect it will resolve the issue.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: a4a8ecef-25d2-45a1-902d-c6a0d208b871

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/3273/head:pr_3273 && git checkout pr_3273
  • 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.34.0-dev-59814a4-amd64

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Just ran this locally - and looks good!

Only thing left to do, is change the image to 1.2 in all the yaml files in https://github.com/googleforgames/agones/tree/main/examples/xonotic and we can merge this in!

@ashutosji
Copy link
Contributor Author

ashutosji commented Aug 7, 2023

Just ran this locally - and looks good!

Only thing left to do, is change the image to 1.2 in all the yaml files in https://github.com/googleforgames/agones/tree/main/examples/xonotic and we can merge this in!

All yaml file are having 1.2 except fleet.yaml. I have updated that too. I think, we can merge this.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 817e3102-4691-4384-acb6-f8bbf3ddfd75

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/3273/head:pr_3273 && git checkout pr_3273
  • 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.34.0-dev-f81cc71-amd64

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Looks good!

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aimuz, ashutosji, 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 markmandel merged commit 1d31913 into googleforgames:main Aug 7, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Xonotic example to 0.8.6
4 participants