Skip to content

Commit

Permalink
Build npm dependencies also in vagrant
Browse files Browse the repository at this point in the history
After artefactual/deploy-pub#52 is merged, we won't be using a
a shared folder for code deployment in virtualbox.
  • Loading branch information
scollazo committed Jan 31, 2018
1 parent bb8b74d commit e4fd3a0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tasks/pipeline-instcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
- "{{ archivematica_src_dir }}/archivematica/src/dashboard/src/media"
- "{{ archivematica_src_dir }}/archivematica/src/dashboard/frontend"

# When code lives in a shared folder (vboxsf), this task might
# cause errors, but works when run manually.

- name: "Install front-end dependencies"
become: "yes"
become_user: "archivematica"
Expand All @@ -109,12 +112,6 @@
with_items:
- "{{ archivematica_src_dir }}/archivematica/src/dashboard/frontend/appraisal-tab"
- "{{ archivematica_src_dir }}/archivematica/src/dashboard/frontend/transfer-browser"
when:
# We're not building the front-ends when using Vagrant because the source
# code lives in a shared folder (vboxsf), which is problematic and causes
# errors. The developer needs to build the front-ends manually for now.
- "ansible_env.USER != 'vagrant'"


#
# collectstatic
Expand Down

0 comments on commit e4fd3a0

Please sign in to comment.