For moving to CI - set the image tag to a 0.xx-dev tag (so -dev with the version number), and imagePullPolicy to Always, and create a draft PR.
With this approach the developer (or maintainer who is helping) can publish the -dev version multiple times without polluting the production version space, can can fix issues with CI's help without any risk.
Once CI is passing and review has occured, the PR can be edited to remove the -dev tag, move imagePullPolicy back to IfNotPresent, and the production version 0.xx can be published -- and the PR merged.
The -dev can also be manually cleaned up if required as well.
Describe alternatives you've considered
Rather than a -dev suffix, we could guide people to use the us-docker.pkg.dev/agones-images/ci repository, that will have a 40 day cleanup rule (eventually - I need to check the audit logs for some previous cleanup work), so no manual cleanup step is required.
So, for example - us-docker.pkg.dev/agones-images/examples/simple-game-server:0.32 would become us-docker.pkg.dev/agones-images/ci/simple-game-server:0.32
I think I like this better - but would like consensus.
Is your feature request related to a problem? Please describe.
There is lots of confusion on the best path for how to make changes to simple game server in a safe way.
Describe the solution you'd like
Make the ImagePullPolicy a variable, so it can easily be set to
Always
:Variables:
https://github.com/googleforgames/agones/blob/bff72b1161492d7386e0bf39ca0753802c4b3e3a/test/e2e/framework/framework.go#L152-L169
Line:
https://github.com/googleforgames/agones/blob/bff72b1161492d7386e0bf39ca0753802c4b3e3a/test/e2e/framework/framework.go#L802
Write a new section in https://github.com/googleforgames/agones/blob/main/build/README.md#testing-and-building called "Making changes to Simple Game Server with e2e Tests", with the following documentation:
0.xx-dev
tag (so-dev
with the version number), andimagePullPolicy
toAlways
, and create a draft PR.-dev
version multiple times without polluting the production version space, can can fix issues with CI's help without any risk.-dev
tag, moveimagePullPolicy
back toIfNotPresent
, and the production version0.xx
can be published -- and the PR merged.-dev
can also be manually cleaned up if required as well.Describe alternatives you've considered
Rather than a
-dev
suffix, we could guide people to use theus-docker.pkg.dev/agones-images/ci
repository, that will have a 40 day cleanup rule (eventually - I need to check the audit logs for some previous cleanup work), so no manual cleanup step is required.So, for example -
us-docker.pkg.dev/agones-images/examples/simple-game-server:0.32
would becomeus-docker.pkg.dev/agones-images/ci/simple-game-server:0.32
I think I like this better - but would like consensus.
Additional context
N/A