Skip to content

Conversation

0xaravindh
Copy link
Member

What type of PR is this?

/kind cleanup

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Works on #3978

Special notes for your reviewer:

@github-actions github-actions bot added kind/cleanup Refactoring code, fixing up documentation, etc size/S labels Feb 25, 2025
@0xaravindh 0xaravindh self-assigned this Feb 25, 2025
@agones-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 7b59a234-6ffc-438a-a057-e6980c1f88a1

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/4118/head:pr_4118 && git checkout pr_4118
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.48.0-dev-1ebe0d9

@0xaravindh 0xaravindh marked this pull request as ready for review March 6, 2025 05:28
@igooch
Copy link
Collaborator

igooch commented Mar 10, 2025

@kangjk1017 do you have the ability pull, build & test the PR to see if it works on your windows nodes?

@0xaravindh and I do not have the ability to test on windows nodes. However, a fetch of this branch, local build, & push to a non-public artifact registry has a manifest with os.version for windows:

{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 3233,
         "digest": "sha256:df4fb05be305c3fa708e94ba52f87ad67c62d7f961af86c4dace4d69aa9c2ef0",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 3039,
         "digest": "sha256:3290ff57551de10ed0171ad2b64e600a6034116c6cb9b53170f6230130c2ac62",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1101,
         "digest": "sha256:b3b687763426470a2fb2288c42784d1dc79a041b4934709574f2db6019c4524e",
         "platform": {
            "architecture": "amd64",
            "os": "windows",
            "os.version": "10.0.17763.6893"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1101,
         "digest": "sha256:b23a3a3aaac009f189a9c87ecd2bf314ec55da57caf35525602ef84ae3f567d7",
         "platform": {
            "architecture": "amd64",
            "os": "windows",
            "os.version": "10.0.20348.3207"
         }
      }
   ]
}

@kangjk1017
Copy link

Thank you very much. It works perfectly.
I was able to run containers on both Linux and Windows nodes using the sidecar image us-docker.pkg.dev/agones-images/ci/agones-sdk:1.48.0-dev-1ebe0d9.
Unfortunately, aside from using this built image, I’m in a difficult position to test anything else on my own.

Thank you again so much for all your work.

build/Makefile Outdated
@@ -528,7 +530,7 @@ build-controller-image-amd64: $(ensure-build-image) build-controller-binary buil
docker build $(agones_path)/cmd/controller/ --tag=$(controller_amd64_tag) $(DOCKER_BUILD_ARGS)
# creating docker builder and then using that builder to build controller image in buildx command
build-controller-image-arm64: $(ensure-build-image) build-controller-binary create-arm64-builder
docker buildx build --platform linux/arm64 --builder $(BUILDX_ARM64_BUILDER) --build-arg ARCH=arm64 $(agones_path)/cmd/controller/ --tag=$(controller_arm64_tag) $(DOCKER_BUILD_ARGS)
docker buildx build --provenance false --platform linux/arm64 --builder $(BUILDX_ARM64_BUILDER) --build-arg ARCH=arm64 $(agones_path)/cmd/controller/ --tag=$(controller_arm64_tag) $(DOCKER_BUILD_ARGS)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it needed to disable provenance for all the images? Can we limit it to only the windows sdk image?

Copy link
Member Author

Choose a reason for hiding this comment

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

provenance: false is needed to prevent unnecessary manifest files from cluttering up the artifact repository.

here is the old vs new manifest samples

image

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: dce486cf-a064-4bd8-a016-7f8299f1dd5a

Status: FAILURE

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

@0xaravindh 0xaravindh reopened this Mar 18, 2025
@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 19102980-19da-40ff-a974-9f02d1b87d4f

Status: FAILURE

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

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 434f8313-81cf-4e7a-b827-94319db4edbd

Status: FAILURE

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

@0xaravindh
Copy link
Member Author

/gcbrun

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: e02dfb30-db03-4534-a7a5-2d12dfc1fdb8

Status: FAILURE

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

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 0cf8c160-4425-44b0-af50-9fc841194266

Status: FAILURE

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

@0xaravindh
Copy link
Member Author

/gcbrun

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 5a6ee33a-9a97-46b3-bb45-620f542136dc

Status: FAILURE

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

@0xaravindh
Copy link
Member Author

/gcbrun

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 1c7b0406-51be-455a-941b-e36ae54c44c0

Status: FAILURE

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

@igooch
Copy link
Collaborator

igooch commented Mar 24, 2025

/gcbrun

@agones-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 0ae67416-67ef-4627-9463-8c2fff8f920d

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/4118/head:pr_4118 && git checkout pr_4118
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.48.0-dev-527b8fa

@igooch igooch enabled auto-merge (squash) March 25, 2025 15:42
@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: c873ac21-a6f9-4fe7-acb0-39f4e8f20f96

Status: FAILURE

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

@igooch igooch disabled auto-merge March 25, 2025 15:59
@gongmax
Copy link
Collaborator

gongmax commented Mar 25, 2025

/gcbrun

@agones-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: fc466d5e-3da7-4772-841c-ac2c766a48d4

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/4118/head:pr_4118 && git checkout pr_4118
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.48.0-dev-5169bdc

@gongmax gongmax merged commit ca09802 into googleforgames:main Mar 25, 2025
4 checks passed
@0xaravindh 0xaravindh added the kind/bug These are bugs. label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug These are bugs. kind/cleanup Refactoring code, fixing up documentation, etc size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants