-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqbot
executable file
·43 lines (40 loc) · 976 Bytes
/
qbot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
#QBO_DEMO=$HOME/qbo-demo
QBO_DEMO=$PWD/demos
DEMO="$1"
color=33
usage() {
echo -e "\033[1;38;5;${color}m>>>\033[0m $0 \033[1;38;5;${color}m{ qke\n | istio\n | nginx\n | kubeconfig\n | gpu-operator\n | kubeflow\n | otel }\033[0m -- Demo to run"
exit 1
}
if [ "$DEMO" = "istio" ]; then
#echo $DEMO
cd $QBO_DEMO/$DEMO
./qbot $DEMO
elif [ "$DEMO" = "nginx" ]; then
#echo $DEMO
cd $QBO_DEMO/$DEMO
./qbot $DEMO
elif [ "$DEMO" = "kubeconfig" ]; then
#echo $DEMO
cd $QBO_DEMO/$DEMO
./qbot $@
elif [ "$DEMO" = "gpu-operator" ]; then
#echo $DEMO
cd $QBO_DEMO/$DEMO
./qbot $@
elif [ "$DEMO" = "kubeflow" ]; then
#echo $DEMO
cd $QBO_DEMO/$DEMO
./qbot $@
elif [ "$DEMO" = "otel" ]; then
#echo $DEMO
cd $QBO_DEMO/$DEMO
./qbot $@
elif [ "$DEMO" = "qke" ]; then
#echo $DEMO
cd $QBO_DEMO/$DEMO
./qbot $@
else
usage
fi