databricks-cli/libs/template/templates/default-python
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
..
library Update templates to latest LTS DBR (#1715) 2024-08-30 07:32:10 +00:00
template Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00
databricks_template_schema.json Improve default template (#1046) 2023-12-11 19:13:14 +00:00