Build path-filter plugin #67

Open
opened 2026-11-07 21:19:00 +00:00 by martin · 0 comments
Owner

Add a generic Woodpecker plugin that evaluates configured include/exclude path rules against CI_PIPELINE_FILES and emits configurable output values for affected paths/environments.

Design

Priority: Medium. Evidence: custom shell logic maps changed files to affected environments in cluster/.woodpecker/switch.yml.

Acceptance criteria

The plugin reads changed paths from CI_PIPELINE_FILES, evaluates configured include/exclude rules, and writes configurable output values to a writable output location. Document rule and output configuration and add tests for matching and exclusion behavior.

Migration provenance

Migrated from Beads. Original timestamps and authors are preserved below; Forgejo creation metadata reflects the migration.

Original Beads record
{
  "_type": "issue",
  "id": "beads-fe8",
  "title": "Build path-filter plugin",
  "description": "Add a generic Woodpecker plugin that evaluates configured include/exclude path rules against CI_PIPELINE_FILES and emits configurable output values for affected paths/environments.",
  "design": "Priority: Medium. Evidence: custom shell logic maps changed files to affected environments in cluster/.woodpecker/switch.yml.",
  "acceptance_criteria": "The plugin reads changed paths from CI_PIPELINE_FILES, evaluates configured include/exclude rules, and writes configurable output values to a writable output location. Document rule and output configuration and add tests for matching and exclusion behavior.",
  "status": "open",
  "priority": 2,
  "issue_type": "feature",
  "owner": "git@martials.no",
  "created_at": "2026-10-03T21:40:34Z",
  "created_by": "Martin Berg Alstad",
  "updated_at": "2026-10-03T21:40:34Z",
  "labels": [
    "woodpecker-plugins"
  ],
  "dependency_count": 0,
  "dependent_count": 0,
  "comment_count": 0
}
Add a generic Woodpecker plugin that evaluates configured include/exclude path rules against CI_PIPELINE_FILES and emits configurable output values for affected paths/environments. ## Design Priority: Medium. Evidence: custom shell logic maps changed files to affected environments in cluster/.woodpecker/switch.yml. ## Acceptance criteria The plugin reads changed paths from CI_PIPELINE_FILES, evaluates configured include/exclude rules, and writes configurable output values to a writable output location. Document rule and output configuration and add tests for matching and exclusion behavior. ## Migration provenance Migrated from Beads. Original timestamps and authors are preserved below; Forgejo creation metadata reflects the migration. <details> <summary>Original Beads record</summary> ```json { "_type": "issue", "id": "beads-fe8", "title": "Build path-filter plugin", "description": "Add a generic Woodpecker plugin that evaluates configured include/exclude path rules against CI_PIPELINE_FILES and emits configurable output values for affected paths/environments.", "design": "Priority: Medium. Evidence: custom shell logic maps changed files to affected environments in cluster/.woodpecker/switch.yml.", "acceptance_criteria": "The plugin reads changed paths from CI_PIPELINE_FILES, evaluates configured include/exclude rules, and writes configurable output values to a writable output location. Document rule and output configuration and add tests for matching and exclusion behavior.", "status": "open", "priority": 2, "issue_type": "feature", "owner": "git@martials.no", "created_at": "2026-10-03T21:40:34Z", "created_by": "Martin Berg Alstad", "updated_at": "2026-10-03T21:40:34Z", "labels": [ "woodpecker-plugins" ], "dependency_count": 0, "dependent_count": 0, "comment_count": 0 } ``` </details> <!-- beads-migration:beads-fe8 -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Personal/woodpecker-plugins#67
No description provided.