Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
alexevansigg opened this issue Dec 22, 2023 · 1 comment
Open
1 task done
Assignees

Comments

@alexevansigg
Copy link
Contributor

alexevansigg commented Dec 22, 2023

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

  • I may be able to implement this feature request
@sbkok
Copy link
Collaborator

sbkok commented May 22, 2024

Thank you for opening this issue.

Regarding the proposed solution:

  1. If you create a pipeline and set a repository name that is different from the pipeline name, it will not create the repository for you. Instead, it assumes this pipeline hooks into an existing repository, like the mono-repo approach you described. Would you still see a need for a create-repository-override?
  2. Good idea, that could be a valuable property to add.
  3. What do you mean with custom named repositories? Are you proposing defining a pipeline with a name that is different from the repository, yet still instruct ADF to create the repository for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants