File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ if [[ "$EXPERIMENT_MODE" == "snapshot" ]]; then
39
39
40
40
else
41
41
scp " ${SCRIPT_PATH} /run_experiment.sh" " ${SERVER_USERNAME} @${IP_OF_THE_CLIENT} :~/run_experiment.sh"
42
+ scp " ${SCRIPT_PATH} /../datasets/datasets.json" " ${SERVER_USERNAME} @${IP_OF_THE_CLIENT} :~/datasets.json"
42
43
43
44
RUN_EXPERIMENT=" ENGINE_NAME=${ENGINE_NAME} \
44
45
DATASETS=${DATASETS} \
Original file line number Diff line number Diff line change @@ -45,7 +45,14 @@ if [[ "$EXPERIMENT_MODE" != "snapshot" ]]; then
45
45
docker rmi --force qdrant/vector-db-benchmark:latest || true
46
46
fi
47
47
48
+ echo " Ensure datasets volume exists and contains latest datasets.json"
48
49
docker volume create ci-datasets
50
+ if [[ -f " $HOME /datasets.json" ]]; then
51
+ echo " Found datasets.json, update the volume"
52
+ mv ~ /datasets.json " $( docker volume inspect ci-datasets -f ' {{ .Mountpoint }}' ) "
53
+ else
54
+ echo " datasets.json is missing, do not update the volume"
55
+ fi
49
56
50
57
if [[ " $EXPERIMENT_MODE " == " full" ]] || [[ " $EXPERIMENT_MODE " == " upload" ]]; then
51
58
echo " EXPERIMENT_MODE=$EXPERIMENT_MODE "
You can’t perform that action at this time.
0 commit comments