You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Databricks on Azure and have a few init scripts that are automatically deployed using Azure releases.
Following this announcement about vulnerabilities in init scripts, we decided to move our init scripts (bash scripts) from the DBFS to the Workspace. While doing so, we encountered a few issues:
There's no task on Azure releases to deploy anything but notebooks to the Databricks Workspace
The Databricks CLI command databricks workspace import can import only notebooks, since it requires the language option
We solved this falling back to using curl and directly calling the Databricks APIs. The API requires just a base64 string and the language field is optional.
We use Databricks on Azure and have a few init scripts that are automatically deployed using Azure releases.
Following this announcement about vulnerabilities in init scripts, we decided to move our init scripts (bash scripts) from the DBFS to the Workspace. While doing so, we encountered a few issues:
databricks workspace import
can import only notebooks, since it requires the language optionWe solved this falling back to using curl and directly calling the Databricks APIs. The API requires just a base64 string and the language field is optional.
Example code
The text was updated successfully, but these errors were encountered: