Update setup.sh
This commit is contained in:
Родитель
5e82d100e1
Коммит
2dfef65a17
28
cli/setup.sh
28
cli/setup.sh
|
@ -5,22 +5,22 @@
|
|||
### * Uncomment the following block surrounded by {}
|
||||
### * Comment the ml extension install within <az_ml_install>
|
||||
|
||||
# {
|
||||
# wheel_url='https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.9.0-py3-none-any.whl'
|
||||
#
|
||||
# az extension remove -n ml
|
||||
# if ! az extension add --yes --upgrade --source "$wheel_url"; then
|
||||
#
|
||||
# echo "Error: Failed to install release candidate"
|
||||
# exit 1
|
||||
# fi
|
||||
# az version
|
||||
# unset wheel_url
|
||||
# }
|
||||
{
|
||||
wheel_url="https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.27.0-py3-none-any.whl"
|
||||
|
||||
az extension remove -n ml
|
||||
if ! az extension add --yes --upgrade --source "$wheel_url"; then
|
||||
|
||||
echo "Error: Failed to install release candidate"
|
||||
exit 1
|
||||
fi
|
||||
az version
|
||||
unset wheel_url
|
||||
}
|
||||
|
||||
|
||||
# <az_ml_install>
|
||||
az extension add -n ml -y
|
||||
# az extension add -n ml -y
|
||||
# </az_ml_install>
|
||||
|
||||
## For backward compatibility - running on old subscription
|
||||
|
@ -44,4 +44,4 @@ then
|
|||
echo "Default resource group set to $GROUP"
|
||||
else
|
||||
echo "Workflows are using the new subscription."
|
||||
fi
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче