diff options
author | drebs <drebs@leap.se> | 2017-05-04 16:59:54 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-07-07 21:25:17 +0200 |
commit | 690f3c486e04f6e735648ce4bb2774c2f457e217 (patch) | |
tree | 425a28575953b7f7b6328373f95d5c2cbef68136 | |
parent | 24756c6d1af614c903226afa99a46418a53b2bbd (diff) |
[benchmarks] Set a timeout of 2 hours for docker jobs.
-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 |