databricks-cli/bundle/deploy/metadata
Ilya Kuznetsov 0289becea8
Handle `${workspace.file_path}` references in source-linked deployments (#2046)
## Changes

1. Updates `workspace.file_path` during source-linked deployment to
address cases like this
https://github.com/databricks/bundle-examples/blob/main/default_python/resources/default_python_pipeline.yml#L13
2. Updates `workspace.file_path` in `metadata.json`
3. Prints warning for users when `workspace.file_path` is explicitly set
but deploy is running in source-linked mode

## Tests

Unit test
2025-01-08 12:43:56 +00:00
..
annotate_jobs.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00
annotate_jobs_test.go Bump github.com/databricks/databricks-sdk-go from 0.36.0 to 0.37.0 (#1326) 2024-04-03 10:39:53 +00:00
annotate_pipelines.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00
annotate_pipelines_test.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00
compute.go Handle `${workspace.file_path}` references in source-linked deployments (#2046) 2025-01-08 12:43:56 +00:00
compute_test.go Handle `${workspace.file_path}` references in source-linked deployments (#2046) 2025-01-08 12:43:56 +00:00
upload.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00