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 Annotations validation for Template ObjectMeta #1266

Merged
merged 2 commits into from
Jan 11, 2020

Conversation

aLekSer
Copy link
Collaborator

@aLekSer aLekSer commented Jan 9, 2020

Check key/value length and format for Annotations which belongs to Fleet, GameServerSet and
GameServerSpec.

For #1244 .

Steps to reproduce is here: #1244 (comment)

@aLekSer
Copy link
Collaborator Author

aLekSer commented Jan 9, 2020

Can open a separate issue if needed, but it is identical to Labels issue. Note that ValidateAnnotations() belongs to a separate import path.
Annotations Kubernetes doc for the reference.

@aLekSer aLekSer force-pushed the validateAnnotations branch 2 times, most recently from 6626daf to 68b10dc Compare January 9, 2020 14:34
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: ec9c9ff9-2cac-4794-b708-e640f86eea57

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/1266/head:pr_1266 && git checkout pr_1266
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.3.0-2cd7956

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: bacd8f2a-27b2-482d-a66d-bc36d5e76298

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/1266/head:pr_1266 && git checkout pr_1266
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.3.0-6626daf

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 936ce7d9-984d-433e-bfea-1eba5ee3c8f6

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/1266/head:pr_1266 && git checkout pr_1266
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.3.0-68b10dc

@markmandel
Copy link
Member

Is this ready for review? Or shall I wait until it moved out Draft?

@aLekSer
Copy link
Collaborator Author

aLekSer commented Jan 10, 2020

I will add more tests today and move this PR into a Ready state.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: d644862d-a81d-48e1-8ead-1df3bc0f64ee

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/1266/head:pr_1266 && git checkout pr_1266
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.3.0-40e0421

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 1f028401-c49d-4905-8e12-abc8412fa114

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: a489e7c2-a0f5-48ce-ac8e-d741cbf6ff7f

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

Check value and key length for Annotations which belongs to Fleet and
GameServerSpec.
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: a77a9566-733f-42ee-b7cb-12d06fe6e67f

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/1266/head:pr_1266 && git checkout pr_1266
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.3.0-6b4d5a0

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aLekSer, markmandel

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@markmandel markmandel added area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones lgtm and removed approved labels Jan 11, 2020
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aLekSer, markmandel

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 46cc0be1-bfe3-49e5-8b8a-5e238abe0e29

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/1266/head:pr_1266 && git checkout pr_1266
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.3.0-9e8531d

@markmandel markmandel added this to the 1.3.0 milestone Jan 11, 2020
@markmandel markmandel merged commit e2132cc into googleforgames:master Jan 11, 2020
@aLekSer aLekSer deleted the validateAnnotations branch January 13, 2020 15:24
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
Check value and key length for Annotations which belongs to Fleet and
GameServerSpec.

Co-authored-by: Mark Mandel <mark.mandel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones lgtm size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants