Describe the issue
We have multiple bundles in one repository, sharing some common resources in the repo root, which we include into the databricks.yml of the bundles.
The common resources also include the artifacts, which use a script to download additional wheels into the dist directory of the bundle. Therefore we need the path to the bundle. Currently we use a variable "bundle_path" in each of those bundles and reference it in the common script. but this is brittle, e.g. when the path/directory changes.
Expected Behavior
A substitution like bundle.path (next to bundle.name, bundle.uuid) would be really helpful. This variable should contain the full, absolute path to the bundle (=directory containing the databricks.yml).
Additionally, bundle.cwd would be a nice to have, pointing to the current working dir (the folder the databricks bundle command was executed). But more important for us would be bundle.path.
Actual Behavior
Need to specify a manual variable (of course this variable could also be filled when executing bundle commands, but its easy to forget.
OS and CLI version
CLI Version 1.5
Describe the issue
We have multiple bundles in one repository, sharing some common resources in the repo root, which we include into the databricks.yml of the bundles.
The common resources also include the artifacts, which use a script to download additional wheels into the dist directory of the bundle. Therefore we need the path to the bundle. Currently we use a variable "bundle_path" in each of those bundles and reference it in the common script. but this is brittle, e.g. when the path/directory changes.
Expected Behavior
A substitution like
bundle.path(next tobundle.name,bundle.uuid) would be really helpful. This variable should contain the full, absolute path to the bundle (=directory containing the databricks.yml).Additionally,
bundle.cwdwould be a nice to have, pointing to the current working dir (the folder thedatabricks bundlecommand was executed). But more important for us would be bundle.path.Actual Behavior
Need to specify a manual variable (of course this variable could also be filled when executing
bundlecommands, but its easy to forget.OS and CLI version
CLI Version 1.5