Master Fabric CI/CD: Git Deployment & Release Tips
Image Source: Shutterstock.com
Developer Tools
Jul 12, 2024 6:30 PM

Master Fabric CI/CD: Git Deployment & Release Tips

by HubSite 365 about Marc Lelijveld (Data – Marc) [MVP]

Data Platform MVP | FastTrack Recognized Solution Architect | Microsoft Certified Trainer | Public Speaker | Data enthusiast | Solution Architect Data & Analytics

Citizen DeveloperDeveloper ToolsLearning Selection

Explore Git Integration and Deployment Strategies for Fabric and Power BI Workspaces!

Key insights

 

  • Fabric CI/CD integration in Power BI through Git allows for different deployment and release strategies.
  • Options vary from connecting Git to all workspaces with branch-based deployments to only connecting to the development workspace using Fabric Deployment Pipelines.
  • The most complex setup involves branches for each workspace with automations via Git Sync APIs.
  • A simpler, less code-heavy approach uses Fabric’s visual Deployment Pipelines, ideal for non-code backgrounds.
  • Limitations exist due to the lack of service principal authentication in many Fabric REST APIs as of early July 2024.
 

Exploring Fabric CI/CD Deployment and Release Strategies

For organizations leveraging Microsoft's cloud services, particularly Fabric and Power BI, streamlining continuous integration and delivery (CI/CD) is crucial. The integration of Git offers various strategies to optimize the deployment processes. The Git integration enables alignment across different stages of the production environment, from development to production, by maintaining a version-controlled source of truth.

Fabric CI/CD with Git deployment and release strategies Recently, I wrote a blog about the new branch-out feature in Git connected Fabric and Power BI workspaces. In this blog, I will continue the topic of Git integration by discussing various setups you could consider in your Git integration, deployment and release strategies as part of your continuous integration and continuous delivery setup.

Will you connect Git only to your development workspace, or to all stages? And how do you handle your deployment? Keep reading to find out the different patterns you can consider!

On Fabric and Power BI workspaces, you can easily connect a Git repository. This feature has been released with the launch of Microsoft Fabric back in May 2023. This new way of setting up your continuous integration (CI) and continuous delivery (CD) supports you to collaborate on solutions, save your solutions in code and deploy your solutions from one workspace to another.

For a while, the Fabric items supported were fairly limited. But now, almost all Fabric items are supported. There are still a few items lacking behind unfortunately, like Dataflows gen2 for example, with no Git integration at all. Or limited support like the Lakehouse that only contains the Lakehouse name, but not schema or table definitions.

Also, currently your only Git provider is Azure DevOps, but GitHub Enterprise is also on the roadmap and coming soon! All by all, Microsoft is moving forward in rapid speed to get support for all workloads and all items to integrate into Git.

  • Git serves as a single source of truth.
  • All deployments originate from the repository.
  • Each workspace will have their own branch.
  • All branches are protected for direct commits.
  • New features can be released by raising pull requests.
  • To deploy from Development to Test, and from Test to Production, a pull request has to be raised from the original stage.
  • Sync between the Git branch and the workspace can be automated using the Git Sync API to be called as a build pipeline in Azure DevOps that automatically triggers after an approved pull request.

Read the full article Fabric CI/CD with Git deployment and release strategies

Developer Tools - Master Fabric CI/CD: Git Deployment & Release Tips

 

     

     

     

    People also ask

    How to set up a continuous deployment pipeline with Gitarily CI CD on Linux?

    Indeed, this remained unanswered in the provided text.

    What is git integration?

    Git integration incorporates the robust features and functionalities of Git as a version control system, while also offering complete, external access to all user-created content.

     

    Keywords

    Fabric CI/CD, Git deployment, release strategies, continuous integration, continuous deployment, DevOps automation, Git workflows, CI/CD best practices