[ACR] az acr login: Add refreshToken and username fields to the output after using --expose-token parameter#31091
[ACR] az acr login: Add refreshToken and username fields to the output after using --expose-token parameter#31091zhoxing-ms merged 17 commits intoAzure:devfrom wangxiaoxuan273:add-refresh-token-field
az acr login: Add refreshToken and username fields to the output after using --expose-token parameter#31091Conversation
️✔️AzureCLI-FullTest
|
|
Hi @wangxiaoxuan273, |
️✔️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>
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
refreshToken field to the output of az acr login --expose-tokenrefreshToken and username fields to the output of az acr login --expose-token
Wwwsylvia
left a comment
There was a problem hiding this comment.
This is not a breaking change, is it?🤔
|
@Wwwsylvia and @wangxiaoxuan273 Can we add tests here in this test file to validate that Right now, the refresh token tests only validate that the method was called with certain arguments. Please validate that the output also contains both the existing and new fields we added. |
You are right, we are not changing the |
refreshToken and username fields to the output of az acr login --expose-tokenrefreshToken and username fields to the output of az acr login --expose-token
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
johnsonshi
left a comment
There was a problem hiding this comment.
Thank you for adding the tests. I am approving the PR now - however, I have one small request for you to change in the diagnostics.
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
|
@jsntcy @yanzhudd @zhoxing-ms Can you review and merge this PR? Thanks |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 31091 in repo Azure/azure-cli |
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
please note that Azure CLI will have a code freeze on 04/21/2025 07:00 UTC for the upcoming release. Please address the comments ASAP, otherwise it has to be postponed to next sprint (05-19). |
|
Could you please resolve these CI issues and conflicts? |
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
Description
changes the output of
az acr login --expose-token.Fixes #20689
Testing Guide
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.