diff options
-rwxr-xr-x | benchmark-all-commits.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/benchmark-all-commits.sh b/benchmark-all-commits.sh index 8bab6105..60c37df9 100755 --- a/benchmark-all-commits.sh +++ b/benchmark-all-commits.sh @@ -41,7 +41,11 @@ do # Option 2: Run couchdb + tox in docker container using gitlab-runner git checkout origin/benchmark-all-commits .gitlab-ci.yml - time gitlab-runner exec docker benchmark --env PYTEST_OPTS="$PYTEST_OPTS" --env HOST_HOSTNAME="$(hostname)" + time gitlab-runner exec docker \ + benchmark \ + --timeout 7200 \ + --env PYTEST_OPTS="$PYTEST_OPTS" \ + --env HOST_HOSTNAME="$(hostname)" code=$? echo "$(date -Iseconds) ${commit_id} ${code}" >> results.txt |