summaryrefslogtreecommitdiff
path: root/scripts/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/benchmark')
-rwxr-xr-xscripts/benchmark/benchmark-all-commits.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/benchmark/benchmark-all-commits.sh b/scripts/benchmark/benchmark-all-commits.sh
index 57b2adc2..132f03c6 100755
--- a/scripts/benchmark/benchmark-all-commits.sh
+++ b/scripts/benchmark/benchmark-all-commits.sh
@@ -46,11 +46,12 @@ do
# Option 2: Run couchdb + tox in docker container using gitlab-runner
git checkout origin/master .gitlab-ci.yml
- BENCHMARK_ALL_COMMITS=1 time gitlab-runner exec docker \
+ time gitlab-runner exec docker \
benchmark \
--timeout 7200 \
--env PYTEST_OPTS="$PYTEST_OPTS" \
- --env HOST_HOSTNAME="$(hostname)"
+ --env HOST_HOSTNAME="$(hostname)" \
+ --env BENCHMARK_ALL_COMMITS=1
code=$?
echo "$(date -Iseconds) ${commit_id} ${code}" >> results.txt