Git Product home page Git Product logo

Comments (11)

Kalaiselvi84 avatar Kalaiselvi84 commented on June 12, 2024 1

Then let's just focus on xonotic and simple-game-server for now.

from agones.

markmandel avatar markmandel commented on June 12, 2024 1

There is - we should also change everything in /build - but let's tackle that after the next release as it's a bigger chunk of work we'll want to coordinate together.

from agones.

markmandel avatar markmandel commented on June 12, 2024

Coming off review of #3531 (comment) - @Kalaiselvi84 highlighted two things to note:

  • DOCKER_CLI_EXPERIMENTAL=enabled should be removed from all commands, since it's no longer needed
  • Where you see docker buildx create --name=$(BUILDX_WINDOWS_BUILDER) --use while not 100% necessary, I think it would be better to remove the --use so it's not set as the default for all future builds, and instead be explicit in our docker buildx build commands with the --builder argument.

Example of using --build can be found here:

build-windows-image-%: ensure-windows-buildx
docker buildx build --platform windows/amd64 --builder $(BUILDX_WINDOWS_BUILDER) -f $(project_path)Dockerfile.windows \
--tag=$(server_tag)-windows_amd64-$* --build-arg WINDOWS_VERSION=$* . $(WINDOWS_DOCKER_PUSH_ARGS)

Although in this example, we still need to remove --use and the DOCKER_CLI_EXPERIMENTAL parts of the commands.

Lemme know if any of that doesn't make sense.

from agones.

Kalaiselvi84 avatar Kalaiselvi84 commented on June 12, 2024

Tried without --use and DOCKER_CLI_EXPERIMENTAL=enabled, but the build for simple-game-server failed: https://gist.github.com/Kalaiselvi84/38a273a6dbb7e308fdb4be166fc597fd

from agones.

markmandel avatar markmandel commented on June 12, 2024

Can you push the changes, so I can see what your cloudbuild.yaml actually looks like -- hard to debug without it 😄

from agones.

Kalaiselvi84 avatar Kalaiselvi84 commented on June 12, 2024

Committed the changes.👍🏻

Log without DOCKER_CLI_EXPERIMENTAL=enabled and with --use: https://gist.github.com/Kalaiselvi84/0d0b5fcc8de6fb9f31ac0d8588f40fda

from agones.

Kalaiselvi84 avatar Kalaiselvi84 commented on June 12, 2024

@markmandel, should we focus only on xonotic and simple-game-server, or include all example images? If we include all, shall I submit a PR for the rest? I've updated the Docker image to version 24.0.6 in all the CloudBuild scripts. Almost all builds have succeeded, the build for c++ is still running.

from agones.

markmandel avatar markmandel commented on June 12, 2024

Honestly, I was only going to worry about it for those examples that had multi architecture manifests (such as Xonotic) - but it probably doesn't hurt to standardise accepts the board.

from agones.

Kalaiselvi84 avatar Kalaiselvi84 commented on June 12, 2024

Both xonotic and simple-game-server PRs have been merged. May I know if there are any further tasks required for this issue?

from agones.

markmandel avatar markmandel commented on June 12, 2024

Next steps for this 🎉:

Note: After the above work is merged, anyone on Docker 20.x will need to update.

Before release, we'll also need to update the release process:

Once this is done, it might also be worth going through any other cloudbuild scripts looking for references to gcr.io/cloud-builders/docker and align everything on gcr.io/cloud-builders/docker:24.0.6 to make everything consistent.

from agones.

markmandel avatar markmandel commented on June 12, 2024

Found another file that needs updating:

- "echo 'FROM gcr.io/cloud-builders/docker\nRUN apt-get install make\nENTRYPOINT\

- name: gcr.io/cloud-builders/docker

@gongmax - sorry looks like we broke your performance test CI.

from agones.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.