Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Images: Increment Tags #3796

Merged
merged 10 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/allocation-endpoint/terraform/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion examples/autoscaler-webhook/autoscaler-service-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/autoscaler-webhook/autoscaler-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/crd-client/create-gs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/custom-controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-game-server/dev-gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/simple-game-server/fleet-distributed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-game-server/fleet-tcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-game-server/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-game-server/gameserver-passthrough.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-game-server/gameserver-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-game-server/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/supertuxkart/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/supertuxkart/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/xonotic/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/xonotic/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions install/helm/agones/templates/tests/test-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/webhooks/webhooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}]
}
Expand Down
2 changes: 1 addition & 1 deletion site/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fleetautoscaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "")
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gameserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/load/allocation/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/load/allocation/performance-test-fleet-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/load/allocation/scenario-fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading