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: 

databricks bundle Deploy: exit code 0 even if an error occurs

a_user12
New Contributor III

We have a CI/CD pipeline where we run:

databricks bundle deploy [...]

The code works fine, however, if we missconfigure it, we see in the output an error message such as

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, 

However, the exit code seems to be 0, the following commands are executed and the CI/CD step is marekd as green. 

It seems like a bug that bundle deploy doesn't deploy anything but the exit code is still 0.

Just to clarify: the error message is not the problem, the problem is that the exit code is 0 even if an error happens

1 ACCEPTED SOLUTION

Accepted Solutions

a_user12
New Contributor III

you can close it: it was an ci/cd issue

View solution in original post

1 REPLY 1

a_user12
New Contributor III

you can close it: it was an ci/cd issue

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now