Skip to content

Commit

Permalink
minio scripts added but extra support required from ctriface module. …
Browse files Browse the repository at this point in the history
…refer: #86

Signed-off-by: Shyam Jesalpura <[email protected]>
  • Loading branch information
shyamjesal authored and ustiugov committed Jan 8, 2021
1 parent a670f4d commit fed6c2b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion function-images/minio_scripts/create_minio_bucket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
# SOFTWARE.

#!/bin/bash
mc alias set myminio http://128.110.154.105:9000 minioadmin minioadmin
mc alias set myminio $1 minioadmin minioadmin
mc mb myminio/mybucket
Binary file added function-images/minio_scripts/mc
Binary file not shown.
Binary file added function-images/minio_scripts/minio
Binary file not shown.
6 changes: 3 additions & 3 deletions function-images/minio_scripts/put_in_bucket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ SERVERSDIR="$( cd $DIR && cd .. && pwd)"
BUCKET=myminio/mybucket


WORKLOAD=image_rotate
WORKLOAD=image_rotate_s3
for INPUTFILE in img2.jpeg img3.jpeg
do
mc cp $SERVERSDIR/$WORKLOAD/$INPUTFILE $BUCKET/$INPUTFILE
done


WORKLOAD=lr_training
WORKLOAD=lr_training_s3
for INPUTFILE in dataset.csv dataset2.csv
do
mc cp $SERVERSDIR/$WORKLOAD/$INPUTFILE $BUCKET/$INPUTFILE
done

WORKLOAD=json_serdes
WORKLOAD=json_serdes_s3
for INPUTFILE in 1.json 2.json
do
mc cp $SERVERSDIR/$WORKLOAD/$INPUTFILE $BUCKET/$INPUTFILE
Expand Down
2 changes: 1 addition & 1 deletion function-images/minio_scripts/start_minio_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
# SOFTWARE.

#!/bin/bash
sudo minio server /data --address 128.110.154.105:9000
sudo minio server /data

0 comments on commit fed6c2b

Please sign in to comment.