changeset 05071e4f3876 in cookiecutter:default
details: https://hg.tryton.org/cookiecutter?cmd=changeset&node=05071e4f3876
description:
        Add cache volume for check pipelines
diffstat:

 {{ cookiecutter.module_name }}/.drone.yml |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 409b7f150544 -r 05071e4f3876 {{ cookiecutter.module_name }}/.drone.yml
--- a/{{ cookiecutter.module_name }}/.drone.yml Wed Apr 06 18:25:20 2022 +0200
+++ b/{{ cookiecutter.module_name }}/.drone.yml Wed Apr 06 23:37:11 2022 +0200
@@ -29,11 +29,15 @@
             - pip install twine
             - python setup.py sdist
             - twine check dist/*
+        volumes:
+            - cache:/root/.cache
     check_doc:
         image: ${IMAGE}
         commands:
             - pip install sphinx
             - python -m sphinx -T -E -W -n -b html doc _build/html
+        volumes:
+            - cache:/root/.cache
 
 services:
     postgresql:

Reply via email to