question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install time must be radically improved

See original GitHub issue

Is your feature request related to a problem? Please describe. It isn’t reasonable in some cases to prebuild VM images with az cli installed. In those cases, when its needed an install must be on par if not better than installing terraform.

I have a github action that has these numbers;

 Install/Upgrade AZ CLI      4m 56s
    CONTAINER_NAME: intake
Run Start-Process msiexec.exe -Wait -ArgumentList '/I azure-cli-2.3.1.msi /quiet'
  Start-Process msiexec.exe -Wait -ArgumentList '/I azure-cli-2.3.1.msi /quiet'
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"

This is just the install as I had the installer checked in to my github repo.

Describe the solution you’d like A az cli install must be in the seconds range. (10-30 seconds). Frankly this should be a fast as a file copy.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Petermarcucommented, Feb 11, 2021

Here is a small change that will help a little. https://github.com/Azure/azure-cli/pull/16903

1reaction
jiaslicommented, Mar 11, 2022

I did some tests recently:

The installation time is mainly due to the file number of Python SDK which includes lots of “duplicated” files for all API versions.

The overall file number of Azure CLI 2.34.1 is 15667 and 8594 files are from Python SDK (more than a half of totally file number).

image

image

Reducing Python SDK size (https://github.com/Azure/azure-sdk-for-python/issues/11149) will certainly improve the installation time of Azure CLI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

12 by 12: Obtaining True OR Efficiency with Radical Time ...
Time must be radical. To become radical, time must be used to improve the operation of the OR. Those transparent times need to...
Read more >
SMED (Single-Minute Exchange of Die) - Lean Production
Changeover times can be dramatically reduced – in many cases to less than 10 minutes. Each element of the changeover is analyzed to...
Read more >
APEX LEGENDS: Dramatically increase performance / FPS ...
Apex Legends Season 10 FPS increase guide / Apex FPS Guide 2021 ... APEX LEGENDS: Dramatically increase performance / FPS with any setup...
Read more >
COD: WARZONE PACIFIC Dramatically increase performance ...
How to INCREASE FPS in WARZONE CALDERA / WARZONE PACIFIC FPS Guide 2022 ... PACIFIC Dramatically increase performance / FPS with any setup...
Read more >
Escape From Tarkov: Dramatically increase performance ...
ESCAPE FROM TARKOV FPS increase guide, EFT Update more fps, ... Escape From Tarkov: Dramatically increase performance / FPS with any setup !...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found