File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/aks-preview/azcli_aks_live_test/scripts Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ setupAZ(){
3434 # install azdev, used later to install azcli and extension
3535 pip install azdev==0.1.60
3636
37+ # fix setuptools to 77.0.3 as a workaround for "No module named azure.cli.__main__; 'azure.cli' is a package and cannot be directly executed"
38+ pip install setuptools==77.0.3
39+
3740 # pre-install-az: check existing az
3841 which az || az version || az extension list || true
3942
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ removeAKSPreview
3737
3838# login before the recording test to avoid the newly added test case does not include a corresponding
3939# recording file and fall back to live mode, otherwise it will prompt `az login`.
40- az login --identity -u " ${IDENTITY_RESOURCE_ID} "
40+ az login --identity --resource-id " ${IDENTITY_RESOURCE_ID} "
4141az account set -s " ${AZCLI_ALT_SUBSCRIPTION_ID} "
4242az account show
4343
You can’t perform that action at this time.
0 commit comments