Use pooled storage for clone in done

issue8830
review284451002
This commit is contained in:
Cédric Krier committed 2019-12-03 22:59:33 +01:00
1 parent ba9e97a34f
commit 0805260deb
1 file changed
+5
+5
View File
@@ -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: