databricks-cli/bundle/deploy
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
..
files Properly read Git metadata when running inside workspace (#1945) 2024-12-05 10:13:13 +00:00
lock Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
metadata Handle `${workspace.file_path}` references in source-linked deployments (#2046) 2025-01-08 12:43:56 +00:00
terraform Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
filer.go Added deployment state for bundles (#1267) 2024-03-18 14:41:58 +00:00
state.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
state_pull.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
state_pull_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
state_push.go Add an error if state files grow bigger than the export limit (#1795) 2024-10-02 13:53:24 +00:00
state_push_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
state_test.go Make fileset take optional list of paths to list (#1684) 2024-08-19 15:15:14 +00:00
state_update.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
state_update_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00