databricks-cli/bundle/tests
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
..
basic Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
environment_overrides Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
include_default Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00
include_override Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00
job_and_pipeline Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00
yaml_anchors Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00
README.md Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
basic_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
environment_overrides_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
include_default_test.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
include_override_test.go Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00
job_and_pipeline_test.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
loader.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
yaml_anchors_test.go Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00

README.md

Bundle configuration tests

Every test here uses an example bundle configuration. Each bundle configuration is located in a dedicated subdirectory.