Azure data bricks shared workspace notebooks integration with azure Repos Git?

Rakesh 1 Reputation point
2022-11-25T05:58:01.633+00:00

My requirement is I have all my notebooks placed in the shared workspace of Azure Data bricks, Now I want to integrate azure repos git with my data bricks notebooks, and while integrating by default data bricks is taking the notebooks which are under the Users workspace (under my user Email) instead of shared work space location.

Is there a way to integrate shared workspace notebooks instead of Users workspace with azure repos git ?

kindly help.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,057 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 84,931 Reputation points Microsoft Employee
    2022-11-29T07:06:18.527+00:00

    Hello @Rakesh ,

    Thanks for the question and using MS Q&A platfrom.

    We are not quite sure why you have those requirements. The normal workflow for git integration is well established and easy to follow. Personal work is done via personal repos integration. There you can have your normal PR lifecycle in ADO. Once changes are in your main branch you have two options:

    1. Have a simple deployment pipeline deploy your code via databricks cli "databricks workspace import_dir YOURDIR" into your environments or
    2. You make use of the git integration for jobs based on your main branch.

    If you work in the normal workspace you only have current version which is shared by all developers on your workspace. That dependency will add errors for sure. If you work alone, you are still better off with the repo integration since you can switch context/branches more easily.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators
    0 comments No comments