-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Assign workflows to agents with the best label matches #4201
Conversation
or is it a feature? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4201 +/- ##
==========================================
+ Coverage 26.46% 26.48% +0.02%
==========================================
Files 376 376
Lines 27455 27465 +10
==========================================
+ Hits 7265 7275 +10
Misses 19525 19525
Partials 665 665 ☔ View full report in Codecov by Sentry. |
https://app.codecov.io/gh/woodpecker-ci/woodpecker/pull/4201/blob/server/grpc/filter.go 100% test coverage :D |
Co-authored-by: Anbraten <[email protected]>
Co-authored-by: Anbraten <[email protected]>
Co-authored-by: Anbraten <[email protected]>
Tearing down https://woodpecker-ci-woodpecker-pr-4201.surge.sh |
This make sure if there are org and global agents, that workflows get fetched by the org agent they are in first and only if not available will the global one fetch it.
This also let you control agent priority etc ...
before the selection of an agent was kinda at random ...