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

CI builds should publish a multi-arch manifest for the agones-sdk image #2280

Closed
roberthbailey opened this issue Sep 29, 2021 · 3 comments
Closed
Labels
kind/feature New features for Agones
Milestone

Comments

@roberthbailey
Copy link
Member

Is your feature request related to a problem? Please describe.

Right now our CI system creates linux and windows images for each build for the sidecar (the agones-sdk image), e.g. 1.17.0-87c0f7b-windows_amd64-ltsc2019 and 1.17.0-87c0f7b-linux_amd64. However, we are not creating a multi-arch manifest tagged with the hash, which would look like 1.17.0-87c0f7b. This means that if you install a release from CI following the instructions on a pull request like:

To install this version:

you will get a functional controller tagged with 1.17.0-87c0f7b but the game servers will never become ready because the sidecar won't start. kubectl logs will show an error like

Error from server (BadRequest): container "agones-gameserver-sidecar" in pod "cfg-1-4k2tf-8vd8b" is waiting to start: trying and failing to pull image

Describe the solution you'd like

CI builds should publish a multi-arch manifest for the agones-sdk image so that we can run from a CI build the same way we run release candidates and release builds.

@roberthbailey roberthbailey added kind/feature New features for Agones help wanted We would love help on these issues. Please come help us! and removed help wanted We would love help on these issues. Please come help us! labels Sep 29, 2021
@roberthbailey
Copy link
Member Author

I've removed the help wanted label because it looks like this won't be trivial for us to fix. From #2037 (comment)

I cannot figure out where but regardless GCB doesn't handle manifests all that well.

@markmandel
Copy link
Member

markmandel commented Nov 9, 2022

If you explicitly push from within the build, it can create the multi-arch manifest, but I think if Cloud Build does it, it doesn't work correctly.

@roberthbailey
Copy link
Member Author

I don't know if it was related to the switch to artifact registry, but when I look at the most recent builds of the agones-controller in us-docker.pkg.dev/agones-images/ci I see both arm64 and amd64 builds and a manifest that points to them. And when I look at the agones-sdk I see the windows builds listed in the manifest as well.

So I'm going to mark this as fixed!

@Kalaiselvi84 Kalaiselvi84 added this to the 1.29.0 milestone Jan 11, 2023
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
Projects
None yet
Development

No branches or pull requests

3 participants