Azure / Azure/azure-cli

Install time must be radically improved

Open
#13,028 15 comments 8 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad customer-reported feature-request Installation Packaging performance
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.