We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
server, agent
I'm trying to setup CI agent with several labels but I suppose that filter accounts only last value for each label.
E.g. if WOODPECKER_FILTER_LABELS is set to test_selector=a,test_selector=b then only last part is in effect.
WOODPECKER_FILTER_LABELS
test_selector=a,test_selector=b
NB: "dedicated" CI agent (with WOODPECKER_FILTER_LABELS=test_selector=a) was shutdown before git push
WOODPECKER_FILTER_LABELS=test_selector=a
"offending" pipeline commit: here pending pipeline: here
simplified .woodpecker.yml
.woodpecker.yml
when: event: [ push, tag, manual ] steps: - name: env image: docker.io/library/debian:bookworm-slim commands: - cat /proc/self/environ | sort -zuV | xargs -0 -r -n 1 printf '%q\n' labels: test_selector: a
simplified docker-compose.yml
docker-compose.yml
services: woodpecker: image: docker.io/woodpeckerci/woodpecker-server:v2.4.1 environment: WOODPECKER_HOST: https://ci.krd.sh WOODPECKER_GITEA: "true" WOODPECKER_GITEA_URL: https://git.krd.sh woodpecker-agent-test-a: image: docker.io/woodpeckerci/woodpecker-agent:v2.4.1 environment: WOODPECKER_SERVER: ci.krd.sh:9000 WOODPECKER_FILTER_LABELS: "test_selector=a" woodpecker-agent-test-b: image: docker.io/woodpeckerci/woodpecker-agent:v2.4.1 environment: WOODPECKER_SERVER: ci.krd.sh:9000 WOODPECKER_FILTER_LABELS: "test_selector=b" woodpecker-agent-test-ab: image: docker.io/woodpeckerci/woodpecker-agent:v2.4.1 environment: WOODPECKER_SERVER: ci.krd.sh:9000 WOODPECKER_FILTER_LABELS: "test_selector=a,test_selector=b"
Probably, this issue relates to #2634 and #3483
https://ci.krd.sh/version {"source":"https://github.com/woodpecker-ci/woodpecker","version":"2.4.1"}
No response
next
The text was updated successfully, but these errors were encountered:
Also, if I set label to "second" value then pipeline runs fine.
commit: here pipeline: here
Sorry, something went wrong.
No branches or pull requests
Component
server, agent
Describe the bug
I'm trying to setup CI agent with several labels but I suppose that filter accounts only last value for each label.
E.g. if
WOODPECKER_FILTER_LABELS
is set totest_selector=a,test_selector=b
then only last part is in effect.NB: "dedicated" CI agent (with
WOODPECKER_FILTER_LABELS=test_selector=a
) was shutdown before git push"offending" pipeline commit: here
pending pipeline: here
simplified
.woodpecker.yml
simplified
docker-compose.yml
Probably, this issue relates to #2634 and #3483
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: