DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Automate Azure Databricks Unity Catalog Permissions at the Schema Level
  • How to Enable Azure Databricks Lakehouse Monitoring Through Scripts
  • How to Identify Bottlenecks and Increase Copy Activity Throughput in Azure Data Factory
  • 12 Expert Tips for Secure Cloud Deployments

Trending

  • The Cypress Edge: Next-Level Testing Strategies for React Developers
  • Unlocking the Potential of Apache Iceberg: A Comprehensive Analysis
  • 5 Subtle Indicators Your Development Environment Is Under Siege
  • How to Convert XLS to XLSX in Java
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Connect Azure Data Factory (ADF) With Azure DevOps

Connect Azure Data Factory (ADF) With Azure DevOps

The article includes detailed step-by-step instructions along with helpful screenshots to help users connect Azure Data Factory (ADF) with Azure DevOps.

By 
Komal Chauhan Saini user avatar
Komal Chauhan Saini
·
Sep. 06, 22 · Tutorial
Likes (5)
Comment
Save
Tweet
Share
8.5K Views

Join the DZone community and get the full member experience.

Join For Free

There has been a lot of buzz lately about Azure DevOps. Are you using Azure DevOps? Do you want to know the benefit of using Azure-enabled DevOps (or any code repository) in preserving code? This blog will show you how to connect an existing ADF project to Azure DevOps CI CD workflows.

In the ADF ecosystem, the data integration service helps provide support to develop and orchestrate data-driven workflows. It uses JSON to capture the code in the data factory by connecting ADF to the code repository. This will track every change. When a coder publishes the code, DevOps will establish a new version of Data Factory, where the code will be roll-back if required.

The following steps will help the engineer(user) connect the Azure Data Factory (ADF) to Azure DevOps:

1. Create a simple Data Factory “adfdatapipelinedev001” that looks up the data in the storage account folder and copies data from Azure Data Lake Storage to an Azure Storage Blob.

2. ADF supports two versions of a code repository: Azure DevOps and GitHub. Let’s work on Azure DevOps under Git Configuration.

Git Configuration

3. Login into Azure DevOps (dev.azure.com), then create a New Project by filling in details like project name, description, and visibility. Then, go to the Advanced section and change your version control and work item process into Agile.

4. After creating a project, go to Data Factory. In the upper left corner, you will see “Data Factory,” which shows some drop-down options; click on Set Up Code Repository.

5. After clicking on Set Up Code Repository, this will open Repository Settings, where the connection to the code repository was created in the 3rd step. Then,

  • Select Repository Type: Azure DevOps Git
  • Select Azure DevOps account, which is associated with a user account.
  • Click Save.
  • Then, configure a repository:
    • Choose Project Name (the one we just created)
    • Git Repository Name: We can create a new one or use the existing repository when we create it.
    • Collaboration Branch: I suggest you stick with Master. This is where all your branching will merge, and a copy of all the changes you’ve made will be published to the Azure Data Factory that runs via trigger or event.
    • Click Save.

6. Once a user can see their ADF page where Save as Template is grayed out, underneath that, you’ll see two new Save buttons pop up. These buttons will allow if the saved changes the user made are different than what is needed, which is to publish changes to the Data Factory.

7. Now, all configurations and code repository are Saved, Save All, and Publish Buttons. Additionally, the user will be asked what branch they want. A user can create a new one or the existing (Master) branch.

8. At the top, you’ll see the warning if a user selects ADF while working out of the master branch and Azure DevOps GIT. The warning will be “publishing Data Factory mod has been disabled” because of choosing the DevOps GIT as a branch in this case.

9. The next step is to create a new branch, as shown in the below image. Try to use the name in such a way that differentiates when working in a team.

10. In pipeline, users will add a wait command to see how the change gets captured. In Get Rows, you need to choose to make this wait happen when the failure occurs, then connect the failure to the wait and save it.

11. After creating branch and command, a user will hit publish and receive an error message that says, ‘publish is only allowed from collaboration (Master) branch. Merge the changes to Master.’

12. To merge changes to the main branch, go up in the header section, and change the feature branch to the master branch. But when the user changes it, the wait command disappears, and where wait needs to occur.

13. To execute and fix the wait command, the user moves back to the branch at the top and selects Create Pull Request from the drop-down options. This will pull that branch back into the collaboration (Master) branch.

Feature Branch

14. After pulling back the master branch, set up the pull request from the feature into the master branch and click Create, and it will pop up to either approve or complete the pull request and merge.

Code Pipeline

15. Lastly, back in Data Factory, save all, and see that wait command come back into the master branch.

Activities

Conclusion

This is how we can connect ADF to Azure DevOps that can handle easy Migration of ETL Workloads to the Cloud.

DevOps azure Data (computing) Factory (object-oriented programming)

Published at DZone with permission of Komal Chauhan Saini. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Automate Azure Databricks Unity Catalog Permissions at the Schema Level
  • How to Enable Azure Databricks Lakehouse Monitoring Through Scripts
  • How to Identify Bottlenecks and Increase Copy Activity Throughput in Azure Data Factory
  • 12 Expert Tips for Secure Cloud Deployments

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!