mirror of https://github.com/kubeflow/examples.git
update non-pipeline run bash scripts
This commit is contained in:
parent
e2d1c94447
commit
733923410c
|
|
@ -1,3 +1,9 @@
|
|||
#!/bin/bash
|
||||
IMAGE=<your_registry>.azurecr.io/kubeflow/deploy
|
||||
while getopts "r:" option;
|
||||
do
|
||||
case "$option" in
|
||||
r ) REGISTRY_NAME=${OPTARG};;
|
||||
esac
|
||||
done
|
||||
IMAGE=${REGISTRY_NAME}.azurecr.io/deploy
|
||||
docker build -t $IMAGE . && docker run -it $IMAGE
|
||||
|
|
|
|||
|
|
@ -1,4 +1,12 @@
|
|||
#!/bin/bash
|
||||
while getopts "n:w:g:" option;
|
||||
do
|
||||
case "$option" in
|
||||
n ) DEPLOYMENT_NAME=${OPTARG};;
|
||||
w ) WORKSPACE=${OPTARG};;
|
||||
g ) RESOURCE_GROUP=${OPTARG};;
|
||||
esac
|
||||
done
|
||||
echo "test the deployment with a burrito image"
|
||||
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"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
#!/bin/bash
|
||||
IMAGE=<your_registry>.azurecr.io/kubeflow/preprocess
|
||||
while getopts "r:" option;
|
||||
do
|
||||
case "$option" in
|
||||
r ) REGISTRY_NAME=${OPTARG};;
|
||||
esac
|
||||
done
|
||||
IMAGE=${REGISTRY_NAME}.azurecr.io/preprocess
|
||||
docker build -t $IMAGE . && docker run -it $IMAGE
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
#!/bin/bash
|
||||
IMAGE=<your_registry>.azurecr.io/kubeflow/profile
|
||||
while getopts "r:" option;
|
||||
do
|
||||
case "$option" in
|
||||
r ) REGISTRY_NAME=${OPTARG};;
|
||||
esac
|
||||
done
|
||||
IMAGE=${REGISTRY_NAME}.azurecr.io/profile
|
||||
docker build -t $IMAGE . && docker run -it $IMAGE
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
#!/bin/bash
|
||||
IMAGE=<your_registry>.azurecr.io/kubeflow/register
|
||||
while getopts "r:" option;
|
||||
do
|
||||
case "$option" in
|
||||
r ) REGISTRY_NAME=${OPTARG};;
|
||||
esac
|
||||
done
|
||||
IMAGE=${REGISTRY_NAME}.azurecr.io/register
|
||||
docker build -t $IMAGE . && docker run -it $IMAGE
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
#!/bin/bash
|
||||
IMAGE=<your_registry>.azurecr.io/kubeflow/training
|
||||
while getopts "r:" option;
|
||||
do
|
||||
case "$option" in
|
||||
r ) REGISTRY_NAME=${OPTARG};;
|
||||
esac
|
||||
done
|
||||
IMAGE=${REGISTRY_NAME}.azurecr.io/training
|
||||
docker build -t $IMAGE . && docker run -it $IMAGE
|
||||
|
|
|
|||
Loading…
Reference in New Issue