Skip to content

Commit d1ded47

Browse files
committed
fix
1 parent af616a8 commit d1ded47

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/aks-preview/azcli_aks_live_test/scripts/setup_venv.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/aks-preview/azcli_aks_live_test/scripts/test_cli_live.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}"
4141
az account set -s "${AZCLI_ALT_SUBSCRIPTION_ID}"
4242
az account show
4343

0 commit comments

Comments
 (0)