Best practices to organize the branchs about ADF integrated with Azure DevOps

pmscorca 1,052 Reputation points
2023-12-15T16:49:34.54+00:00

Hi,

I'd like to know which possible best pratices to follow about organizing the branchs, starting the collaboration branch, for Azure Data Factory integrated with Azure DevOps (Repos).

Thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,644 questions
{count} votes

1 answer

Sort by: Most helpful
  1. phemanth 15,765 Reputation points Microsoft External Staff Moderator
    2023-12-18T04:48:18.9833333+00:00

    @pmscorca

    Thanks for recahing out MS Q&A

    Here are some best practices for organizing branches in Azure Data Factory integrated with Azure DevOps (Repos):

     

    Use Feature Branches: For all new features and bug fixes, use feature branches. A developer creates a feature branch to make a change.

    Pull Requests: Merge feature branches into the main branch using pull requests. After a developer is satisfied with their changes, they create a pull request from their feature branch to the main or collaboration branch to get their changes reviewed by peers.

    Maintain High Quality Main Branch: Keep a high quality, up-to-date main branch. After a pull request is approved and changes are merged in the main branch, the changes get published to the development factory.

    Trunk-Based Branching Strategy: Edit your ADF factories with a “trunk-based” branching strategy Configure your git repository so that it’s impossible for ADF Studio to make direct edits to the contents of your “main” branch.

    Short-Lived Branches: Never let any branches of your git repository exist for longer than a few hours unless they’re named “main” or “adf_publish”.

    Remember, the goal is to keep your branch strategy simple. These practices should help you maintain an organized and efficient workflow with Azure Data Factory and Azure DevOps (Repos).                                

    please go through     Git branching guidance - Azure Repos | Microsoft Learn  

     Continuous integration and delivery - Azure Data Factory | Microsoft Learn

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.