airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] 07/07: Reuse npm cache between builds
Date Wed, 16 Oct 2019 19:44:46 GMT
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 <machristie@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 }}


Mime
View raw message