Skip to content

Commit

Permalink
update cli wheel for sample validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ninghu committed Nov 6, 2023
1 parent e4fec5a commit d79bc84
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions cli/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.22.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
Expand Down

0 comments on commit d79bc84

Please sign in to comment.