Skip to content

Build simple-game-server in CI for e2e tests#4401

Merged
markmandel merged 3 commits intoagones-dev:mainfrom
IrvingMg:rebuild-simple-game-server-e2e-tests
Jan 21, 2026
Merged

Build simple-game-server in CI for e2e tests#4401
markmandel merged 3 commits intoagones-dev:mainfrom
IrvingMg:rebuild-simple-game-server-e2e-tests

Conversation

@IrvingMg
Copy link
Copy Markdown
Contributor

What type of PR is this?
/kind feature

What this PR does / Why we need it:
Automates building simple-game-server in CI for e2e tests.

Which issue(s) this PR fixes:

Closes #4329

Special notes for your reviewer:

@github-actions github-actions bot added kind/feature New features for Agones size/S labels Dec 28, 2025
Copy link
Copy Markdown
Collaborator

@lacroixthomas lacroixthomas left a comment

Choose a reason for hiding this comment

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

Hi @IrvingMg !
Thanks for the contribution ! 🎉

I've put some minor changes, but I'm still looking into it, I wonder if we could not do as the other process (by using the Makefile to setup the version directly (release one or with hash)) and to push it, because it's actually the case for the controller, allocator, extensions etc. 🤔)

Your changes looks all good, but I wonder if we can not make it more consistent with the others, which might simplify things as well

I'll come back to you ASAP once I've had a deeper look at it 😄

@markmandel
Copy link
Copy Markdown
Collaborator

Just having a peek around 😄 +1 on what @lacroixthomas said about putting it in the Makefile.

If you set the version to be an over writable parameter, like we do for registry,

https://github.com/googleforgames/agones/blob/38db980c8a46ea1514b222c0ad1d28dddb977263/examples/simple-game-server/Makefile#L42

Then the step should become basically the same as here:

https://github.com/googleforgames/agones/blob/38db980c8a46ea1514b222c0ad1d28dddb977263/examples/simple-game-server/cloudbuild.yaml#L26-L33

@markmandel
Copy link
Copy Markdown
Collaborator

Just checking in to see if you need any extra help with this?

/gcbrun

@markmandel
Copy link
Copy Markdown
Collaborator

/gcbrun

@markmandel
Copy link
Copy Markdown
Collaborator

generic::invalid_argument: invalid value for 'build.substitutions': key in the template "SGS_IMAGE" is not a valid built-in substitution

Looks like there is also an issue on the cloud build setup too.

@IrvingMg
Copy link
Copy Markdown
Contributor Author

Just checking in to see if you need any extra help with this?

Thanks for checking in and for the review, sorry for the delay. I’ll apply the changes this weekend.

@IrvingMg IrvingMg force-pushed the rebuild-simple-game-server-e2e-tests branch from e3f887f to 3494334 Compare January 17, 2026 10:40
@IrvingMg
Copy link
Copy Markdown
Contributor Author

I've applied the requested changes. The build step is now using the ${_REGISTRY} variable and the Makefile approach with an overridable VERSION.

Thanks for your patience!

@markmandel
Copy link
Copy Markdown
Collaborator

This looks really good!

@markmandel
Copy link
Copy Markdown
Collaborator

/gcbrun

@markmandel
Copy link
Copy Markdown
Collaborator

ruh ROH - invalid Cloud Build syntax:

generic::invalid_argument: invalid value for 'build.substitutions': key in the template "SGS_IMAGE" is not a valid built-in substitution

@IrvingMg IrvingMg force-pushed the rebuild-simple-game-server-e2e-tests branch from 7685c4c to 286885e Compare January 20, 2026 10:13
@IrvingMg IrvingMg force-pushed the rebuild-simple-game-server-e2e-tests branch from 286885e to 59f1037 Compare January 20, 2026 10:16
@markmandel
Copy link
Copy Markdown
Collaborator

/gcbrun

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: c0b6e5b2-f202-4509-bd44-25dd054239f8

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/4401/head:pr_4401 && git checkout pr_4401
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.56.0-dev-59f1037

@markmandel
Copy link
Copy Markdown
Collaborator

This LGTM! - @lacroixthomas anything else you want to review?

@lacroixthomas
Copy link
Copy Markdown
Collaborator

This LGTM! - @lacroixthomas anything else you want to review?

Looking great ! LGTM

@markmandel markmandel enabled auto-merge (squash) January 21, 2026 18:11
@markmandel
Copy link
Copy Markdown
Collaborator

/gcbrun

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 7d9d3e39-d48b-433e-9f26-14ba93f5743e

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/4401/head:pr_4401 && git checkout pr_4401
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.56.0-dev-e2f0e0d

@markmandel markmandel merged commit 8f0f65f into agones-dev:main Jan 21, 2026
5 checks passed
@IrvingMg IrvingMg deleted the rebuild-simple-game-server-e2e-tests branch January 22, 2026 12:23
mnthe pushed a commit to mnthe/agones that referenced this pull request Mar 23, 2026
Co-authored-by: Thomas Lacroix <thomas.lacroix@ubisoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature New features for Agones size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Rebuild simple-game-server for each e2e test?

4 participants