From e2d1c944476bed0e4b0fb09d8ef76ca13a9059d0 Mon Sep 17 00:00:00 2001 From: Rebecca McFadden Date: Thu, 1 Aug 2019 21:06:35 -0700 Subject: [PATCH] Update inference.sh --- pipelines/azurepipeline/code/deploy/inference.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pipelines/azurepipeline/code/deploy/inference.sh b/pipelines/azurepipeline/code/deploy/inference.sh index ad72d9e35..e0f379039 100644 --- a/pipelines/azurepipeline/code/deploy/inference.sh +++ b/pipelines/azurepipeline/code/deploy/inference.sh @@ -1,4 +1,5 @@ +#!/bin/bash echo "test the deployment with a burrito image" -az ml service run -n fooddeployaci -d '{ "image": "https://www.exploreveg.org/files/2015/05/sofritas-burrito.jpeg" }' -w taco-workspace -g taco-rg +az ml service run -n ${DEPLOYMENT_NAME} -d '{ "image": "https://www.exploreveg.org/files/2015/05/sofritas-burrito.jpeg" }' -w ${WORKSPACE} -g ${RESOURCE_GROUP} echo "test the deployment with a taco image" -az ml service run -n fooddeployaci -d '{ "image": "https://c1.staticflickr.com/5/4022/4401140214_f489c708f0_b.jpg" }' -w taco-workspace -g taco-rg +az ml service run -n ${DEPLOYMENT_NAME} -d '{ "image": "https://c1.staticflickr.com/5/4022/4401140214_f489c708f0_b.jpg" }' -w ${WORKSPACE} -g ${RESOURCE_GROUP}