databricks-cli/bundle
Miles Yucht 946906221d
Delete sync snapshots file when destroying a bundle (#323)
## Changes
This PR changes the files.Delete() mutator to delete the sync snapshots
file on destroy. This ensures that files will be uploaded when the
bundle is uploaded again.

## Tests
- [x] Manual test: Ran `bricks bundle destroy`, observed that the sync
snapshots file was deleted.
2023-04-11 16:57:01 +02:00
..
artifacts Mutators to define current user and default artifact path (#112) 2022-12-01 11:17:29 +01:00
config Fix host based auth conflicting with DEFAULT profile (#309) 2023-04-05 18:12:11 +02:00
deploy Delete sync snapshots file when destroying a bundle (#323) 2023-04-11 16:57:01 +02:00
deployer Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
internal/tf Update Terraform provider schema structs (#265) 2023-03-20 17:22:55 +01:00
phases Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
run Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
schema Add readonly bundle tag for internal fields (#302) 2023-04-04 12:16:07 +02:00
tests Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00
bundle.go Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
bundle_test.go Add function to opportunistically load a bundle (#180) 2023-01-27 16:57:39 +01:00
context.go Make sync command work in bundle context; reorder args (#207) 2023-02-20 11:33:30 +01:00
context_test.go Add command that writes the materialized bundle configuration to stdout (#95) 2022-11-21 15:39:53 +01:00
mutator.go Include mutator name in logging context (#271) 2023-03-22 15:54:10 +01:00
mutator_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
root.go Add function to opportunistically load a bundle (#180) 2023-01-27 16:57:39 +01:00
root_test.go Add function to opportunistically load a bundle (#180) 2023-01-27 16:57:39 +01:00