Closed pietern closed 2 months ago
Need to take a look at:
After discussing the metadata computation with @shreyas-goenka, we decided to back out the last commit that changes metadata computation to be relative to the sync root because it turns out the relative job path is relative to the bundle root path in the Git section of the metadata (this is the relative path of the bundle root inside the Git repository).
Changes
This field allows a user to configure paths to synchronize to the workspace.
Allowed values are relative paths to files and directories anchored at the directory where the field is set. If one or more values traverse up the directory tree (to an ancestor of the bundle root directory), the CLI will dynamically determine the root path to use to ensure that the file tree structure remains intact.
For example, given a
databricks.yml
inmy_bundle
that includes:Then upon synchronization, the workspace will look like:
If not set behavior remains identical.
Tests
bundle/tests
.