cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Setup Git Integration via REST API

gbrueckl
Contributor II

We are currently setting up CI/CD for our Databricks workspace using Databricks Repos following the approach described in the offical docs: https://docs.databricks.com/repos.html#best-practices-for-integrating-databricks-repos-with-cicd-wor...

Obviously for our CI/CD pipelines we want to use service account(we are on Azure using AAD Service Principals) and not use regular user accounts.

Unfortunately, there is no way to configure the Git integration in a scripted way (e.g. via Repos REST API)

the docs further mention (https://docs.databricks.com/repos.html#configure-your-git-integration-with-databricks😞

For Azure DevOps, Git integration does not support Azure Active Directory tokens. You must use an Azure DevOps personal access token.

Which is another pity as ideally it would just pass the AAD token used to authenticate with the Databricks REST API further down to the Azure DevOps Repo

so how is this supposed to work as a fully automated CI/CD pipeline?

16 REPLIES 16

Kaniz_Fatma
Community Manager
Community Manager

Hi @Aakarsh Raj​ , Please go through the link and let me know if this helps.

Hi @Aakarsh Raj​ , Did you get a chance to go through the link?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group