From f6a409a711df032507cbe3dd1f1129c1b7e19c95 Mon Sep 17 00:00:00 2001 From: drebs Date: Fri, 28 Jul 2017 19:25:11 -0300 Subject: [benchmarks] post responsiveness tests to elasticsearch --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3