databricks-cli/bundle
Pieter Noordhuis 31ccebd62a
Store relative path to configuration file for every resource (#322)
## Changes

If a configuration file is located in a subdirectory of the bundle root,
files referenced from that configuration file should be relative to its
configuration file's directory instead of the bundle root.

## Tests

* New tests in `bundle/config/mutator/translate_paths_test.go`.
* Existing tests under `bundle/tests` pass and are augmented to assert
on paths.

---------

Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com>
2023-04-12 16:17:13 +02:00
..
artifacts Mutators to define current user and default artifact path (#112) 2022-12-01 11:17:29 +01:00
config Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +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 Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
bundle.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
bundle_test.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02: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