'Is it possible to set only one branch at Databricks shared git folder(highlighted in screenshot)?
I would like to set only one branch at shared folder in databricks workspace. Attaching screenshot to give more clarity on the same.
All of data factory pipelines are using shared folder location for running notebooks and if some one changes it to other branch than production, everything starts messing up. So I would like to understand if this branch can be locked and if yes, how? Please help..!!
Solution 1:[1]
Right now you can do that by settung correct permissions on that checkout, and allow only specific users or system account (service principal on Azure) (recommended) to perform Pull operation - all other people should have just read-only permissions. (doc on permissions)
There is also a new functionality to set Git reference (Git URL and branch/tag/commit) directly in the job configuration so you won't even need to have a repository checked out. This functionality was just released (as of 6th May 2022).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |