[ACR] enable writableCacheRepos for CLI#33772
Open
mabelegba wants to merge 5 commits into
Open
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
added 4 commits
July 24, 2026 17:10
…re-cli into writableCacheRepos
mark writable-cache-repos create tests as live_only pin azure-mgmt-containerregistry 15.1.0b2 in Linux requirements
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
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.
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.
🤖 PR Validation — ❌ Action needed
❌AzureCLI-FullTest