Skip to content

Commit 602df65

Browse files
authored
Update ML extension installation script
1 parent 334bb09 commit 602df65

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

cli/setup.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
### * Uncomment the following block surrounded by {}
66
### * Comment the ml extension install within <az_ml_install>
77

8-
# {
9-
# wheel_url='https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.9.0-py3-none-any.whl'
10-
#
11-
# az extension remove -n ml
12-
# if ! az extension add --yes --upgrade --source "$wheel_url"; then
13-
#
14-
# echo "Error: Failed to install release candidate"
15-
# exit 1
16-
# fi
17-
# az version
18-
# unset wheel_url
19-
# }
8+
{
9+
wheel_url='https://mlsdkfdnprod.azureedge.net/ml-2.40.0-py3-none-any.whl'
10+
11+
az extension remove -n ml
12+
if ! az extension add --yes --upgrade --source "$wheel_url"; then
13+
14+
echo "Error: Failed to install release candidate"
15+
exit 1
16+
fi
17+
az version
18+
unset wheel_url
19+
}
2020

2121

2222
# <az_ml_install>
23-
az extension add -n ml -y
23+
#az extension add -n ml -y
2424
# </az_ml_install>
2525

2626
## For backward compatibility - running on old subscription
@@ -44,4 +44,4 @@ then
4444
echo "Default resource group set to $GROUP"
4545
else
4646
echo "Workflows are using the new subscription."
47-
fi
47+
fi

0 commit comments

Comments
 (0)