⚡ Sangsakala Proxy 🏠 Home
Skip to content

[release/v7.6.7] Add native Azure Linux 4 RPM packaging - #28154

Merged
Patrick Meinecke (SeeminglyScience) merged 1 commit into
PowerShell:release/v7.6.7from
SeeminglyScience:backport/release/v7.6.7/28107-b95da22ff
Oct 7, 2026
Merged

Patrick Meinecke (SeeminglyScience) merged 1 commit into
PowerShell:release/v7.6.7from
SeeminglyScience:backport/release/v7.6.7/28107-b95da22ff

Conversation

@SeeminglyScience

Copy link
Copy Markdown
Contributor

Backport of #28107 to release/v7.6.7

Triggered by Patrick Meinecke (@SeeminglyScience) on behalf of Justin Chung (@jshigetomi)

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Adds Azure Linux 4 packaging support, filename validation, package mappings, and packaging tests to the release tooling.

Customer Impact

  • Customer reported
  • Found internally

Adds native PowerShell RPM packages for Azure Linux 4 on x86_64 and aarch64, enabling installation through the preview and stable package feeds.

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

The original PR reports 32 targeted packaging and package-name tests passed. For this backport, PowerShell parser checks on the changed module and tests passed, and git diff --check passed. The targeted Pester tests were not run locally; CI must pass before merge.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

This changes RPM package generation, dependency selection, package validation, and repository mappings for a new Linux distribution. The v7.6 backport preserves its .NET 10 runtime contract, and CI validation is required before merge.

Merge Conflicts

Resolved tools/packaging/packaging.psm1 by adding azl4 to the existing cm dependency branch while retaining the v7.6 .NET 10 runtime dependency and documentation; updated the new packaging test to expect dotnet-runtime-10.0 instead of master’s dotnet-runtime-11.0. This follows the adaptation documented in closed prior attempt #28109, which was closed in favor of backporting the merged original PR.

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 7, 2026 18:05
@SeeminglyScience Patrick Meinecke (SeeminglyScience) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Oct 7, 2026
@azure-pipelines

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

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.

🔵 Needs a closer look

Release-package generation and feed routing require successful backport CI validation and final human review.

0 open findings

What changed in this PR

Backports native Azure Linux 4 RPM packaging to release/v7.6.7, preserving the branch’s .NET 10 dependency contract.

Changes:

  • Adds .azl4 RPM generation and exact artifact selection for both architectures.
  • Separates preview and stable feed mappings while retaining Azure Linux 3 support.
  • Updates filename validation and adds packaging tests.
File Description
tools/​packaging/​packaging.psm1 Adds Azure Linux 4 packaging and dependency selection.
tools/​packages.microsoft.com/​mapping.json Routes native packages to architecture-specific preview and stable feeds.
test/​packaging/​packaging.tests.ps1 Tests RPM metadata, dependencies, filenames, and mappings.
test/​packaging/​linux/​package-validation.tests.ps1 Tests .azl4 names and malformed filename rejection.
.pipelines/​templates/​release-validate-packagenames.yml Accepts .azl4 and tightens filename matching.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@SeeminglyScience
Patrick Meinecke (SeeminglyScience) merged commit dd1be64 into PowerShell:release/v7.6.7 Oct 7, 2026
38 checks passed
@SeeminglyScience
Patrick Meinecke (SeeminglyScience) deleted the backport/release/v7.6.7/28107-b95da22ff branch October 7, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants