Describe the issue
A clear and concise description of what the issue is
Bundles do not deploy correctly if they've been deleted from the UI. Removing the .databricks/bundle/<target>/sync-snapshots/* files fixes the problem. Clearly there is an issue with the snapshot aspect of the deployment.
Configuration
Use default init project. See below.
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
- Run
databricks bundle init
- Pick the python notebook bundle type
- deploy it
databricks bundle deploy
- Go to the default root path using the ui (
/Workspace/Users/<email>/.bundle/${bundle.name}/${bundle.target})
- Delete the bundle (which is equivalent to
${bundle.name} above.
- deploy it again
databricks bundle deploy
- Nothing will be under the
.bundle/${bundle.name}/${bundle.target}/files/ dir.
Expected Behavior
The program should check that all the expected files exist when writing.
Actual Behavior
The snapshot of the project assumes, incorrectly, that all files already exist on databricks.
OS and CLI version
Databricks CLI v0.234.0
Is this a regression?
i dont know.
Debug Logs
Output logs if you run the command with debug logs enabled. Example: databricks bundle deploy --log-level=debug. Redact if needed
Describe the issue
A clear and concise description of what the issue is
Bundles do not deploy correctly if they've been deleted from the UI. Removing the
.databricks/bundle/<target>/sync-snapshots/*files fixes the problem. Clearly there is an issue with the snapshot aspect of the deployment.Configuration
Use default
initproject. See below.Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
databricks bundle initdatabricks bundle deploy/Workspace/Users/<email>/.bundle/${bundle.name}/${bundle.target})${bundle.name}above.databricks bundle deploy.bundle/${bundle.name}/${bundle.target}/files/dir.Expected Behavior
The program should check that all the expected files exist when writing.
Actual Behavior
The snapshot of the project assumes, incorrectly, that all files already exist on databricks.
OS and CLI version
Databricks CLI v0.234.0
Is this a regression?
i dont know.
Debug Logs
Output logs if you run the command with debug logs enabled. Example: databricks bundle deploy --log-level=debug. Redact if needed