databricks-cli/libs
shreyas-goenka bd11da88eb
Do not fail snapshot destroy if snapshot does not exist (#328)
## Changes
`bricks bundle destroy` would fail if the sync snapshot did not exist

## Tests
Manually

After:
```
shreyas.goenka@THW32HFW6T bundle-destroy % bricks bundle destroy --auto-approve
No resources to destroy!

Remote directory /Users/shreyas.goenka@databricks.com/.bundle/destroy/default will be deleted
Successfully deleted files!
```

Before:
```
shreyas.goenka@THW32HFW6T bundle-destroy % bricks bundle destroy --auto-approve
No resources to destroy!

Remote directory /Users/shreyas.goenka@databricks.com/.bundle/destroy/default will be deleted
Error: failed to destroy sync snapshot file: remove /Users/shreyas.goenka/projects/bundle-destroy/.databricks/bundle/default/sync-snapshots/a5bd1966cb8980a9.json: no such file or directory
```
2023-04-12 21:37:01 +02:00
..
auth Make `bricks auth` use `all-apis` scope (#304) 2023-04-05 10:18:13 +02:00
cmdio Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
databrickscfg Bump github.com/databricks/databricks-sdk-go from 0.5.0 to 0.6.0 (#299) 2023-04-03 21:33:21 +02:00
filer Path escape file path in filer interface (#254) 2023-03-17 17:42:35 +01:00
fileset Don't sync symlink folders (#205) 2023-02-15 17:02:54 +01:00
flags Revert "Configure log level to info by default (#267)" (#307) 2023-04-05 15:37:09 +02:00
git Add tests for fileSet adding `databricks` to .gitignore (#325) 2023-04-12 12:04:10 +02:00
locker Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
log Trim log source field to basename of file (#273) 2023-03-23 08:56:39 +01:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
sync Do not fail snapshot destroy if snapshot does not exist (#328) 2023-04-12 21:37:01 +02:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00