-
Notifications
You must be signed in to change notification settings - Fork 826
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 metadata to agones webhook autoscaler request #3957
base: main
Are you sure you want to change the base?
add metadata to agones webhook autoscaler request #3957
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Build Failed 😭 Build Id: 5ade9d2e-d20e-4cad-b76b-697960ab7ff0 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
a970b12
to
9ec84ce
Compare
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.
@swermin kindly ping on this, could you resolve the conflicts and address the above comments? |
Yes ofc! I have unit tests ready and just left with the e2e tests. I’ll push the current changes and focus on the e2e tests today and this weekend if needed! |
9ec84ce
to
f56ba00
Compare
Build Failed 😭 Build Id: 166b3f1b-5297-4b2a-bc9b-3b0ec925abe5 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😭 Build Id: 984531ec-7bcc-4fa4-bf36-089d5719a947 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
@igooch do you have any good suggestions on how to do the e2e tests for this? |
b9ab8fd
to
8d0c86a
Compare
Build Failed 😭 Build Id: 0ef393db-4a59-403f-8729-4a86e54fb6d3 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
I just got back from being out of office, so I'm still catching up. For the e2e tests, do you need to make changes to From the most recent build:
You'll need to run |
8d0c86a
to
9e74cc5
Compare
Build Succeeded 🥳 Build Id: 00518f36-9edb-49bc-8c2a-b755dd8f48d1 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:
|
/gcbrun |
Build Succeeded 🥳 Build Id: eb8ecbc4-2d69-463d-befa-65337072b6f2 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:
|
@@ -374,6 +374,8 @@ type FleetAutoscaleRequest struct { | |||
Namespace string `json:"namespace"` | |||
// The Fleet's status values | |||
Status v1.FleetStatus `json:"status"` | |||
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |
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.
Super late to this party, but new additions will need a feature shortcode. See https://agones.dev/site/docs/contribute/#within-a-page for an example.
Also an addition here: https://github.com/googleforgames/agones/blob/main/site/content/en/docs/Guides/feature-stages.md?plain=1#L41 (also feature shortcode - may need to copy the whole table).
This is because docs get published intermediately, so we need to hold back documentation on unreleased features.
Added a note on the issue as well, but my suggestion is that we let this PR through as is (with the above docs changes), and then follow up with e2e test PR. |
Biggest problem with the e2e test is that I need to specify a version of the container to use. So there is no way for me to do the change without having to do two different PRs (at least what I know of) I tried multiple different ways of getting a e2e test in without having to separate the builds but I cannot seem to find a solution :( |
2b4929b
to
0c9b515
Compare
0c9b515
to
315d70d
Compare
What type of PR is this?
/kind feature
What this PR does / Why we need it:
This PR extends the webhook autoscaler with metadata, so that the the service retrieving the request can use the lables/annotations to do the calculation
Which issue(s) this PR fixes:
Closes #3951
Special notes for your reviewer: