-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
I recently upgraded to woodpecker v3 and discovered that picus no longer worked for me. I got logs like this:
picus-1 | [2025-02-10T23:12:57Z INFO picus::strategy] [WpQueueInfoPending { id: "3", labels: {"platform": "linux/amd64", "repo": "***", "org-id": "1", "backend": "docker"} }, WpQueueInfoPending { id: "4", labels: {"org-id": "1", "platform": "linux/amd64", "backend": "docker", "repo": "***"} }]
picus-1 | [2025-02-10T23:12:57Z INFO picus::strategy] Agent is not running. 0 pending job(s) for that agent
only after some digging I realized the default label org-id must have been added.
I'd suggest to include the label in the example configuration like so:
# docker-compose.yml
version: '3'
services:
picus:
# Better replace latest with specific version in next line
image: ghcr.io/windsource/picus:latest
restart: always
environment:
- PICUS_WOODPECKER_SERVER=https://woodpecker.example.com
...
- PICUS_AGENT_WOODPECKER_FILTER_LABELS=platform=linux/amd64,backend=docker,repo=*,org-id=*
....
I this is an agreeable approach I'm willing to contribute this as as a PR.
Metadata
Metadata
Assignees
Labels
No labels