-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[ACR] az acr check-health
: Remove notary functionality from ACR health check
#31873
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
base: dev
Are you sure you want to change the base?
Conversation
️✔️AzureCLI-FullTest
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
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.
Pull Request Overview
This PR removes deprecated notary functionality from the Azure Container Registry health check command, simplifying the codebase by eliminating dependencies on the obsolete notary tool while preserving all other essential health check capabilities.
- Removed notary-related constants and version checking function
- Eliminated the notary version check from the main health check workflow
- Streamlined the ACR health check to focus on active tools (Docker, Helm, registry connectivity)
Hi @sajayantony, |
️✔️AzureCLI-BreakingChangeTest
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
az acr check-health
: Remove notary functionality from ACR health check
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
May I ask whether this PR introduces any breaking changes for users? |
Please note that Azure CLI is responsible only for code specifications, not business logic. It would be best to get approval from someone who is responsible for the business logic. |
please note that the code completion date for the upcoming release is 08/26/2025 at 07:00 UTC. If you want to catch this release train, please address the comments ASAP, otherwise it has to be postponed to next sprint (10/14). |
Related command
az acr check-health
Description
This PR removes the deprecated notary functionality from the Azure Container Registry health check command. The changes include:
RECOMMENDED_NOTARY_VERSION
andNOTARY_VERSION_REGEX
constants_get_notary_version()
function (40+ lines of notary-specific code)_get_notary_version(ignore_errors)
from the main health check workflowThis streamlines the ACR health check by eliminating dependencies on the deprecated notary tool while maintaining all other essential functionality including Docker, Helm, registry connectivity, and authentication checks.
Testing Guide
Test the ACR health check command to verify notary checks are removed: