Skip to content

[Packaging] Revert Azure CLI Docker image based on Azure Linux 4.0 - #33831

Merged
mansoor sarfraz (msarfraz) merged 1 commit into
devfrom
msarfraz/azure-linux4-revert
Aug 3, 2026
Merged

[Packaging] Revert Azure CLI Docker image based on Azure Linux 4.0#33831
mansoor sarfraz (msarfraz) merged 1 commit into
devfrom
msarfraz/azure-linux4-revert

Conversation

@msarfraz

Copy link
Copy Markdown
Contributor

#33815)"

This reverts commit 0c7340d.
Revert Azure CLI Docker image based on Azure Linux 4.0

Copilot AI review requested due to automatic review settings August 3, 2026 00:44
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@yonzhan

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! We will review the pull request and get back to you soon.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.0 to azurelinux ... :3.0.
  • Update pipeline matrix labels and artifact names from azurelinux4.0 to azurelinux3.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/
@msarfraz
mansoor sarfraz (msarfraz) merged commit 2036a96 into dev Aug 3, 2026
104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants