Skip to content

Commit

Permalink
fail on deploy error'
Browse files Browse the repository at this point in the history
  • Loading branch information
j-so committed Jun 12, 2020
1 parent bae4b61 commit c7845aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pipelines/diabetes_regression-cd-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ stages:
scriptLocation: inlineScript
workingDirectory: $(Build.SourcesDirectory)/$(SOURCES_DIR_TRAIN)/scoring
inlineScript: |
set -e # fail on error
az ml model deploy --name $(ACI_DEPLOYMENT_NAME) --model '$(MODEL_NAME):$(MODEL_VERSION)' \
--ic inference_config.yml \
--dc deployment_config_aci.yml \
-g $(RESOURCE_GROUP) --workspace-name $(WORKSPACE_NAME) \
--overwrite -v
Expand Down

0 comments on commit c7845aa

Please sign in to comment.