awslabs / awslabs/aws-deployment-framework

[Feat]: Improve auto-create-repository behaviour within Deployment Map Definition

Open
#671 1 comment 0 reactions 1 assignee Claimed by @alexevansigg View on GitHub
Dominant language
Python
Stars
699
Forks
235
Avg merge
20h 53m
Merged PRs (30d)
7

Description

### Describe the feature

In the ADF config we can define a 'auto-create-repositories' flag. This is a global setting which applies to all pipelines. But it's inflexible.

### Use Case

In our environment we have a lot of deployment maps, and we like to redeploy the entire solution to multiple organizations.
There are some cases where multiple pipelines run using the same source repository, for example when you reach the 500action limit in a pipeline it might be carved into multiple pipelines point to the same source.

### Proposed Solution

The following changes:
1. Add a property in pipeline definition source section called 'create-repository-override': boolean.
2. Like we can set a custom source repository name, extend to allow setting a custom repository description, As the Pipeline description might be different from the repository description.
3. Update the logic in the Create-Pipeline CodeBuild job so that it can create 'Custom named' Repositories, it uses custom repository descriptions specified and that it honors the Pipeline definition override when specified.

### Acknowledgements

- [X] I may be able to implement this feature request

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.