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

Allow configuration option to specify default filter labels #4324

Open
3 tasks done
lafriks opened this issue Nov 6, 2024 · 0 comments · May be fixed by #4326
Open
3 tasks done

Allow configuration option to specify default filter labels #4324

lafriks opened this issue Nov 6, 2024 · 0 comments · May be fixed by #4326
Labels
enhancement improve existing features server

Comments

@lafriks
Copy link
Contributor

lafriks commented Nov 6, 2024

Clear and concise description of the problem

Currently there is no way to limit where to limit agents where pipelines without any filter labels specified to run on.

Suggested solution

Add configuration option for woodpecker server to set default label filters that would be set for pipelines that has no filter set.

This could also be used as alternative to fix #2634

Alternative

As workaround this possible be also implemented in external configuration service but that seems not so straightforward and could be harder to implement

Additional context

Gitlab CI implements similar approach to allow for agents to set option that they are allowed to run "untagged pipelines"

Validations

  • Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@lafriks lafriks added the feature add new functionality label Nov 6, 2024
@lafriks lafriks changed the title Allow for woodpecker server to specify default filter labels Allow configuration option to specify default filter labels Nov 6, 2024
@qwerty287 qwerty287 added server enhancement improve existing features and removed feature add new functionality labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features server
Projects
None yet
2 participants