-
Story
-
Resolution: Unresolved
-
Major
-
None
Story (Required)
As a PipelineRun on Paac author we have a way to match PipelineRun by path with the pathChanged function: https://pipelinesascode.com/docs/guide/authoringprs/#matching-pipelinerun-by-path-change
that work with CEL and it's not user friendly to understand.
It would be nicer for the user to be able to use a easier friendly annotation:
Example1
on-path-changed: ["./pkg/*", "./cli/*"]
will match the pipelinerun if any files in ./pkg/ or ./cli matches
Example2
on-path-changed: ["./README.txt"]
will match the pipelienrun if readme has changed
Example3
on-path-ignore: ["./pkg/vendor/*"]
will match the pipelinerun unless it's a file in pkg/vendor
Example3
on-path-changed: ["./pkg/*", "./cli"] on-path-ignore: ["./pkg/vendor/*"]
will match the pipelinerun if any files in pkg or cli matched but no files in pkg/vendor/*
Example3
on-path-changed: ["./pkg/*"] on-target-event: ["pull_request, "push"] on-target-branch: ["main"]
will match the pipelinerun if any files in pkg has changed and if it's a pull_request or apush that target the main branch
Background (Required)
<Describes the context or background related to this story>
Out of scope
<Defines what is not included in this story>
Approach (Required)
<Description of the general technical path on how to achieve the goal of the story. Include details like json schema, class definitions>
Dependencies
<Describes what this story depends on. Dependent Stories and EPICs should be linked to the story.>
Acceptance Criteria (Mandatory)
<Describe edge cases to consider when implementing the story and defining tests>
<Provides a required and minimum list of acceptance tests for this story. More is expected as the engineer implements this story>
INVEST Checklist
Dependencies identified
Blockers noted and expected delivery timelines set
Design is implementable
Acceptance criteria agreed upon
Story estimated
Legend
Unknown
Verified
Unsatisfied
Done Checklist
- Code is completed, reviewed, documented and checked in
- Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
- Continuous Delivery pipeline(s) is able to proceed with new code included
- Customer facing documentation, API docs etc. are produced/updated, reviewed and published
- Acceptance criteria are met
- relates to
-
SRVKP-4481 Ignore paths with CEL expression
- New