-
Notifications
You must be signed in to change notification settings - Fork 819
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
Fix test failure due to v1alpha becoming v1. #1361
Fix test failure due to v1alpha becoming v1. #1361
Conversation
/assign @roberthbailey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change. Tracking issue #1333
Build Succeeded 👏 Build Id: 3c1122e0-05c4-4ec7-88d4-9bbcc204e893 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:
|
The make test errors being fixed are: htmltest started at 08:57:46 on /tmp/website ======================================================================== site/docs/advanced/multi-cluster-allocation/index.html Non-OK status: 404 --- site/docs/advanced/multi-cluster-allocation/index.html --> https://github.com/googleforgames/agones/blob/master/pkg/apis/multicluster/v1alpha1/gameserverallocationpolicy.go Non-OK status: 404 --- site/docs/advanced/multi-cluster-allocation/index.html --> https://github.com/googleforgames/agones/blob/master/pkg/apis/multicluster/v1alpha1/gameserverallocationpolicy.go ======================================================================== ✘✘✘ failed in 661.113314ms 2 errors in 99 documents
Build Succeeded 👏 Build Id: 9b36dbf4-91bf-46c6-b88f-24942acbaa05 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:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: drichardson, pooneh-m The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build Succeeded 👏 Build Id: 113c87f0-8363-4ff0-84c7-fad2021b434a 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:
|
Build Succeeded 👏 Build Id: 5c1e8d25-7d98-4ad6-9b67-74a622522432 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:
|
@@ -96,7 +96,7 @@ To enable multi-cluster allocation, set `multiClusterSetting.enabled` to `true` | |||
NAMESPACE=<namespace> | |||
FLEET_NAME=<fleet name> | |||
|
|||
curl https://${EXTERNAL_IP}:443/v1alpha1/gameserverallocation \ | |||
curl https://${EXTERNAL_IP}:443/v1alpha/gameserverallocation \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pooneh-m Uh oh, I screwed up here. I meant to revert back to v1alpha1 but used v1alpha instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the catch. I'll fix it with my change.
|
||
In the following example the policy is defined for cluster B in cluster A. | ||
|
||
```bash | ||
cat <<EOF | kubectl apply -f - | ||
apiVersion: multicluster.agones.dev/v1alpha1 | ||
apiVersion: multicluster.agones.dev/v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also screwed this up. Meant to revert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v1 is correct
The make test errors being fixed are: htmltest started at 08:57:46 on /tmp/website ======================================================================== site/docs/advanced/multi-cluster-allocation/index.html Non-OK status: 404 --- site/docs/advanced/multi-cluster-allocation/index.html --> https://github.com/googleforgames/agones/blob/master/pkg/apis/multicluster/v1alpha1/gameserverallocationpolicy.go Non-OK status: 404 --- site/docs/advanced/multi-cluster-allocation/index.html --> https://github.com/googleforgames/agones/blob/master/pkg/apis/multicluster/v1alpha1/gameserverallocationpolicy.go ======================================================================== ✘✘✘ failed in 661.113314ms 2 errors in 99 documents
The make test errors being fixed are:
Testing Done
Run
make test
.Before change, failed with 2 errors above. After change, passes with no errors.