You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/10/16 19:44:46 UTC

[airavata] 07/07: Reuse npm cache between builds

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit b0e15a581326ede8ffb6e23279ea8a3e4706eb31
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Oct 8 11:23:00 2019 -0400

    Reuse npm cache between builds
---
 dev-tools/ansible/roles/django/tasks/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-tools/ansible/roles/django/tasks/main.yml b/dev-tools/ansible/roles/django/tasks/main.yml
index bba74f8..8170b81 100644
--- a/dev-tools/ansible/roles/django/tasks/main.yml
+++ b/dev-tools/ansible/roles/django/tasks/main.yml
@@ -95,6 +95,7 @@
     detach: false
     volumes:
     - "{{ airavata_django_portal_tempdir.path }}:/code"
+    - "{{ lookup('env', 'HOME') }}/.npm:/root/.npm"
   run_once: true
 
 - name: rsync build Django code to {{ airavata_django_checkout }}