pipelines: Supporting a feature branch development process #25946
Labels
@aws-cdk/pipelines
CDK Pipelines library
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Multi-branch feature development and pipelines is a common development practice. However, this functionality isn't built into CDK Pipeline natively. A blog post about a potential solution published last year describes a possible workaround, with a few serious barriers to adoption:
Given CDK Pipeline is intended to enable "painless continuous delivery of AWS CDK applications", it seems like supporting more than the most basic deployment process should be part of it's scope.
Use Case
Supporting a feature branch development process, without lot's of additional setup.
Proposed Solution
Update the branch parameter aws-cdk-lib/pipelines/lib/codepipeline/codepipeline-source to allow the branch parameter to be either a string or a regular expression. If it's a regular expression, only trigger the pipeline if the branch matches the pattern.
The ergonomics on a code pipeline might look like:
Other Information
No response
Acknowledgements
CDK version used
2.83.1
Environment details (OS name and version, etc.)
Mac OS latest
The text was updated successfully, but these errors were encountered: