Skip to content

Commit 89b31b4

Browse files
committed
updated artifact eval scripts, added an input files with the functions to run.
Signed-off-by: Dmitrii Ustiugov <[email protected]>
1 parent fd239e3 commit 89b31b4

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

ae_scripts/functions.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
helloworld
2+
chameleon
3+
pyaes
4+
image_rotate_s3
5+
json_serdes_s3
6+
lr_serving
7+
cnn_serving
8+
rnn_serving
9+
lr_training_s3
10+
video_processing_s3

ae_scripts/run_all.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,17 @@ fi
5555

5656
host_ip=`curl ifconfig.me`
5757

58-
wlds=(helloworld chameleon pyaes image_rotate_s3 json_serdes_s3 lr_serving cnn_serving rnn_serving lr_training_s3 video_processing_s3)
58+
#wlds=(helloworld chameleon pyaes image_rotate_s3 json_serdes_s3 lr_serving cnn_serving rnn_serving lr_training_s3 video_processing_s3)
59+
60+
# Reading the file with functions
61+
i=0
62+
for j in `cat $ROOT/ae_scripts/functions.txt`
63+
do
64+
wlds[$i]=$j
65+
i=$(($i+1))
66+
done
67+
68+
echo The experiment will run the following functions: ${wlds[@]}
5969

6070
all_results_path=all_results
6171
results_path=$all_results_path/$mode

ae_scripts/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ $ROOT/function-images/minio_scripts/start_minio_server.sh &
5454
sleep 1
5555

5656
host_ip=`curl ifconfig.me`
57-
$ROOT/function-images/minio_scripts/create_minio_bucket.sh http://$host_ip:9000
57+
$ROOT/function-images/minio_scripts/create_minio_bucket.sh http://$host_ip:9000 || echo Minio bucket exists, continuing...
5858

5959
echo Populate the bucket with all files
6060
$ROOT/function-images/minio_scripts/put_in_bucket.sh
6161

6262
echo Contents of the MinIO bucket:
6363
mc ls myminio/mybucket
6464

65-
sudo pkill -9 minio
65+
sudo pkill -9 minio || echo
6666

6767
echo Build the project
6868

0 commit comments

Comments
 (0)