-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
{CI} Fix regression test pipeline #28313
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
CI |
|
||
python ../scripts/ci/automation_full_test.py "12" "$(Instance_idx)" "latest" "" "True" "extension" | ||
displayName: "Rerun tests" | ||
- task: AzureCLI@1 |
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.
Any reason to use v1 instead of v2?
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.
totally fine to migrate to v2. It's just initially copied from somewhere else and v1 can already satisfy our requirements.
@@ -24,7 +24,7 @@ jobs: | |||
- task: AzureCLI@1 | |||
displayName: 'checkout branch' | |||
inputs: | |||
azureSubscription: 'Azure CLI release' | |||
azureSubscription: $(AZURE_SDK_INFRA_SUB_CONNECTED_SERVICE) |
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.
Don't expose AZURE_SDK_INFRA_SUB
. Instead, consider using REGRESSION_TEST_SERVICE_CONNECTION
.
pip install $(CUSTOM_WHL_URL) --force-reinstall | ||
fi | ||
|
||
az account set -s 0b1f6471-1bf0-4dda-aec3-cb9272f09590 |
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.
Consider extracting subscription ID to a variable as well.
Related command
Description
After enabling MFA, regression test pipeline keeps failing with :
This PR removed the login with username password and use service connection instead
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.