googleforgames / agones

Dedicated Game Server Hosting and Scaling for Multiplayer Games on Kubernetes
https://agones.dev
Apache License 2.0
6.1k stars 816 forks source link

Adds basic framework for the in place Agones upgrades test controller #3956

Closed igooch closed 2 months ago

igooch commented 3 months ago

What type of PR is this?

/kind feature

What this PR does / Why we need it:

This is the first piece of testing in place Agones upgrades.

Which issue(s) this PR fixes:

Working on #3795

Special notes for your reviewer:

To run:

  1. Have a running Kubernetes cluster with Agones installed
  2. Have REGISTRY set to your artifact registry
  3. The $(REGISTRY) value in upgradeTest.yaml currently needs to be manually set to your registry
  4. make build && make push to your registry
  5. kubectl apply -f permissions.yaml for reading Pod and Node
  6. kubectl apply -f versionMap.yaml to load the configmap
  7. kubectl apply -f upgradeTest.yaml to run the test runner
  8. You should be able to see the valid configurations printed out in logs explorer with filter resource.labels.container_name="upgrade-test-controller"
agones-bot commented 3 months ago

Build Failed :sob:

Build Id: 500a31c7-f163-4624-9bda-c827eaffd498

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

agones-bot commented 2 months ago

Build Failed :sob:

Build Id: 5471404c-60c9-4ae5-aa8a-c54cddfe4203

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

agones-bot commented 2 months ago

Build Failed :sob:

Build Id: 8c2a6f50-e4d8-485e-a742-b0fff36db20c

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

agones-bot commented 2 months ago

Build Succeeded :partying_face:

Build Id: 6a2e0bce-c96c-4a46-aa49-3a5d42fe7d88

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/3956/head:pr_3956 && git checkout pr_3956
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.43.0-dev-dd57ce5
agones-bot commented 2 months ago

Build Succeeded :partying_face:

Build Id: 2d631d70-4674-4e6e-a410-38768acc90be

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/3956/head:pr_3956 && git checkout pr_3956
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.43.0-dev-b765f49