databricks-cli/bundle/config
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
..
interpolation Allow multiple lookup functions for interpolation (#128) 2022-12-12 10:48:52 +01:00
mutator Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
resources Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
artifact.go Add readonly bundle tag for internal fields (#302) 2023-04-04 12:16:07 +02:00
bundle.go Add readonly bundle tag for internal fields (#302) 2023-04-04 12:16:07 +02:00
environment.go Add "default" flag to environment block (#142) 2022-12-15 21:28:14 +01:00
lock.go Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
lock_test.go Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
resources.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
root.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
root_test.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
workspace.go Fix host based auth conflicting with DEFAULT profile (#309) 2023-04-05 18:12:11 +02:00