-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[ACR] az acr manifest: Add new command group
#21161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@zhoxing-ms for awareness |
az acr manifest command group
az acr manifest command groupaz acr manifest: Add new command group
| repository, tag, manifest = _parse_image_name(manifest_spec, allow_digest=True) | ||
|
|
||
| if not manifest: | ||
| image = repository + ':' + tag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You use it several times. Might as well create a constant call repoTagLimiter or something like that
src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py
Show resolved
Hide resolved
|
@rosanch I see you left a lot of comments but approved this PR. Do you think we can merge this PR? |
|
@rosanch I see that everyone has approved it. In order to avoid delaying it until the next sprint release, I'll merge it first. If there is anything to be optimized, we can submit a new PR for release in the next sprint |
Description
az acr manifestaz acr repository show-manifestscommandTesting Guide
name: Get the manifest of the artifact 'hello-world:latest'.
text: az acr manifest show -r MyRegistry -n hello-world:latest
name: List the manifests of the repository 'hello-world'.
text: az acr manifest list -r MyRegistry -n hello-world
name: Delete the manifest of the artifact 'hello-world:latest'.
text: az acr manifest delete -r MyRegistry -n hello-world:latest
name: List the referrers to the manifest of the artifact 'hello-world:latest'.
text: az acr manifest list-referrers -r MyRegistry -n hello-world:latest
name: Get the metadata of the tag 'hello-world:latest'.
text: az acr manifest metadata show -r MyRegistry -n hello-world:latest
name: List the metadata of the manifests in the repository 'hello-world'.
text: az acr manifest metadata list -r MyRegistry -n hello-world
name: Update the metadata of the tag 'hello-world:latest'.
text: az acr manifest metadata update -r MyRegistry -n hello-world:latest --write-enabled false
History Notes
[ACR]
az acr manifest: Add new command group to support managing artifact manifests in Azure Container Registries[ACR] Deprecate
az acr repository show-manifestscommand and replace withacr manifest metadata listcommandThis 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.