14
14
# Restrict to only running this workflow one at a time.
15
15
# Any new runs will be queued until the previous run is complete.
16
16
# Any existing pending runs will be cancelled and replaced with current run.
17
- concurrency :
18
- group : continuous-benchmark
17
+ # concurrency:
18
+ # group: continuous-benchmark
19
19
20
20
jobs :
21
21
runBenchmark :
34
34
export WITH_PAYLOAD=${{ inputs.with_payload }}
35
35
export SUFFIX=$([ "${WITH_PAYLOAD}" = "true" ] && echo "-with-payload" || echo "")
36
36
37
- bash -x tools/setup_ci.sh
38
-
39
- declare -A DATASET_TO_ENGINE
40
- DATASET_TO_ENGINE["laion-small-clip"]="qdrant-continuous-benchmark${SUFFIX}"
41
- DATASET_TO_ENGINE["msmarco-sparse-100K"]="qdrant-sparse-vector${SUFFIX}"
42
- DATASET_TO_ENGINE["h-and-m-2048-angular-filters"]="qdrant-continuous-benchmark${SUFFIX}"
43
- DATASET_TO_ENGINE["dbpedia-openai-100K-1536-angular"]="qdrant-bq-continuous-benchmark${SUFFIX}"
44
-
45
- set +e
46
-
47
- for dataset in "${!DATASET_TO_ENGINE[@]}"; do
48
- export ENGINE_NAME=${DATASET_TO_ENGINE[$dataset]}
49
- export DATASETS=$dataset
50
-
51
- # Benchmark the dev branch:
52
- export QDRANT_VERSION=ghcr/dev
53
- export QDRANT__FEATURE_FLAGS__ALL=true
54
- timeout 30m bash -x tools/run_ci.sh
55
-
56
- # Benchmark the master branch:
57
- export QDRANT_VERSION=docker/master
58
- export QDRANT__FEATURE_FLAGS__ALL=false
59
- timeout 30m bash -x tools/run_ci.sh
60
- done
61
-
62
- set -e
37
+ exit 1
63
38
- name : Fail job if any of the benches failed
64
39
if : steps.benches.outputs.failed == 'error' || steps.benches.outputs.failed == 'timeout'
65
40
run : exit 1
85
60
export WITH_PAYLOAD=${{ inputs.with_payload }}
86
61
export SUFFIX=$([ "${WITH_PAYLOAD}" = "true" ] && echo "-with-payload" || echo "")
87
62
88
- bash -x tools/setup_ci.sh
89
-
90
- set +e
91
-
92
- # Benchmark filtered search by tenants with mem limitation
93
-
94
- export ENGINE_NAME="qdrant-all-on-disk-scalar-q${SUFFIX}"
95
- export DATASETS="random-768-100-tenants"
96
- export BENCHMARK_STRATEGY="tenants"
97
- export CONTAINER_MEM_LIMIT=160mb
98
-
99
- # Benchmark the dev branch:
100
- export QDRANT_VERSION=ghcr/dev
101
- export QDRANT__FEATURE_FLAGS__ALL=true
102
- timeout 30m bash -x tools/run_ci.sh
103
-
104
- # Benchmark the master branch:
105
- export QDRANT_VERSION=docker/master
106
- export QDRANT__FEATURE_FLAGS__ALL=false
107
- timeout 30m bash -x tools/run_ci.sh
108
-
109
- set -e
63
+ exit 1
110
64
- name : Fail job if any of the benches failed
111
65
if : steps.benches.outputs.failed == 'error' || steps.benches.outputs.failed == 'timeout'
112
66
run : exit 1
@@ -132,28 +86,7 @@ jobs:
132
86
export WITH_PAYLOAD=${{ inputs.with_payload }}
133
87
export SUFFIX=$([ "${WITH_PAYLOAD}" = "true" ] && echo "-with-payload" || echo "")
134
88
135
- bash -x tools/setup_ci.sh
136
-
137
- set +e
138
-
139
- # Benchmark parallel search&upload
140
-
141
- export ENGINE_NAME="qdrant-continuous-benchmark${SUFFIX}"
142
- export DATASETS="laion-small-clip"
143
- export BENCHMARK_STRATEGY="parallel"
144
- export POSTGRES_TABLE="benchmark_parallel_search_upload"
145
-
146
- # Benchmark the dev branch:
147
- export QDRANT_VERSION=ghcr/dev
148
- export QDRANT__FEATURE_FLAGS__ALL=true
149
- timeout 30m bash -x tools/run_ci.sh
150
-
151
- # Benchmark the master branch:
152
- export QDRANT_VERSION=docker/master
153
- export QDRANT__FEATURE_FLAGS__ALL=false
154
- timeout 30m bash -x tools/run_ci.sh
155
-
156
- set -e
89
+ exit 1
157
90
- name : Fail job if any of the benches failed
158
91
if : steps.benches.outputs.failed == 'error' || steps.benches.outputs.failed == 'timeout'
159
92
run : exit 1
0 commit comments