changeset bacc80ce9855 in proteus:default
details: https://hg.tryton.org/proteus?cmd=changeset;node=bacc80ce9855
description:
        Use pooled storage for clone in done

        issue8830
        review284451002
diffstat:

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

diffs (20 lines):

diff -r 35844a1bf81c -r bacc80ce9855 .drone.yml
--- a/.drone.yml        Mon Nov 25 21:55:22 2019 +0100
+++ b/.drone.yml        Tue Dec 03 22:59:33 2019 +0100
@@ -1,11 +1,16 @@
 clone:
     hg:
         image: plugins/hg
+        environment:
+            - HG_SHARE_POOL=/root/.cache/hg
+        volumes:
+            - cache:/root/.cache
 
 pipeline:
     tox:
         image: ${IMAGE}
         commands:
+            - echo -e "[repositories]\nhgext.share =\n[share]\npool = 
/root/.hgcache\n" >> /root/.hgrc
             - pip install tox pydot
             - tox -e "${TOXENV}"
         volumes:

Reply via email to