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 <project name>. Instead of downloading the project from Github, the install is performed on the locally available project in ~/.databricks/labs/<project name>.
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
Unzip archive into ~/.databricks/labs and put cli executable on $PATH
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:
Try to download the Databricks labs project from Github, report if it fails to download the latest project, continue with the installation process as normal, fail if the project does not exist locally
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 <project name>
. Instead of downloading the project from Github, the install is performed on the locally available project in~/.databricks/labs/<project name>
.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>/
~/.databricks/labs
and put cli executable on$PATH
databricks labs install <project name>
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: