<?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 databricks bundle Deploy: exit code 0 even if an error occurs in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-deploy-exit-code-0-even-if-an-error-occurs/m-p/113752#M44623</link>
    <description>&lt;P&gt;We have a CI/CD pipeline where we run:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks bundle deploy [...]&lt;/LI-CODE&gt;&lt;P&gt;The code works fine, however, if we missconfigure it, we see in the output an error message such as&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Deploying resources...
Updating deployment state...
Warning: Detected unresolved variables after 1 resolution rounds

Error: terraform apply: exit status 1

Error: cannot update job: Cluster validation error: Validation failed for autoscale.max_workers, &lt;/LI-CODE&gt;&lt;P&gt;However, the exit code seems to be 0, the following commands are executed and the CI/CD step is marekd as green.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like a bug that bundle deploy doesn't deploy anything but the exit code is still 0.&lt;/P&gt;&lt;P&gt;Just to clarify: the error message is not the problem, the problem is that the exit code is 0 even if an error happens&lt;/P&gt;</description>
    <pubDate>Wed, 26 Mar 2025 20:06:13 GMT</pubDate>
    <dc:creator>a_user12</dc:creator>
    <dc:date>2025-03-26T20:06:13Z</dc:date>
    <item>
      <title>databricks bundle Deploy: exit code 0 even if an error occurs</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-deploy-exit-code-0-even-if-an-error-occurs/m-p/113752#M44623</link>
      <description>&lt;P&gt;We have a CI/CD pipeline where we run:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks bundle deploy [...]&lt;/LI-CODE&gt;&lt;P&gt;The code works fine, however, if we missconfigure it, we see in the output an error message such as&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Deploying resources...
Updating deployment state...
Warning: Detected unresolved variables after 1 resolution rounds

Error: terraform apply: exit status 1

Error: cannot update job: Cluster validation error: Validation failed for autoscale.max_workers, &lt;/LI-CODE&gt;&lt;P&gt;However, the exit code seems to be 0, the following commands are executed and the CI/CD step is marekd as green.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like a bug that bundle deploy doesn't deploy anything but the exit code is still 0.&lt;/P&gt;&lt;P&gt;Just to clarify: the error message is not the problem, the problem is that the exit code is 0 even if an error happens&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 20:06:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-deploy-exit-code-0-even-if-an-error-occurs/m-p/113752#M44623</guid>
      <dc:creator>a_user12</dc:creator>
      <dc:date>2025-03-26T20:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: databricks bundle Deploy: exit code 0 even if an error occurs</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundle-deploy-exit-code-0-even-if-an-error-occurs/m-p/113759#M44625</link>
      <description>&lt;P&gt;you can close it: it was an ci/cd issue&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 20:55:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundle-deploy-exit-code-0-even-if-an-error-occurs/m-p/113759#M44625</guid>
      <dc:creator>a_user12</dc:creator>
      <dc:date>2025-03-26T20:55:18Z</dc:date>
    </item>
  </channel>
</rss>

