aws / codecatalyst-blueprints

Apache License 2.0
50 stars 19 forks source link

Enable instantiation of multiple branches for repository component #382

Open jonslo opened 11 months ago

jonslo commented 11 months ago

Describe your feature request

Blueprints enable customers to build/deploy in multiple CodeCatalyst environments (different AWS accounts, regions, etc.). If a blueprint highlights different workflows/configurations for multiple environments (i.e. dev, staging, production, etc.), there is going to be a segment of customers that will partition these deployment environment using Git branches.

Describe the solution you'd like

In addition to creating a 'main' branch by default with a repository component - I would like to also create additional (optional) branches (i.e. develop) for deployment to other environments. These optional branches would initially just be clones of main.

Describe alternatives you've considered

An alternative would be using a single blueprint for a single environment (1:1), but having multiple workflows in a single blueprint could take advantage of using a single branch per environment (i.e. main branch == production, develop branch == staging/test, etc.)

caldog20 commented 2 months ago

Is there any traction on this? I need to create dev branches in my custom blueprints and have workflows based on them. The current component doesn't support this. Thanks.