From e4f6029ca3e73ccbf1c4784829d84ccd5fa14912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 3 Dec 2019 22:59:33 +0100 Subject: [PATCH] Use pooled storage for clone in done issue8830 review284451002 --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index e2b09adcc4..849cb95ea6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,10 @@ clone: hg: image: plugins/hg + environment: + - HG_SHARE_POOL=/root/.cache/hg + volumes: + - cache:/root/.cache pipeline: tox: @@ -11,6 +15,7 @@ pipeline: - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE - POSTGIS_URI=postgis://postgres@postgresql:5432/ commands: + - echo -e "[repositories]\nhgext.share =\n[share]\npool = /root/.hgcache\n" >> /root/.hgrc - pip install tox - tox -e "${TOXENV}" volumes: