changeset 7b8f4a870c5f in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=7b8f4a870c5f
description:
        Use pooled storage for clone in done

        issue8830
        review284451002
diffstat:

 .drone.yml |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r dbb0aad09b58 -r 7b8f4a870c5f .drone.yml
--- a/.drone.yml        Tue Nov 26 22:20:24 2019 +0100
+++ b/.drone.yml        Tue Dec 03 22:59:32 2019 +0100
@@ -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 @@
             - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
             - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
         commands:
+            - echo -e "[repositories]\nhgext.share =\n[share]\npool = 
/root/.hgcache\n" >> /root/.hgrc
             - pip install tox
             - tox -e "${TOXENV}-${DATABASE}"
         volumes:

Reply via email to