Integration Of Azure Databricks with Azure DevOps.

Integration Of Azure Databricks with Azure DevOps.

In this article I will demonstrate on how to integrate Databricks in Azure Devops.

Firstly, lets understand why we need to integrate both of these services.

In a normal software development project multiple developers work on their tasks. Its always good to have a source code repository which can be treated as a single source of truth. Also its easier to track the changes that changes when multiple developers are working. That's the whole point of having source control mechanism in place. Let's dig down on how to integrate Azure DevOps with Azure Databricks.

Steps :-

1) Click on the "Repos" option on the left side panel in Azure Databricks workspace and then click on "Add Repo" as shown below.

No alt text provided for this image

2. You will see a page as shown below.


No alt text provided for this image

3. Now assuming that you have created basic pre- requisites like Creating Organizations and Project in Azure DevOps, click on "Repos" and then create click on "New Repository" in Azure DevOps from the dropdown as highlighted.

No alt text provided for this image

4. Copy the URL as shown in the above screenshot, and paste it in the "Git Repository URL" field in Databricks which is shown in step 2. Once done, the Git Provider and Repository name will be populated automatically.

5.Scroll down in the same panel and select "Azure Devops Services (personal access token)"

No alt text provided for this image

6. Now next, we need to specify an access token which will be required to connect to Azure DevOps. Please find the steps for it.

a) Navigate to Azure DevOps portal and select "User Settings" from top right hand corner as highlighted. And from the drop down select "Personal Access Tokens".

No alt text provided for this image

b) Click on "New Token."

No alt text provided for this image

c) Enter a Token Name, and select "Full Access" under Scopes. as shown below.

No alt text provided for this image

d) Now you will get a secret token which is generated and you need to save it somewhere before you close the dialog box.

No alt text provided for this image

7. Now use this token and copy it in the "Token" section of the dialog box which was shown in Step 5. Now once you click in "Save", you will get a success notification as shown below. And then click on "Create Repo".


No alt text provided for this image

8. Now you would see the repository which was created in Azure DevOps has now been successfully integrated in Databricks.

No alt text provided for this image

9. From here click on "main" that will would take you to a page where you can create feature branch to make development. And then you can create a feature branch.

No alt text provided for this image

10) Now after you click on "Create" the repo will be now pointing to feature branch instead of main. And from here on you can start making development in your notebook and once you are done you can commit and push your changes. The changes would be now saved in the repository that we have now created.


I leave it to you to explore Step 10. !!!


So that concludes my article. Hope you had a understanding on how to connect Azure Databricks with Azure DevOps.


Thanks for reading. Keep learning !




Elina Tafara

IT Director at Tbops ?? Empowering SMEs and Enterprises with Tailored IT Solutions

1 年

Your latest article showcasing the connection between Azure Databricks and Azure DevOps for enhanced CI/CD collaboration is a valuable contribution to the tech community. Bridging these powerful tools is a game-changer. Looking forward to learning more from your insights. Keep up the great work!

回复
Moka Bhikshalu

Leadership: Product Data Strategy, Big Data Engineering& Analytics, AI / ML, Deep Learning, NLP, GenAI, LLM, Data Science, Architecture, Governance, Platform Engineering, Product Development, DevOps.GPT Ex-Founder

1 年

?

回复
Dipanjan S.

Engineering @ Honeywell | Senior Data Engineer | Product Development

1 年

Are you essentially, publishing a notebook or building an artifact?

回复

要查看或添加评论,请登录

Ananya Nayak的更多文章

社区洞察

其他会员也浏览了