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 workflow label filters #72

Closed
anbraten opened this issue Dec 25, 2023 · 1 comment
Closed

Add workflow label filters #72

anbraten opened this issue Dec 25, 2023 · 1 comment
Labels
feature Add new feature

Comments

@anbraten
Copy link
Member

It would be helpful to restrict autoscalers to only care for workflows with specific labels. This would for example allow to start an autoscaler per architecture or specific region, ...

Related to: woodpecker-ci/woodpecker#2803

@Lerentis implemented sth like this in an alternative autoscaler using the existing endpoints: https://github.com/Lerentis/woodpecker-autoscaler/blob/main/internal/woodpecker/metrics.go#L49-L55

@anbraten anbraten added the feature Add new feature label Dec 25, 2023
@anbraten
Copy link
Member Author

implemented by #134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Add new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant