From d293da7093e5341b66ed2bbb04344a21205d66e9 Mon Sep 17 00:00:00 2001 From: Kalaiselvi Murugesan Date: Wed, 10 Jan 2024 22:18:57 +0000 Subject: [PATCH] Bump Example Images: Rust, Crd-client, NodeJS, Autoscaler-webhook --- examples/nodejs-simple/README.md | 12 ++++++------ examples/rust-simple/README.md | 2 +- examples/rust-simple/gameserver.yaml | 2 +- install/helm/agones/templates/tests/test-runner.yaml | 2 +- test/e2e/examples_test.go | 4 ++-- test/e2e/fleetautoscaler_test.go | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/nodejs-simple/README.md b/examples/nodejs-simple/README.md index 801c8f26a5..3817489e14 100644 --- a/examples/nodejs-simple/README.md +++ b/examples/nodejs-simple/README.md @@ -42,7 +42,7 @@ $ make run The example can also be run via docker: ``` -$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.9 +$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10 ``` Or directly via npm: ``` @@ -51,7 +51,7 @@ $ npm start You will see the output like the following: ``` -docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.9 +docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10 > @ start /home/server/examples/nodejs-simple > node src/index.js @@ -63,7 +63,7 @@ Connecting to the SDK server... To see help, pass `--help` as the argument (use the preferred command below, all are equivalent): ``` $ make args="--help" run -$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.9 --help +$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10 --help $ npm start -- --help ``` @@ -71,14 +71,14 @@ You can optionally specify how long the server will stay up once the basic tests To do this pass arguments through, e.g. to increase the shutdown duration to 120 seconds: ``` $ make args="--timeout=120" run -$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.9 --timeout=120 +$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10 --timeout=120 $ npm start -- --timeout=120 ``` To make run indefinitely use the special timeout value of 0: ``` $ make args="--timeout=0" run -$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.9 --timeout=0 +$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10 --timeout=0 $ npm start -- --timeout=0 ``` @@ -90,6 +90,6 @@ $ cd ../../build; make run-sdk-conformance-local TIMEOUT=120 FEATURE_GATES="Play Then enable the alpha suite: ``` $ make args="--alpha" run -$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.9 --alpha +$ docker run --network=host us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10 --alpha $ npm start -- --alpha ``` diff --git a/examples/rust-simple/README.md b/examples/rust-simple/README.md index d8044bf46b..419c4b66fb 100644 --- a/examples/rust-simple/README.md +++ b/examples/rust-simple/README.md @@ -37,7 +37,7 @@ $ make run-image You will see the following output: ``` -docker run --network=host us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.11 +docker run --network=host us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.13 Rust Game Server has started! Creating SDK instance Setting a label diff --git a/examples/rust-simple/gameserver.yaml b/examples/rust-simple/gameserver.yaml index 986d8c4414..ef4eb812b0 100644 --- a/examples/rust-simple/gameserver.yaml +++ b/examples/rust-simple/gameserver.yaml @@ -26,5 +26,5 @@ spec: spec: containers: - name: rust-simple - image: us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.11 + image: us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.13 imagePullPolicy: Always diff --git a/install/helm/agones/templates/tests/test-runner.yaml b/install/helm/agones/templates/tests/test-runner.yaml index 7cb100f3f0..f1dcf9206c 100644 --- a/install/helm/agones/templates/tests/test-runner.yaml +++ b/install/helm/agones/templates/tests/test-runner.yaml @@ -25,7 +25,7 @@ spec: serviceAccountName: agones-controller containers: - name: create-gameserver - image: us-docker.pkg.dev/agones-images/examples/crd-client:0.12 + image: us-docker.pkg.dev/agones-images/examples/crd-client:0.13 imagePullPolicy: Always env: - name: GAMESERVER_IMAGE diff --git a/test/e2e/examples_test.go b/test/e2e/examples_test.go index 0779b66f72..7e163c5935 100644 --- a/test/e2e/examples_test.go +++ b/test/e2e/examples_test.go @@ -84,7 +84,7 @@ func TestRustGameServerReady(t *testing.T) { Containers: []corev1.Container{ { Name: "rust-simple", - Image: "us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.11", + Image: "us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.13", }, }, }, @@ -156,7 +156,7 @@ func TestNodeJSGameServerReady(t *testing.T) { Containers: []corev1.Container{ { Name: "nodejs-simple", - Image: "us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.9", + Image: "us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10", Resources: corev1.ResourceRequirements{ Requests: corev1.ResourceList{ corev1.ResourceMemory: resource.MustParse("100Mi"), diff --git a/test/e2e/fleetautoscaler_test.go b/test/e2e/fleetautoscaler_test.go index 1d2f31da31..611face875 100644 --- a/test/e2e/fleetautoscaler_test.go +++ b/test/e2e/fleetautoscaler_test.go @@ -644,7 +644,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.9", + Image: "us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.10", ImagePullPolicy: corev1.PullAlways, Ports: []corev1.ContainerPort{{ ContainerPort: 8000,