File tree Expand file tree Collapse file tree 6 files changed +15
-9
lines changed Expand file tree Collapse file tree 6 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set -e
3
+ PS4=' ts=$(date "+%Y-%m-%dT%H:%M:%SZ") level=DEBUG line=$LINENO file=$BASH_SOURCE '
4
+ set -euo pipefail
4
5
5
6
# Examples: qdrant-single-node, qdrant-single-node-rps
6
7
CONTAINER_NAME=$1
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set -e
3
+ PS4=' ts=$(date "+%Y-%m-%dT%H:%M:%SZ") level=DEBUG line=$LINENO file=$BASH_SOURCE '
4
+ set -euo pipefail
4
5
5
6
function handle_err() {
6
- echo " Error occured ${QDRANT_VERSION@ A} ${ENGINE_NAME@ A} ${DATASETS@ A } "
7
+ echo " Error occured qdrant_version= ${QDRANT_VERSION} engine_name= ${ENGINE_NAME} dataset= ${DATASETS} "
7
8
echo " {failed}={error}" >> $GITHUB_OUTPUT
8
9
}
9
10
10
11
function handle_term() {
11
- echo " Timeout occured ${QDRANT_VERSION@ A} ${ENGINE_NAME@ A} ${DATASETS@ A } "
12
+ echo " Timeout occured qdrant_version= ${QDRANT_VERSION} engine_name= ${ENGINE_NAME} dataset= ${DATASETS} "
12
13
echo " {failed}={timeout}" >> $GITHUB_OUTPUT
13
14
}
14
15
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set -e
3
+ PS4=' ts=$(date "+%Y-%m-%dT%H:%M:%SZ") level=DEBUG line=$LINENO file=$BASH_SOURCE '
4
+ set -euo pipefail
4
5
5
6
CLOUD_NAME=${CLOUD_NAME:- " hetzner" }
6
7
SERVER_USERNAME=${SERVER_USERNAME:- " root" }
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set -e
3
+ PS4=' ts=$(date "+%Y-%m-%dT%H:%M:%SZ") level=DEBUG line=$LINENO file=$BASH_SOURCE '
4
+ set -euo pipefail
4
5
5
6
ENGINE_NAME=${ENGINE_NAME:- " qdrant-continuous-benchmark" }
6
7
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set -e
3
+ PS4=' ts=$(date "+%Y-%m-%dT%H:%M:%SZ") level=DEBUG line=$LINENO file=$BASH_SOURCE '
4
+ set -euo pipefail
4
5
5
6
# Setup 2 machines in Hetzner Cloud
6
7
# One machine will be used as a server, another one as a client
7
8
8
9
cleanup () {
9
- echo " cleaning up... "
10
+ echo " cleaning up file= $BASH_SOURCE "
10
11
# bash -x "${SCRIPT_PATH}/tear_down.sh"
11
12
}
12
13
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set -e
3
+ PS4=' ts=$(date "+%Y-%m-%dT%H:%M:%SZ") level=DEBUG line=$LINENO file=$BASH_SOURCE '
4
+ set -euo pipefail
4
5
5
6
# Examples: qdrant-continuous-benchmarks
6
7
CONTAINER_NAME=$1
You can’t perform that action at this time.
0 commit comments