Skip to content

Commit

Permalink
Pin azureml version to 1.27.* (microsoft#361)
Browse files Browse the repository at this point in the history
* Update ci_dependencies.yml

* Update diabetes_regression-cd.yml

* Update diabetes_regression-package-model-template.yml

* Update diabetes_regression-publish-model-artifact-template.yml

* Update conda_dependencies.yml

* Update conda_dependencies_scorecopy.yml

* Update conda_dependencies_scoring.yml
  • Loading branch information
j-so authored May 13, 2021
1 parent 2892680 commit ae60e48
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .pipelines/diabetes_regression-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ stages:
azureSubscription: '$(WORKSPACE_SVC_CONNECTION)'
scriptLocation: inlineScript
workingDirectory: $(Build.SourcesDirectory)
inlineScript: 'az extension add -n azure-cli-ml'
inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes'
- task: AzureCLI@1
displayName: "Deploy to ACI (CLI)"
inputs:
Expand Down Expand Up @@ -95,7 +95,7 @@ stages:
azureSubscription: '$(WORKSPACE_SVC_CONNECTION)'
scriptLocation: inlineScript
workingDirectory: $(Build.SourcesDirectory)
inlineScript: 'az extension add -n azure-cli-ml'
inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes'
- task: AzureCLI@1
displayName: "Deploy to AKS (CLI)"
inputs:
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/diabetes_regression-package-model-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ steps:
azureSubscription: '$(WORKSPACE_SVC_CONNECTION)'
scriptLocation: inlineScript
workingDirectory: $(Build.SourcesDirectory)
inlineScript: 'az extension add -n azure-cli-ml'
inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes'
- task: AzureCLI@1
displayName: 'Create model package and set IMAGE_LOCATION variable'
inputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
azureSubscription: '$(WORKSPACE_SVC_CONNECTION)'
scriptLocation: inlineScript
workingDirectory: $(Build.SourcesDirectory)
inlineScript: 'az extension add -n azure-cli-ml'
inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes'
- task: AzureCLI@1
inputs:
azureSubscription: '$(WORKSPACE_SVC_CONNECTION)'
Expand Down
2 changes: 1 addition & 1 deletion diabetes_regression/ci_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:

- pip:
# dependencies with versions aligned with conda_dependencies.yml.
- azureml-sdk
- azureml-sdk==1.27.*

# Additional pip dependencies for the CI environment.
- pytest==5.4.*
Expand Down
4 changes: 2 additions & 2 deletions diabetes_regression/conda_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ dependencies:

- pip:
# Base AzureML SDK
- azureml-sdk
- azureml-sdk==1.27.*

# Must match AzureML SDK version.
# https://docs.microsoft.com/en-us/azure/machine-learning/concept-environments
- azureml-defaults
- azureml-defaults==1.27.*

# Training deps
- scikit-learn
Expand Down
2 changes: 1 addition & 1 deletion diabetes_regression/conda_dependencies_scorecopy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:

- pip:
# Base AzureML SDK
- azureml-sdk>1.18.0
- azureml-sdk==1.27.*

# Score copying deps
- azure-storage-blob
2 changes: 1 addition & 1 deletion diabetes_regression/conda_dependencies_scoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:

- pip:
# Base AzureML SDK
- azureml-sdk>1.18.0
- azureml-sdk==1.27.*

# Scoring deps
- scikit-learn
Expand Down

0 comments on commit ae60e48

Please sign in to comment.