<?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 Cannot update databricks repos in Devops Pipeline in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/cannot-update-databricks-repos-in-devops-pipeline/m-p/40440#M27203</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am creating a Devops pipeline to run unit tests in my notebooks using the Nutter library. When a commit is pushed to a branch, I have a pipeline that triggers, and it should update my repo in a folder Staging (/Repos/Staging/MyRepo)&lt;/P&gt;&lt;P&gt;For that I have the following pipeline :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;databricks&amp;nbsp;repos&amp;nbsp;update&amp;nbsp;--path&amp;nbsp;$(STAGING_DIRECTORY)&amp;nbsp;--branch&amp;nbsp;"my_current_branch"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DATABRICKS_HOST&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;$(databricks_host)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DATABRICKS_TOKEN&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;$(databricks_token)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;displayName&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'Update&amp;nbsp;Staging&amp;nbsp;project'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;When running, this command fails with the following error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Error: InvalidSchema: No connection adapters were found for '://None/api/2.0/workspace/get-status' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Do you have an idea of what could cause this error ? I can provide more details if needed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 18 Aug 2023 09:49:48 GMT</pubDate>
    <dc:creator>erigaud</dc:creator>
    <dc:date>2023-08-18T09:49:48Z</dc:date>
    <item>
      <title>Cannot update databricks repos in Devops Pipeline</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-update-databricks-repos-in-devops-pipeline/m-p/40440#M27203</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am creating a Devops pipeline to run unit tests in my notebooks using the Nutter library. When a commit is pushed to a branch, I have a pipeline that triggers, and it should update my repo in a folder Staging (/Repos/Staging/MyRepo)&lt;/P&gt;&lt;P&gt;For that I have the following pipeline :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;databricks&amp;nbsp;repos&amp;nbsp;update&amp;nbsp;--path&amp;nbsp;$(STAGING_DIRECTORY)&amp;nbsp;--branch&amp;nbsp;"my_current_branch"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DATABRICKS_HOST&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;$(databricks_host)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DATABRICKS_TOKEN&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;$(databricks_token)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;displayName&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'Update&amp;nbsp;Staging&amp;nbsp;project'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;When running, this command fails with the following error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Error: InvalidSchema: No connection adapters were found for '://None/api/2.0/workspace/get-status' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Do you have an idea of what could cause this error ? I can provide more details if needed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Aug 2023 09:49:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-update-databricks-repos-in-devops-pipeline/m-p/40440#M27203</guid>
      <dc:creator>erigaud</dc:creator>
      <dc:date>2023-08-18T09:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot update databricks repos in Devops Pipeline</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-update-databricks-repos-in-devops-pipeline/m-p/42900#M27445</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for contacting Databricks Support.&lt;BR /&gt;&lt;BR /&gt;The error message indicates that there is an issue with the URL or endpoint you are using with the Databricks repos update command. It appears that one or more required parameters are not being set correctly, leading to the URL being constructed with missing or incorrect information. Could you please check if the environment variables are provided correctly in your CI pipeline?&lt;BR /&gt;&lt;BR /&gt;Here are a few steps to troubleshoot and resolve this issue:&lt;BR /&gt;1. Ensure that the environment variables DATABRICKS_HOST and DATABRICKS_TOKEN are set correctly&lt;BR /&gt;2. Use full url including the organization parameter.&lt;BR /&gt;3. Confirm that the variables $(STAGING_DIRECTORY) and "my_current_branch" are being correctly substituted with their values. You can add debugging output to display the values of these variables to verify if they contain the expected values.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Monica&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 19:36:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-update-databricks-repos-in-devops-pipeline/m-p/42900#M27445</guid>
      <dc:creator>User16539034020</dc:creator>
      <dc:date>2023-08-30T19:36:10Z</dc:date>
    </item>
  </channel>
</rss>

