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

new forgejo scaler #6495

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

cobak78
Copy link

@cobak78 cobak78 commented Jan 22, 2025

This PR adds a new forgejo autoscaler with the same characteristics of the github autoscaler.
Here is the issue for this feature #6488

Another important discussions on this topic:

Checklist

@cobak78 cobak78 requested a review from a team as a code owner January 22, 2025 14:40
@cobak78 cobak78 force-pushed the forgejo-runner-scaler branch from 03fd3a1 to 39fd60d Compare January 22, 2025 14:43
@cobak78 cobak78 force-pushed the forgejo-runner-scaler branch 2 times, most recently from 5b9d520 to f13dbc7 Compare January 23, 2025 11:41
Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your contribution! I've left some comment inline. Additionally to them:

  • Please, add an e2e test covering the scaler. You get more info about how to do it here
  • Could you open a PR to docs adding the scaler in next version?
  • All commits must be signed and that's why DCO check is failing, please rebase your branch signing all the commits (how to do that it's explained in the check page)

pkg/scalers/forgejo/action.go Outdated Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler.go Outdated Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler.go Outdated Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler.go Outdated Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler.go Outdated Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler.go Outdated Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler.go Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler.go Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler_test.go Show resolved Hide resolved
pkg/scalers/forgejo_runner_scaler_test.go Outdated Show resolved Hide resolved
@cobak78 cobak78 force-pushed the forgejo-runner-scaler branch 5 times, most recently from 5a3c0bd to 6b7ca20 Compare January 29, 2025 09:27
jaime merino added 3 commits January 29, 2025 10:43
Signed-off-by: jaime merino <[email protected]>
Signed-off-by: jaime merino <[email protected]>
Signed-off-by: jaime merino <[email protected]>
@cobak78 cobak78 force-pushed the forgejo-runner-scaler branch from 6b7ca20 to a63882e Compare January 29, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants