[e2e] Document the best path for making changes to simple-game-server for e2e tests #3836
Labels
area/build-tools
Development tooling. I.e. pretty much everything in the `build` directory.
area/tests
Unit tests, e2e tests, anything to make sure things don't break
awaiting-maintainer
Block issues from being stale/obsolete/closed
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
kind/documentation
Documentation for Agones
kind/feature
New features for Agones
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:
agones/test/e2e/framework/framework.go
Lines 152 to 169 in bff72b1
Line:
agones/test/e2e/framework/framework.go
Line 802 in bff72b1
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
The text was updated successfully, but these errors were encountered: