-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Question: Installing extensions in offline environments #2484
Comments
hi @fengzhou-msft could you pls help on this? |
I'm having same problem due to trying to go through corporate proxy and I just keep hitting more and more stuff that wants whitelisted. I'd really love to be able to just download the extensions and required packages offline and distribute them internally as I won't get this past security in current state. Azure Devops cli extension seems to be only way for universal package uploads for instance ? |
@gabrielmccoll Specifically for the case you mentioned regarding uploading/downloading universal packages, the workaround I used is to:
Hope it helps! |
That is a nice wee work around thank you |
Also I'm trying to install Azure DevOps extension into a separate development machine, but corporate proxy prevents the pip to fetch the required modules from pypi.org. I've installed those modules manually, but DevOps extension does not check the currently installed modules and tries to fetch those from pypi.org every time. Any possibilities to make DevOps installation to just use already installed modules? |
@JariSal the extension is not installed in standard python package location, you can check with |
azure-cli-extensions/src/index.json Lines 3066 to 3068 in 3e711c4
|
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07. Issue Details(Note: This is a cross-post from Azure/azure-devops-cli-extension#1055) How to set up an Azure CLI extension in an offline environment? I see that the Azure CLI supports installing from a local source like this: … but this doesn't seem to be enough. (I'm trying to install the Azure DevOps extension and it fails when it runs "pip", which tries to connect to public sources…). Any tips on how an offline / or x-copy-like deployment looks like?
|
Route to service team to see if they can remove the |
Hope it helps as for me this works to install devops extension to install devops login dependency |
Hi @fengzhou-msft, are there any updates for this? We need to install Azure CLI extensions on disconnected environments. Would be good if there is a work-around or script to set up an environment so that customers can run Azure CLI extension commands in an offline environment without differences in user-experience. |
(Note: This is a cross-post from Azure/azure-devops-cli-extension#1055)
How to set up an Azure CLI extension in an offline environment?
I see that the Azure CLI supports installing from a local source like this:
az extension add –source …
… but this doesn't seem to be enough. (I'm trying to install the Azure DevOps extension and it fails when it runs "pip", which tries to connect to public sources…).
Any tips on how an offline / or x-copy-like deployment looks like?
The text was updated successfully, but these errors were encountered: