databricks-cli/libs/template/templates
Andrew Nester a8cff48c0b
Always prepend bundle remote paths with /Workspace (#1724)
## Changes
Due to platform changes, all libraries, notebooks and etc. paths used in
Databricks must be started with either /Workspace or /Volumes prefix.

This PR makes sure that all bundle paths are correctly prefixed.

Note: this change is a breaking change if user previously configured and
used `/Workspace/Workspace` folder in their workspace file system or
having `/Workspace/${workspace.root_path}...` pattern configured
anywhere in their bundle config

Fixes: #1751

AI:
- [x] Scan DABs config and error out on
`/Workspace/${workspace.root_path}...` pattern usage

## Tests
Added unit tests

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-10-02 15:34:00 +00:00
..
dbt-sql Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00
default-python Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00
default-sql Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00