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

Add missing validation for GameServerSet, refactor #791

Merged
merged 1 commit into from
May 24, 2019

Conversation

aLekSer
Copy link
Collaborator

@aLekSer aLekSer commented May 23, 2019

Add common file which contains all common validations for GS, GSSet and
Fleet. Add const for some err messages.
GSSet now checks Name on Update and GS Spec on Create.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 25c05457-3086-4047-bb46-2e494173e5ed

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

@aLekSer aLekSer force-pushed the gameserverset-validate-gs branch from a532da9 to ed0e9fd Compare May 23, 2019 16:53
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 23783433-6002-4efb-96f3-acc014a06263

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

@aLekSer
Copy link
Collaborator Author

aLekSer commented May 23, 2019

Something went wrong with make test-gen-api-docs. Got an issue that new interface was added to the docs of API:

< <h3 id="CRDName">CRDName
< </h3>
< <p>
< <p>CRDName is an interface to get Name and Kind of CRD</p>
< </p>

@aLekSer aLekSer force-pushed the gameserverset-validate-gs branch from ed0e9fd to 59f3634 Compare May 23, 2019 17:19
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 15cfadd2-614c-423f-b755-0a6bf57c6a12

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

@aLekSer aLekSer force-pushed the gameserverset-validate-gs branch from 59f3634 to 85fb14c Compare May 23, 2019 17:29
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 6c93c76f-1cb8-4b53-bf4f-5a7fdb97c27a

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/GoogleCloudPlatform/agones.git pull/791/head:pr_791 && git checkout pr_791
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.11.0-85fb14c

@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label May 23, 2019
@markmandel markmandel added this to the 0.11.0 milestone May 23, 2019
Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mega minor potential name change. But if you don't like it - then just merge 👍

Nice refactor!

)

// crdName is an interface to get Name and Kind of CRD
type crdName interface {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type crdName interface {
type crd interface {

Maybe? 🤷‍♂️

Copy link
Collaborator Author

@aLekSer aLekSer May 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good naming for this small file, applied proposed changes

Add common file which contains all common validations for GS, GSSet and
Fleet. Add const for some err messages.
GSSet now checks Name on Update and GS Spec on Create.
@aLekSer aLekSer force-pushed the gameserverset-validate-gs branch from 85fb14c to b260d97 Compare May 24, 2019 08:55
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: d48e57ff-3d32-4138-a1dd-a1f066de1231

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/GoogleCloudPlatform/agones.git pull/791/head:pr_791 && git checkout pr_791
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.11.0-b260d97

@markmandel markmandel merged commit da93aed into googleforgames:master May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants