Skip to content

build: add minikube image load support for simple-game-server#4647

Open
markmandel wants to merge 2 commits into
agones-dev:mainfrom
markmandel:examples/minikube-push
Open

build: add minikube image load support for simple-game-server#4647
markmandel wants to merge 2 commits into
agones-dev:mainfrom
markmandel:examples/minikube-push

Conversation

@markmandel

Copy link
Copy Markdown
Member

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:

Introduce minikube-push target in the Makefile to load host-specific Linux images into a specified Minikube profile, tagging them for production use. Add architecture normalization logic for improved compatibility.

I found myself loading this into minikube manually a lot for testing, so wanted to make a target to make this easier.

Also updated the development documentation on how to use this when testing with the simple-game-server or if it's not published yet.

Which issue(s) this PR fixes:

N/A

Did you use AI tools in preparing this PR?:

Y

Special notes for your reviewer:

Just because it needed doing.

Introduce `minikube-push` target in the Makefile to load host-specific
Linux images into a specified Minikube profile, tagging them for
production use. Add architecture normalization logic for improved
compatibility.

I found myself loading this into minikube manually a lot for testing,
so wanted to make a target to make this easier.

Also updated the development documentation on how to use this when
testing with the simple-game-server or if it's not published yet.

Signed-off-by: Mark Mandel <mark@compoundtheory.com>
@markmandel
markmandel requested a review from a team July 13, 2026 05:09
@github-actions github-actions Bot added kind/feature New features for Agones size/S labels Jul 13, 2026
@agones-bot

Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: d54e020b-4acd-4672-851e-6883946146a8

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/4647/head:pr_4647 && git checkout pr_4647
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.60.0-dev-0f8cd39


# Host machine architecture (amd64/arm64), to match the image tag suffixes
# above, so we know which arch specific image to load into minikube.
HOST_ARCH := $(shell dpkg --print-architecture)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm all good with this, feel free to ignore
I was just thinking if there is OS or something that don't have dpkg ? 🤔
But I'd say, it covers 90% of the use ?

@lacroixthomas lacroixthomas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Left a small comment about dpkg, but feel free to ignore, LGTM otherwise

Also, nice addition, I usually do stuff manually if I need a custom one for some tests ! This will help !

@agones-bot

Copy link
Copy Markdown
Collaborator

Build Failed 😭

Build Id: e4e463bc-cfa2-475d-b332-e821e1d3ab6a

Status: FAILURE

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

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.

3 participants