changeset 9324065a3514 in modules/stock_package_shipping_ups:default
details:
https://hg.tryton.org/modules/stock_package_shipping_ups?cmd=changeset;node=9324065a3514
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 f798bd293257 -r 9324065a3514 .drone.yml
--- a/.drone.yml Sat Nov 30 22:36:35 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:
@@ -12,6 +16,7 @@
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
secrets: [ ups_user_id, ups_password, ups_account_number, ups_license ]
commands:
+ - echo -e "[repositories]\nhgext.share =\n[share]\npool =
/root/.hgcache\n" >> /root/.hgrc
- pip install tox
- tox -e "${TOXENV}-${DATABASE}"
volumes: