-
Notifications
You must be signed in to change notification settings - Fork 152
Databricks CLI v0.232.0 databricks bundle deploy fails #1867
Copy link
Copy link
Closed
Labels
Description
Describe the issue
databricks bundle deploy -t dev fails with Error: Path (/Shared/bundle/<redacted>/dev/resources) doesn't exist.
With v0.231.0 the deployment was successful.
Steps to reproduce the behavior
- Set workspace.root_path in databricks.yml to
/Shared/bundle/${bundle.name}/${bundle.target} - Run
databricks databricks bundle deploy -t dev - See error
With the default target the deployment is successful, though.
Expected Behavior
Bundle deployment is successful with each target
Actual Behavior
Bundle deployment fails with error
Uploading bundle files to /Workspace/Shared/bundle/<redacted>/dev/files...
Error: Path (/Shared/bundle/<redacted>/dev/resources) doesn't exist.databricks.yml
---
bundle:
name: "<redacted>"
include:
- "resources/*.yml"
targets:
own:
mode: "development"
default: "true"
workspace:
host: "https://adb-<redacted>.azuredatabricks.net"
variables:
url: "abfss://<redacted>@<redacted>.dfs.core.windows.net"
catalog: "<redacted>"
metadata_catalog: "<redacted>"
config_dir: "${workspace.file_path}/sql"
service_principal_group: "<redacted>"
run_as:
user_name: "${workspace.current_user.userName}"
sync:
include:
- "sql/"
dev:
mode: "production"
workspace:
host: "https://adb-<redacted>.azuredatabricks.net"
root_path: "/Shared/bundle/${bundle.name}/${bundle.target}"
variables:
url: "abfss://<redacted>@<redacted>.dfs.core.windows.net"
catalog: "<redacted>"
metadata_catalog: "<redacted>"
config_dir: "${workspace.file_path}/sql"
service_principal_group: "<redacted>"
run_as:
service_principal_name: "<redacted>"
permissions:
- level: "CAN_MANAGE"
service_principal_name: "<redacted>"
- level: "CAN_RUN"
group_name: "<redacted>"
sync:
include:
- "sql/"OS and CLI version
Databricks CLI v.0.232.0 (Linux and Windows)
Is this a regression?
Yes, with v.0.231.0 everything was fine
Reactions are currently unavailable