Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable offline install of labs projects in environment with no internet access #2049

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HariGS-DB
Copy link

@HariGS-DB HariGS-DB commented Dec 27, 2024

Changes

This PR makes changes to labs code base to allow for offline install of labs project (like UCX). by passing a flag --offline-install=true, the code will skip checking for project versions, and downloading code from github and instead will look from local installation folder. It is expected that the user will download and copy the code from other machine where it can install labs project and then run installation on the machine which has internet restriction.

Closes #1646

related to databrickslabs/ucx#3418

Tests

Added unit test case and tested.

Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 2049
  • Commit SHA: c514cca92935b86a71ddcb059e5efd1a3034f2d3

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Offline install for Databricks labs project
1 participant