<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: source set to GIT for Databricks Asset Bundle notebook_task - git authentication fails on run in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/source-set-to-git-for-databricks-asset-bundle-notebook-task-git/m-p/64823#M2861</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thank you for sorting out my "spam" and mainly for your answer.&lt;/P&gt;&lt;P&gt;I kind of reached to the same high-level approach you are outlining, but I did not like the idea of storing secrets in the workspace and I ended up using WORKSPACE as a source where my deployment workflow is as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;obtain access token for the service principal&lt;/LI&gt;&lt;LI&gt;check if existing git credential exists (I get an error - only one git credential is allowed) and delete it if it does, then create a new git credential&lt;/LI&gt;&lt;LI&gt;I use the git credential to clone a git repo into a new/existing databricks repo (check and create it if does not exist) using a specific branch (branch name is an Azure DevOps pipeline parameter)&lt;/LI&gt;&lt;LI&gt;I do asset `bundle deploy ...` where the soource in the YAML is set to WORKSPACE pointing to the code in the updated databricks repo in previous step&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It would be nice to find out if improvements to around this issue is on your roadmap?&lt;BR /&gt;For example at the moment I found it impossible to create a workflow job using the databricks UI and set it's source to Git repo - it is not possible...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Emil&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2024 16:45:37 GMT</pubDate>
    <dc:creator>Еmil</dc:creator>
    <dc:date>2024-03-27T16:45:37Z</dc:date>
    <item>
      <title>source set to GIT for Databricks Asset Bundle notebook_task - git authentication fails on run</title>
      <link>https://community.databricks.com/t5/get-started-discussions/source-set-to-git-for-databricks-asset-bundle-notebook-task-git/m-p/57788#M2276</link>
      <description>&lt;P&gt;My post was marked as Spam after trying to post the description of my issue so now I have posted &lt;A title="git auth issue" href="https://stackoverflow.com/questions/77840528/databricks-asset-bundle-git-authentication-when-resources-job-notebook-task-ha" target="_self"&gt;the question on stackoverflow&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 16:19:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/source-set-to-git-for-databricks-asset-bundle-notebook-task-git/m-p/57788#M2276</guid>
      <dc:creator>Еmil</dc:creator>
      <dc:date>2024-01-18T16:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: source set to GIT for Databricks Asset Bundle notebook_task - git authentication fails on run</title>
      <link>https://community.databricks.com/t5/get-started-discussions/source-set-to-git-for-databricks-asset-bundle-notebook-task-git/m-p/64823#M2861</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thank you for sorting out my "spam" and mainly for your answer.&lt;/P&gt;&lt;P&gt;I kind of reached to the same high-level approach you are outlining, but I did not like the idea of storing secrets in the workspace and I ended up using WORKSPACE as a source where my deployment workflow is as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;obtain access token for the service principal&lt;/LI&gt;&lt;LI&gt;check if existing git credential exists (I get an error - only one git credential is allowed) and delete it if it does, then create a new git credential&lt;/LI&gt;&lt;LI&gt;I use the git credential to clone a git repo into a new/existing databricks repo (check and create it if does not exist) using a specific branch (branch name is an Azure DevOps pipeline parameter)&lt;/LI&gt;&lt;LI&gt;I do asset `bundle deploy ...` where the soource in the YAML is set to WORKSPACE pointing to the code in the updated databricks repo in previous step&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It would be nice to find out if improvements to around this issue is on your roadmap?&lt;BR /&gt;For example at the moment I found it impossible to create a workflow job using the databricks UI and set it's source to Git repo - it is not possible...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Emil&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 16:45:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/source-set-to-git-for-databricks-asset-bundle-notebook-task-git/m-p/64823#M2861</guid>
      <dc:creator>Еmil</dc:creator>
      <dc:date>2024-03-27T16:45:37Z</dc:date>
    </item>
  </channel>
</rss>

