Skip to content

New default labels relevant for agent selection #30

@gueldenstone

Description

@gueldenstone

With the release of woodpecker 3.5 there are some new labels for workflows which are prefixed with woodpecker-ci.org.

The documentation says the following about these labels:

Labels with the woodpecker-ci.org prefix are managed by Woodpecker and can not be set as part of the pipeline definition.

Thos currently include:

woodpecker-ci.org/repo-id
woodpecker-ci.org/org-id
woodpecker-ci.org/branch
woodpecker-ci.org/forge-id
woodpecker-ci.org/repo-forge-id
woodpecker-ci.org/repo-name
woodpecker-ci.org/repo-full-name

Currently one needs to set PICUS_AGENT_WOODPECKER_FILTER_LABELS with all those labels =* for any job to run as a workaround.
I'd suggest to ignore any labels with this prefix in picus for determining if a workflow can be executed on a certain agent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions