From cdb5165e6b3de8fadd27c737db68b87c1522e1f5 Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 26 Oct 2017 23:14:41 +0200 Subject: [CI] Fix caching of .tox/py27-dev Resolves: #9058 --- .gitlab-ci.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ecfedf1d..d4479a06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,16 +11,17 @@ stages: variables: DOCKER_DRIVER: overlay +# Cache gems in between stages for this pipeline only +cache: + key: "$CI_PIPELINE_ID" + paths: + - .tox/py27-dev + linux_test: image: 0xacab.org:4567/leap/soledad:latest stage: test script: - tox --recreate -e py27-dev - artifacts: - paths: - - .tox/py27-dev - name: "bitmask virtualenv ${CI_BUILD_REF}" - expire_in: 1 week tags: - linux @@ -61,11 +62,6 @@ e2e_tests: - mkdir -p /root/.config/leap/ - make install_helpers - make test_e2e - artifacts: - paths: - - .tox/py27-dev - name: "bitmask virtualenv ${CI_BUILD_REF} (e2e)" - expire_in: 1 week tags: - linux -- cgit v1.2.3