From a4558ea4874e0de3561f228b41ef0a94a2e4c326 Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 18 Apr 2017 13:45:24 +0200 Subject: [test] use soledad image from 0xacab registry in ci --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5a68f1e..cef9a965 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,8 @@ stages: - tests - benchmark +image: "0xacab.org:4567/leap/gitlab-buildpackage:soledad" + # Cache a folder between builds. # Tox sets it to be our pip cache. cache: @@ -16,14 +18,12 @@ before_script: code-check: stage: code-check - image: leapcode/soledad:latest script: - cd testing - tox -e code-check tests: stage: tests - image: leapcode/soledad:latest services: - couchdb script: @@ -32,7 +32,6 @@ tests: benchmark: stage: benchmark - image: leapcode/soledad:latest tags: - benchmark services: @@ -50,4 +49,4 @@ benchmark: # Add $PYTEST_OPTS to pytest.ini to allow posting benchmark tests # to an elasticsearch instance - echo "addopts=$PYTEST_OPTS" >> pytest.ini && chmod 600 pytest.ini - - tox --recreate -e benchmark -- --couch-url http://couchdb:5984 + - /usr/bin/unbuffer tox --recreate -e benchmark -- --couch-url http://couchdb:5984 -m 'not synchronous' | /usr/bin/ts -s -- cgit v1.2.3