diff options
author | drebs <drebs@leap.se> | 2017-07-28 19:25:11 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-09-11 16:24:30 -0300 |
commit | f6a409a711df032507cbe3dd1f1129c1b7e19c95 (patch) | |
tree | 4fcd268feda87acee8204eeff710597c66455cb4 /.gitlab-ci.yml | |
parent | 99cffc7388d53f9aaf5b8890401ba8ddc5b29178 (diff) |
[benchmarks] post responsiveness tests to elasticsearch
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0934891e..d284d65d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,6 +85,20 @@ benchmark: # Output locally saved benchmarks if they exist - 'if [ -d .benchmarks ]; then find .benchmarks -type f -exec cat {} \; ; fi' +responsiveness: + stage: benchmark + image: 0xacab.org:4567/leap/soledad:latest + tags: + - benchmark + services: + - couchdb + script: + - git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA" + - cd testing + - curl -s couchdb:5984 + - echo "addopts=--elasticsearch-url=\"$ELASTICSEARCH_URL\"" >> pytest.ini && chmod 600 pytest.ini + - /usr/bin/unbuffer tox --recreate -e responsiveness -- --couch-url http://couchdb:5984 | /usr/bin/ts -s + build_docker_image: stage: build image: 0xacab.org:4567/leap/soledad:latest |