-
Notifications
You must be signed in to change notification settings - Fork 3k
Packaging
This document describes how Azure CLI packages are built and where the built packages are delivered.
The official installation guide is at https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
For Linux, we use https://packages.microsoft.com/ (PMC) to deliver DEB and RPM packages. Azure CLI packages are delivered from multiple repos. The term "repo" here is not GitHub repo, but Linux repo.
- The build job is
BuildWindowsMSI
defined in azure-pipelines.yml, which calls - The build script build_scripts/windows/scripts/build.cmd
- We use an Azure storage account https://azcliprod.blob.core.windows.net/ to deliver MSI packages, such as https://azcliprod.blob.core.windows.net/msi/azure-cli-2.37.0.msi
- The build job is
BuildDebPackages
defined in azure-pipelines.yml, which calls - The build script scripts/release/debian/pipeline.sh
- Repo: https://packages.microsoft.com/repos/azure-cli/
- The build jobs are
BuildRpmPackageCentOS7
andBuildRpmPackageUbi8
defined in azure-pipelines.yml, which call - The build script scripts/release/rpm/pipeline.sh
- RHEL 7/CentOS 7 repo: https://packages.microsoft.com/yumrepos/azure-cli
- RHEL 8/CentOS Stream 8 repo: https://packages.microsoft.com/rhel/8/prod
- The build job is
BuildRpmPackageMariner
defined in azure-pipelines.yml, which calls - The build script scripts/release/rpm/pipeline_mariner.sh
- Mariner 1.0 repo: https://packages.microsoft.com/cbl-mariner/1.0/prod/Microsoft/x86_64/rpms/
- Mariner 2.0 repo: https://packages.microsoft.com/cbl-mariner/2.0/prod/Microsoft/x86_64/
Also see https://eng.ms/docs/products/mariner-linux/onboarding/packaging/publishing
Azure CLI is built as wheels and released on PyPI. However, since PyPI doesn't support GPG signature, some companies or organizations don't treat PyPI as a trusted installation source. The proposal to add PyPI installation document is tracked at https://github.com/Azure/azure-cli/issues/20476.
- The build job is
BuildPythonWheel
defined in azure-pipelines.yml, which calls - The build script scripts/release/pypi/build.sh
-
azure-cli
package: https://pypi.org/project/azure-cli/ -
azure-cli-core
package: https://pypi.org/project/azure-cli-core/ -
azure-cli-telemetry
package: https://pypi.org/project/azure-cli-telemetry/