Azure Data Factory is a simple ETL/ELT processing without coding or maintenance. Since ADF is not that much mature product it will be frequently updated. So when coming to CICD is one of the big challenges for all the Developers/DevOps Engineer. In this article, we will see how we can implement the CICD for ADF (V2) easily from Azure DevOps.
Microsoft already made clear documentation on how to implement CICD in Azure DevOps and the best practices, which you can find it here. This process is mainly using ARM Template. But this method has some difficulties like 1. We need to export the data factory as ARM Template each time when you have some huge changes. 2. For any small changes, the whole infrastructure needs to be deployed again through ARM.
The other easy way for doing the CICD for ADF is based on JSON files deployment, this task is created by Jan Pieter Posthuma it can be found in github. The idea here is for each and every services we are creating in ADF will be creating json files behind the scene, we can also see that JSON code. So by using these JSON files we are going go deploy our ADF in a ha higher environment. Let's see how we can do this.
First of all, we need to install the extension from Azure DevOps MarketPlace from the below link https://marketplace.visualstudio.com/items?itemName=liprec.vsts-publish-adf
From the development environment (not in production) we need to do Setup the Code repository with Azure Repo's/GitHub Read the full detailed documentation on how to integreate your ADF with Git Repo