databricks-cli/bundle/config/mutator
Pieter Noordhuis 4e4c0658db
Interpolate paths for job tasks that reference files (#306)
## Changes

This change also swaps the order of mutators such that interpolation
happens before path translation. This means that is is possible to use
variables (e.g. `${bundle.environment}`) in notebook or file paths.

## Tests

New tests pass and verified manually.
2023-04-05 16:02:17 +02:00
..
default_environment.go No need for nil check on map (#143) 2022-12-15 21:28:27 +01:00
default_environment_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
default_include.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
default_include_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
default_workspace_paths.go Add workspace paths (#179) 2023-01-26 19:55:38 +01:00
default_workspace_paths_test.go Add workspace paths (#179) 2023-01-26 19:55:38 +01:00
default_workspace_root.go Add workspace paths (#179) 2023-01-26 19:55:38 +01:00
default_workspace_root_test.go Add workspace paths (#179) 2023-01-26 19:55:38 +01:00
expand_workspace_root.go Add workspace paths (#179) 2023-01-26 19:55:38 +01:00
expand_workspace_root_test.go Add workspace paths (#179) 2023-01-26 19:55:38 +01:00
mutator.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
populate_current_user.go Mutators to define current user and default artifact path (#112) 2022-12-01 11:17:29 +01:00
populate_current_user_test.go Mutators to define current user and default artifact path (#112) 2022-12-01 11:17:29 +01:00
process_include.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
process_include_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
process_root_includes.go Materialize glob expansion in configuration struct (#217) 2023-02-20 21:01:28 +01:00
process_root_includes_test.go Materialize glob expansion in configuration struct (#217) 2023-02-20 21:01:28 +01:00
select_default_environment.go Handle nil environment (#154) 2022-12-22 15:31:32 +01:00
select_default_environment_test.go Handle nil environment (#154) 2022-12-22 15:31:32 +01:00
select_environment.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
select_environment_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
translate_paths.go Interpolate paths for job tasks that reference files (#306) 2023-04-05 16:02:17 +02:00
translate_paths_test.go Interpolate paths for job tasks that reference files (#306) 2023-04-05 16:02:17 +02:00