Setup Git Integration via REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 07:34 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 09:35 AM
https://docs.databricks.com/dev-tools/api/latest/repos.html#operation/get-repo
These are all currently available API regards to Repos
and below SCIM API regards to SP. But may be this wont be relevant to Repos.
https://docs.databricks.com/dev-tools/api/latest/scim/scim-sp.html#scim-api-20-serviceprincipals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 09:41 AM
Thanks Atanu but none of these covers the process of setting up the connection and authentication to the git repo so I guess this is just not supported?
will this may come in the future?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 09:59 AM
@Gerhard Brueckl could you please raise a feature request from https://docs.databricks.com/resources/ideas.html. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 11:39 PM
I am on Azure and when I go to the ideas-page of azure (https://docs.microsoft.com/en-gb/azure/databricks/resources/ideas) I get a 404 Error ...
If I open the Feedback-page directly from my DAtabricks Workspace it brings me here https://feedback.azure.com/d365community/forum/2efba7dc-ef24-ec11-b6e6-000d3a4f0da0 where most of the ideas are a couple of years old and have 0 comments (some of them have already been fixed but never got updated)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 07:52 AM
again, as I am on Azure I cannot login to the ideas portal is it is solely for AWS customers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 08:02 AM
@Gerhard Brueckl ok so for azure workspace you can share your request as per below -
The feedback option is the right place.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 11:29 AM
Thanks, Atanu, please read my previous comments about the state of the page where this link directs you
does not look like that page got updated in the last 2 years
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 12:01 AM
Hi @Kaniz Fatma ,
sure, I just scrolled through all pages there and found a total of < 10 comments (non from Microsoft or Databricks) , a bunch of "ideas" that are already implemented but never got updated and a lot of ideas from Microsoft itself making it look like an orphaned backlog.
dont you share the impression that that page is dead?
A similar idea to my original question was also already submitted 2 months ago - also not comments, no nothing - still, I upvoted it but honestly I do not expect anything to happen
https://feedback.azure.com/d365community/idea/0db9b406-946b-ec11-a81b-6045bd7956bb
-gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2022 04:33 AM
Hi, how can i trigger a job externally using Github actions?