-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
GitHub Runner passive scaler #4281
Conversation
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Semgrep found 6 Should Created by questionable-assignment. |
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
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.
@Eldarrin the unit test is really great and thorough, though do you think that we can add e2e test as well? It's one of our requirements for a new scaler.
I'll look into the e2e next week :) |
Thanks 🙏 just FYI, we plan to release 2.10 later this week (in case you would want to have that scaler in). |
Signed-off-by: mortx <mortxbox@live.com>
/run-e2e github* |
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.
@Eldarrin could you please fix the Static Checks and please also make sure that you run go mod vendor
and include changes in vendor
dir in the PR :)
…-tools) Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: Eldarrin <32762846+Eldarrin@users.noreply.github.com>
I have added these envs @Eldarrin :
|
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: Eldarrin <32762846+Eldarrin@users.noreply.github.com>
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.
/run-e2e github*
/run-e2e github* |
Signed-off-by: mortx <mortxbox@live.com>
/run-e2e github* |
Signed-off-by: mortx <mortxbox@live.com>
Signed-off-by: mortx <mortxbox@live.com>
@Eldarrin , how are you adding the deps to the vendor folder? I ask because there has been missing vendor deps twice and I'm afraid about if you add them manually. To update vendor folder, you just need to execute |
/run-e2e github* |
They were in vendor; I just didn’t add them to my commit by mistake. In bed atm watching the builds and getting up when I see another oh damn moment. :) |
No worries, I just asked because it wasn't obvious to me the first time :) |
/run-e2e github* |
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.
LGTM! 2 small things, only inline and the other:
Could you add a test like https://github.com/kedacore/keda/blob/main/pkg/scalers/artemis_scaler_test.go#L145 to ensure the generated metric name?
Signed-off-by: mortx <mortxbox@live.com>
You have done an awesome work! |
/run-e2e github* |
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.
LGTM
awesome job! Thanks for the contribution.
Signed-off-by: mortx <mortxbox@live.com> Signed-off-by: Eldarrin <32762846+Eldarrin@users.noreply.github.com>
This is a new scaler that will use GitHub's REST API to schedule scaled runners. It is designed to work in conjunction with GitHub Actions.
Checklist
Fixes #
Relates to #1732