[ACR] az acr create/update: Add new parameter --writable-cache-repo to enable writable behavior for cache repositories within a registry - #33772
Merged
Conversation
|
Hi @mabelegba, |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
microsoft-github-policy-service
Bot
requested review from
northtyphoon and
terencet-dev
July 22, 2026 22:59
Collaborator
|
ACR |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support in the ACR command module to configure the registry’s writable cache repositories setting via az acr create and az acr update, with accompanying help/history updates and an SDK dependency bump to expose the needed model/field.
Changes:
- Add
--writable-cache-repoargument toaz acr createandaz acr updateand plumb it into the registry model (writable_cache_repos). - Update ACR help examples and
HISTORY.rstto document the new parameter. - Bump
azure-mgmt-containerregistrypinned version from15.1.0b1to15.1.0b2in packaging requirement sources.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/azure-cli/setup.py | Bumps azure-mgmt-containerregistry pin used for packaging/install. |
| src/azure-cli/requirements.py3.windows.txt | Updates Windows pinned dependency version for azure-mgmt-containerregistry. |
| src/azure-cli/requirements.py3.Darwin.txt | Updates macOS pinned dependency version for azure-mgmt-containerregistry. |
| src/azure-cli/HISTORY.rst | Adds history notes for the new ACR create/update parameter. |
| src/azure-cli/azure/cli/command_modules/acr/custom.py | Wires the new argument into create/update request payloads. |
| src/azure-cli/azure/cli/command_modules/acr/_params.py | Defines the new CLI argument for create/update. |
| src/azure-cli/azure/cli/command_modules/acr/_help.py | Adds usage examples for the new parameter. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
luisdlp
reviewed
Jul 24, 2026
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
mabelegba
requested review from
Greedygre,
Juliehzl and
howang-ms
as code owners
July 26, 2026 23:10
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
mabelegba
force-pushed
the
writableCacheRepos
branch
from
July 26, 2026 23:39
5b7ffff to
e15dc6c
Compare
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
kichalla
reviewed
Jul 27, 2026
kichalla
approved these changes
Jul 27, 2026
added 5 commits
July 27, 2026 19:13
mark writable-cache-repos create tests as live_only pin azure-mgmt-containerregistry 15.1.0b2 in Linux requirements
mabelegba
force-pushed
the
writableCacheRepos
branch
from
July 27, 2026 23:41
e15dc6c to
379ed42
Compare
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
az acr create/update: Add new parameter --writable-cache-repo to enable writable behavior for cache repositories within a registry
yanzhudd
reviewed
Jul 28, 2026
Release notes are generated automatically; drop the hand-written changelog lines per reviewer feedback. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: de276cb2-321c-4e46-8d90-9f6c4bbda7af
Contributor
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
yanzhudd
approved these changes
Jul 28, 2026
isra-fel
approved these changes
Jul 28, 2026
isra-fel
approved these changes
Jul 28, 2026
isra-fel
approved these changes
Jul 28, 2026
necusjz
approved these changes
Jul 28, 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.
🤖 PR Validation —⚠️ Review suggested
Related command
az acr createaz acr updateDescription
Add new flag to enable writable behavior for cache repositories within a registry.
flag: --writable_cache_repo
arg: enable/disable
default behavior is disabled
Testing Guide
manual az acr create and update commands
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.