Skip to content

[release/v7.6.10] Install Az.Storage for release storage publishing jobs - #28330

Merged
Justin Chung (jshigetomi) merged 1 commit into
release/v7.6.10from
jshigetomi-review-7-6-10-backports
Nov 4, 2026
Merged

Justin Chung (jshigetomi) merged 1 commit into
release/v7.6.10from
jshigetomi-review-7-6-10-backports

Conversation

@jshigetomi

Copy link
Copy Markdown
Collaborator

PR Summary

Backport #28323 to release/v7.6.10.

  • Install Az.Storage 9.7.2 from the internal PowerShellGalleryMirror feed in all three storage-publication jobs.
  • Explicitly import the exact module version before invoking storage commands.

PR Context

The release publishing jobs depended on Az.Storage being present in the hosted image. This change removes that floating image dependency so New-AzStorageContext and the other storage commands remain available to the PowerShell 7.6.10 publishing stages.

Validation:

  • python -c "import yaml,pathlib; files=[pathlib.Path(r'.pipelines\templates\release-MakeBlobPublic.yml'),pathlib.Path(r'.pipelines\templates\release-upload-buildinfo.yml')]; [yaml.safe_load(p.read_text(encoding='utf-8')) for p in files]; print('Parsed YAML:', ', '.join(str(p) for p in files))" — Passed; both changed templates parsed successfully.
  • git diff origin/release/v7.6.10...HEAD --check — Passed.

PR Checklist

Backport of #28323 to release/v7.6.10.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jshigetomi
Justin Chung (jshigetomi) requested a review from a team as a code owner November 4, 2026 17:00
Copilot AI balanced review requested due to automatic review settings November 4, 2026 17:00
@jshigetomi Justin Chung (jshigetomi) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 4, 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

Only YAML parsing is documented, leaving internal-mirror dependency installation, Az.Storage 9.7.2 compatibility, and authenticated storage operations unverified across all three publishing jobs on PSMMS2019-Secure.

No open issues 🎉

What changed in this PR

Backports #28323 to release/v7.6.10, removing the release storage-publication jobs’ dependency on Az.Storage being preinstalled in the hosted image.

Changes:

  • Install Az.Storage 9.7.2 from PowerShellGalleryMirror in all three storage-publication jobs.
  • Import the exact module version before running storage commands.
File Description
.pipelines/​templates/​release-upload-buildinfo.yml Install and import the pinned module before uploading build metadata.
.pipelines/​templates/​release-MakeBlobPublic.yml Install and import the pinned module in both blob-copy jobs.

Review effort: Balanced

@jshigetomi
Justin Chung (jshigetomi) merged commit d0d0f96 into release/v7.6.10 Nov 4, 2026
35 of 36 checks passed
@jshigetomi
Justin Chung (jshigetomi) deleted the jshigetomi-review-7-6-10-backports branch November 4, 2026 23:51
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.

3 participants