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
Support an offline install for a Databricks labs project: databricks labs install path/to/project/. Instead of downloading the project from Github, the install is performed on the locally available project.
This capability allows distributing a Databricks labs project via a different route besides downloading it from Github using this cli, which is helpful for user performing installations in environments with network restrictions (Github being blocked).
This user flow would roughly look like:
Install a Databricks labs project in a location WITH Github access: databricks labs install <project name>
Archive the Databricks labs project: zip -r <project name>.zip ~/.databricks/labs/<project name>/
Move archive and cli executable to the machine WITHOUT Github access: usb, floppy disk, who knows
Note: the Python environment might need manual fixing on the machine WITHOUT Github access ~/.databricks/labs/<project name>/state/venv/bin. Recommendation is to use the same Python version on both machines.
Implementation
Options:
Always install offline if pointing to a folder location
Add --offline flag, that skips downloading the Github project and installs the project from the local files.
The text was updated successfully, but these errors were encountered:
Description
Support an offline install for a Databricks labs project:
databricks labs install path/to/project/
. Instead of downloading the project from Github, the install is performed on the locally available project.This capability allows distributing a Databricks labs project via a different route besides downloading it from Github using this cli, which is helpful for user performing installations in environments with network restrictions (Github being blocked).
This user flow would roughly look like:
databricks labs install <project name>
zip -r <project name>.zip ~/.databricks/labs/<project name>/
$PATH
databricks labs install /path/to/unarchived/project/
Implementation
Options:
--offline
flag, that skips downloading the Github project and installs the project from the local files.The text was updated successfully, but these errors were encountered: