File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 8585 run : |
8686 source ./scripts/run_s3_test_server.sh
8787 source ./scripts/set_s3_test_server_variables.sh
88- sleep 30
8988 make test
Original file line number Diff line number Diff line change @@ -77,5 +77,6 @@ services:
7777 /usr/bin/mc share download myminio/test-bucket/presigned/lineitem_large.parquet
7878 /usr/bin/mc share download myminio/test-bucket/presigned/attach.db
7979
80+ echo 'FINISHED SETTING UP MINIO'
8081 exit 0;
8182 "
Original file line number Diff line number Diff line change 1111 docker compose -f scripts/minio_s3.yml -p duckdb-minio up -d
1212
1313 # for testing presigned url
14- sleep 10
1514 container_name=$( docker ps -a --format ' {{.Names}}' | grep -m 1 " duckdb-minio" )
1615 echo $container_name
1716
17+ for i in $( seq 1 360) ;
18+ do
19+ logs=$( docker logs $container_name 2> /dev/null | grep ' FINISHED SETTING UP MINIO' )
20+ if [ ! -z " ${logs} " ]; then
21+ break
22+ fi
23+ sleep 1
24+ done
25+
26+
1827 export S3_SMALL_CSV_PRESIGNED_URL=$( docker logs $container_name 2> /dev/null | grep -m 1 ' Share:.*phonenumbers\.csv' | grep -o ' http[s]\?://[^ ]\+' )
1928 echo $S3_SMALL_CSV_PRESIGNED_URL
2029
You can’t perform that action at this time.
0 commit comments