[Packaging] Revert Azure CLI Docker image based on Azure Linux 4.0 - #33831
Merged
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Collaborator
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
microsoft-github-policy-service
Bot
requested review from
ZelinWang (wangzelin007) and
Yong Zhang (yonzhan)
August 3, 2026 00:45
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reverts the Azure CLI Docker/RPM packaging pipeline from Azure Linux 4.0 (beta) back to Azure Linux 3.0, updating the base image references and related artifact naming to match the previous packaging target.
Changes:
- Revert Azure Linux base image references from
azurelinux-beta ... :4.0toazurelinux ... :3.0. - Update pipeline matrix labels and artifact names from
azurelinux4.0toazurelinux3.0. - Update RPM packaging docs and build script comments to reference Azure Linux 3.0 outputs.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| scripts/release/rpm/README.md | Updates Azure Linux RPM extraction example to azl3 paths/naming. |
| scripts/release/rpm/pipeline_azurelinux.sh | Adjusts inline documentation to reference the 3.0 base image. |
| scripts/release/rpm/azurelinux.dockerfile | Reverts base image to Azure Linux 3.0 and updates RPM output path assumptions. |
| azure-pipelines.yml | Renames Azure Linux matrix entries/artifacts and switches the Azure Linux image back to 3.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
23
to
+27
| dos2unix ./scripts/release/rpm/azure-cli.spec && \ | ||
| REPO_PATH=$(pwd) CLI_VERSION=$cli_version PYTHON_PACKAGE=python3 PYTHON_CMD=python3 \ | ||
| rpmbuild -v -bb --clean scripts/release/rpm/azure-cli.spec && \ | ||
| cp /root/rpmbuild/RPMS/*/azure-cli-${cli_version}-1.*.rpm /azure-cli-dev.rpm && \ | ||
| mkdir /out && cp /root/rpmbuild/RPMS/*/azure-cli-${cli_version}-1.*.rpm /out/ | ||
| cp /usr/src/*/RPMS/*/azure-cli-${cli_version}-1.*.rpm /azure-cli-dev.rpm && \ | ||
| mkdir /out && cp /usr/src/*/RPMS/*/azure-cli-${cli_version}-1.*.rpm /out/ |
Yong Zhang (yonzhan)
approved these changes
Aug 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…#33815)"
This reverts commit 0c7340d.
Revert Azure CLI Docker image based on Azure Linux 4.0