From d65bdd2aa67b521c696d78f2e9514300ac00a373 Mon Sep 17 00:00:00 2001 From: Kalaiselvim <117940852+Kalaiselvi84@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:28:09 +0000 Subject: [PATCH] Example Images: Increment Tags (#3796) * bump allocation-endpoint-proxy * bump autoscaler-webhook * bump custom controller * bump sgs * bump crd-client * bump supertuxkart * bump xonotic --- build/Makefile | 2 +- examples/allocation-endpoint/terraform/variable.tf | 2 +- examples/autoscaler-webhook/autoscaler-service-tls.yaml | 2 +- examples/autoscaler-webhook/autoscaler-service.yaml | 2 +- examples/crd-client/create-gs.yaml | 4 ++-- examples/custom-controller/deployment.yaml | 2 +- examples/fleet.yaml | 2 +- examples/gameserver.yaml | 2 +- examples/simple-game-server/dev-gameserver.yaml | 2 +- examples/simple-game-server/fleet-distributed.yaml | 2 +- examples/simple-game-server/fleet-tcp.yaml | 2 +- examples/simple-game-server/fleet.yaml | 2 +- examples/simple-game-server/gameserver-passthrough.yaml | 2 +- examples/simple-game-server/gameserver-windows.yaml | 2 +- examples/simple-game-server/gameserver.yaml | 2 +- examples/supertuxkart/fleet.yaml | 2 +- examples/supertuxkart/gameserver.yaml | 2 +- examples/xonotic/fleet.yaml | 2 +- examples/xonotic/gameserver.yaml | 2 +- install/helm/agones/templates/tests/test-runner.yaml | 4 ++-- pkg/util/webhooks/webhooks_test.go | 2 +- site/config.toml | 2 +- test/e2e/examples_test.go | 4 ++-- test/e2e/fleetautoscaler_test.go | 2 +- test/e2e/framework/framework.go | 2 +- test/e2e/gameserver_test.go | 2 +- test/load/allocation/fleet.yaml | 2 +- test/load/allocation/performance-test-fleet-template.yaml | 2 +- test/load/allocation/scenario-fleet.yaml | 2 +- 29 files changed, 32 insertions(+), 32 deletions(-) diff --git a/build/Makefile b/build/Makefile index 6c602f82b6..9955248bdf 100644 --- a/build/Makefile +++ b/build/Makefile @@ -61,7 +61,7 @@ KIND_PROFILE ?= agones KIND_CONTAINER_NAME=$(KIND_PROFILE)-control-plane # Game Server image to use while doing end-to-end tests -GS_TEST_IMAGE ?= us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 +GS_TEST_IMAGE ?= us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 # Enable all alpha feature gates. Keep in sync with `false` (alpha) entries in pkg/util/runtime/features.go:featureDefaults ALPHA_FEATURE_GATES ?= "PlayerAllocationFilter=true&PlayerTracking=true&CountsAndLists=true&Example=true" diff --git a/examples/allocation-endpoint/terraform/variable.tf b/examples/allocation-endpoint/terraform/variable.tf index 761cc7a88b..ce4ba30033 100644 --- a/examples/allocation-endpoint/terraform/variable.tf +++ b/examples/allocation-endpoint/terraform/variable.tf @@ -20,7 +20,7 @@ variable "project_id" { variable "ae_proxy_image" { type = string description = "The docker image of the allocation proxy." - default = "us-docker.pkg.dev/agones-images/examples/allocation-endpoint-proxy:0.7" + default = "us-docker.pkg.dev/agones-images/examples/allocation-endpoint-proxy:0.8" } variable "region" { diff --git a/examples/autoscaler-webhook/autoscaler-service-tls.yaml b/examples/autoscaler-webhook/autoscaler-service-tls.yaml index b6625e8ca6..dca068b3dc 100644 --- a/examples/autoscaler-webhook/autoscaler-service-tls.yaml +++ b/examples/autoscaler-webhook/autoscaler-service-tls.yaml @@ -54,7 +54,7 @@ spec: secretName: autoscalersecret containers: - name: autoscaler-webhook - image: us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.12 + image: us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.13 imagePullPolicy: Always volumeMounts: - mountPath: /home/service/certs diff --git a/examples/autoscaler-webhook/autoscaler-service.yaml b/examples/autoscaler-webhook/autoscaler-service.yaml index 4d61738c0d..3faba2ca40 100644 --- a/examples/autoscaler-webhook/autoscaler-service.yaml +++ b/examples/autoscaler-webhook/autoscaler-service.yaml @@ -50,7 +50,7 @@ spec: # serviceAccount: autoscaler-webhook containers: - name: autoscaler-webhook - image: us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.12 + image: us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.13 imagePullPolicy: Always ports: - name: autoscaler diff --git a/examples/crd-client/create-gs.yaml b/examples/crd-client/create-gs.yaml index 1357bec3c9..567b63e9b0 100644 --- a/examples/crd-client/create-gs.yaml +++ b/examples/crd-client/create-gs.yaml @@ -34,9 +34,9 @@ spec: cpu: 500m ephemeral-storage: 1Gi memory: 2Gi - image: us-docker.pkg.dev/agones-images/examples/crd-client:0.15 + image: us-docker.pkg.dev/agones-images/examples/crd-client:0.16 imagePullPolicy: Always env: - name: GAMESERVER_IMAGE - value: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + value: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 restartPolicy: Never diff --git a/examples/custom-controller/deployment.yaml b/examples/custom-controller/deployment.yaml index b413ecf2dc..3865211d30 100644 --- a/examples/custom-controller/deployment.yaml +++ b/examples/custom-controller/deployment.yaml @@ -64,5 +64,5 @@ spec: serviceAccountName: custom-controller-sa containers: - name: custom-controller - image: us-docker.pkg.dev/agones-images/examples/custom-controller:0.3 + image: us-docker.pkg.dev/agones-images/examples/custom-controller:0.4 imagePullPolicy: Always diff --git a/examples/fleet.yaml b/examples/fleet.yaml index 9d336e2884..c17207e522 100644 --- a/examples/fleet.yaml +++ b/examples/fleet.yaml @@ -114,4 +114,4 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 diff --git a/examples/gameserver.yaml b/examples/gameserver.yaml index a449e81c92..f14ad13545 100644 --- a/examples/gameserver.yaml +++ b/examples/gameserver.yaml @@ -116,7 +116,7 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 imagePullPolicy: Always # nodeSelector is a label that can be used to tell Kubernetes which host # OS to use. For Windows game servers uncomment the nodeSelector diff --git a/examples/simple-game-server/dev-gameserver.yaml b/examples/simple-game-server/dev-gameserver.yaml index d1bedd8560..9b22f6a788 100644 --- a/examples/simple-game-server/dev-gameserver.yaml +++ b/examples/simple-game-server/dev-gameserver.yaml @@ -31,4 +31,4 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 diff --git a/examples/simple-game-server/fleet-distributed.yaml b/examples/simple-game-server/fleet-distributed.yaml index 1a1a0ce578..9b6be7f3e5 100644 --- a/examples/simple-game-server/fleet-distributed.yaml +++ b/examples/simple-game-server/fleet-distributed.yaml @@ -32,7 +32,7 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 resources: requests: memory: 64Mi diff --git a/examples/simple-game-server/fleet-tcp.yaml b/examples/simple-game-server/fleet-tcp.yaml index a867760897..8d94bf5336 100644 --- a/examples/simple-game-server/fleet-tcp.yaml +++ b/examples/simple-game-server/fleet-tcp.yaml @@ -28,7 +28,7 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 env: # Disables the UDP listener (Enabled by default) - name: UDP diff --git a/examples/simple-game-server/fleet.yaml b/examples/simple-game-server/fleet.yaml index 49f9f95311..877b1d918b 100644 --- a/examples/simple-game-server/fleet.yaml +++ b/examples/simple-game-server/fleet.yaml @@ -27,7 +27,7 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 resources: requests: memory: 64Mi diff --git a/examples/simple-game-server/gameserver-passthrough.yaml b/examples/simple-game-server/gameserver-passthrough.yaml index 68db9e35a3..dc0ab901f2 100644 --- a/examples/simple-game-server/gameserver-passthrough.yaml +++ b/examples/simple-game-server/gameserver-passthrough.yaml @@ -24,7 +24,7 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 env: - name: PASSTHROUGH value: 'TRUE' diff --git a/examples/simple-game-server/gameserver-windows.yaml b/examples/simple-game-server/gameserver-windows.yaml index 7a9f7479ea..4bdb2231f4 100644 --- a/examples/simple-game-server/gameserver-windows.yaml +++ b/examples/simple-game-server/gameserver-windows.yaml @@ -25,7 +25,7 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 resources: requests: memory: 64Mi diff --git a/examples/simple-game-server/gameserver.yaml b/examples/simple-game-server/gameserver.yaml index 50f9beeab6..40f5e7d4b6 100644 --- a/examples/simple-game-server/gameserver.yaml +++ b/examples/simple-game-server/gameserver.yaml @@ -25,7 +25,7 @@ spec: spec: containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 resources: requests: memory: 64Mi diff --git a/examples/supertuxkart/fleet.yaml b/examples/supertuxkart/fleet.yaml index 1de5238b35..d178f7f926 100644 --- a/examples/supertuxkart/fleet.yaml +++ b/examples/supertuxkart/fleet.yaml @@ -32,4 +32,4 @@ spec: spec: containers: - name: supertuxkart - image: us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.12 + image: us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.13 diff --git a/examples/supertuxkart/gameserver.yaml b/examples/supertuxkart/gameserver.yaml index c75de2f8af..e2efce20eb 100644 --- a/examples/supertuxkart/gameserver.yaml +++ b/examples/supertuxkart/gameserver.yaml @@ -24,7 +24,7 @@ spec: spec: containers: - name: supertuxkart - image: us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.12 + image: us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.13 # imagePullPolicy: Always # add for development env: - name: ENABLE_PLAYER_TRACKING diff --git a/examples/xonotic/fleet.yaml b/examples/xonotic/fleet.yaml index 91454eae2a..4191b8bc82 100644 --- a/examples/xonotic/fleet.yaml +++ b/examples/xonotic/fleet.yaml @@ -35,7 +35,7 @@ spec: spec: containers: - name: xonotic - image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.8 + image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.9 resources: requests: memory: 700Mi diff --git a/examples/xonotic/gameserver.yaml b/examples/xonotic/gameserver.yaml index b9cd16e604..5fd39afa2f 100644 --- a/examples/xonotic/gameserver.yaml +++ b/examples/xonotic/gameserver.yaml @@ -24,7 +24,7 @@ spec: spec: containers: - name: xonotic - image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.8 + image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.9 resources: requests: memory: 700Mi diff --git a/install/helm/agones/templates/tests/test-runner.yaml b/install/helm/agones/templates/tests/test-runner.yaml index 7f9f85a247..8f56e7f606 100644 --- a/install/helm/agones/templates/tests/test-runner.yaml +++ b/install/helm/agones/templates/tests/test-runner.yaml @@ -25,11 +25,11 @@ spec: serviceAccountName: agones-controller containers: - name: create-gameserver - image: us-docker.pkg.dev/agones-images/examples/crd-client:0.15 + image: us-docker.pkg.dev/agones-images/examples/crd-client:0.16 imagePullPolicy: Always env: - name: GAMESERVER_IMAGE - value: "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30" + value: "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31" - name: IS_HELM_TEST value: "true" - name: GAMESERVERS_NAMESPACE diff --git a/pkg/util/webhooks/webhooks_test.go b/pkg/util/webhooks/webhooks_test.go index 2bf0d90605..199cb82f69 100644 --- a/pkg/util/webhooks/webhooks_test.go +++ b/pkg/util/webhooks/webhooks_test.go @@ -164,7 +164,7 @@ func TestWebHookFleetValidationHandler(t *testing.T) { "template": { "spec": { "containers": [{ - "image": "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30", + "image": "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31", "name": false }] } diff --git a/site/config.toml b/site/config.toml index 3d647e0190..1cd4f17200 100644 --- a/site/config.toml +++ b/site/config.toml @@ -100,7 +100,7 @@ dev_eks_example_cluster_version = "1.29" dev_minikube_example_cluster_version = "1.28.6" # example tag -example_image_tag = "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30" +example_image_tag = "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31" # Enable syntax highlighting and copy buttons on code blocks with Prism prism_syntax_highlighting = true diff --git a/test/e2e/examples_test.go b/test/e2e/examples_test.go index b8d8648535..5cf92b8ed9 100644 --- a/test/e2e/examples_test.go +++ b/test/e2e/examples_test.go @@ -45,7 +45,7 @@ func TestSuperTuxKartGameServerReady(t *testing.T) { Containers: []corev1.Container{ { Name: "supertuxkart", - Image: "us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.12", + Image: "us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.13", Env: []corev1.EnvVar{ { Name: "ENABLE_PLAYER_TRACKING", @@ -203,7 +203,7 @@ func TestXonoticGameServerReady(t *testing.T) { Containers: []corev1.Container{ { Name: "xonotic", - Image: "us-docker.pkg.dev/agones-images/examples/xonotic-example:1.8", + Image: "us-docker.pkg.dev/agones-images/examples/xonotic-example:1.9", Resources: corev1.ResourceRequirements{ Requests: corev1.ResourceList{ corev1.ResourceMemory: resource.MustParse("700Mi"), diff --git a/test/e2e/fleetautoscaler_test.go b/test/e2e/fleetautoscaler_test.go index f7613bbb0a..cb84379e81 100644 --- a/test/e2e/fleetautoscaler_test.go +++ b/test/e2e/fleetautoscaler_test.go @@ -645,7 +645,7 @@ func defaultAutoscalerWebhook(namespace string) (*corev1.Pod, *corev1.Service) { }, Spec: corev1.PodSpec{ Containers: []corev1.Container{{Name: "webhook", - Image: "us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.12", + Image: "us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.13", ImagePullPolicy: corev1.PullAlways, Ports: []corev1.ContainerPort{{ ContainerPort: 8000, diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 748cb72591..c25fca6a71 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -150,7 +150,7 @@ func NewFromFlags() (*Framework, error) { } viper.SetDefault(kubeconfigFlag, filepath.Join(usr.HomeDir, ".kube", "config")) - viper.SetDefault(gsimageFlag, "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30") + viper.SetDefault(gsimageFlag, "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31") viper.SetDefault(pullSecretFlag, "") viper.SetDefault(stressTestLevelFlag, 0) viper.SetDefault(perfOutputDirFlag, "") diff --git a/test/e2e/gameserver_test.go b/test/e2e/gameserver_test.go index ac58708634..71ec281a13 100644 --- a/test/e2e/gameserver_test.go +++ b/test/e2e/gameserver_test.go @@ -1110,7 +1110,7 @@ spec: preferredDuringSchedulingIgnoredDuringExecution: ERROR containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 ` err := os.WriteFile("/tmp/invalid.yaml", []byte(gsYaml), 0o644) require.NoError(t, err) diff --git a/test/load/allocation/fleet.yaml b/test/load/allocation/fleet.yaml index 71adae47db..0f40b11dbc 100644 --- a/test/load/allocation/fleet.yaml +++ b/test/load/allocation/fleet.yaml @@ -33,7 +33,7 @@ spec: spec: containers: - args: [-automaticShutdownDelaySec=600] - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 name: simple-game-server resources: limits: diff --git a/test/load/allocation/performance-test-fleet-template.yaml b/test/load/allocation/performance-test-fleet-template.yaml index ed1d6ca935..5dd0a2cd90 100644 --- a/test/load/allocation/performance-test-fleet-template.yaml +++ b/test/load/allocation/performance-test-fleet-template.yaml @@ -33,7 +33,7 @@ spec: spec: containers: - args: [-automaticShutdownDelaySec=AUTOMATIC_SHUTDOWN_DELAY_SEC_REPLACEMENT] - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 name: simple-game-server resources: limits: diff --git a/test/load/allocation/scenario-fleet.yaml b/test/load/allocation/scenario-fleet.yaml index 1d235161aa..691a15606c 100644 --- a/test/load/allocation/scenario-fleet.yaml +++ b/test/load/allocation/scenario-fleet.yaml @@ -38,7 +38,7 @@ spec: value: 'true' containers: - name: simple-game-server - image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.30 + image: us-docker.pkg.dev/agones-images/examples/simple-game-server:0.31 args: [-automaticShutdownDelaySec=60, -readyIterations=10] resources: limits: