FLUID-6332: Add ability to skip bind mount on Vagrant boxes

Metadata

Source
FLUID-6332
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Giovanni Tirloni
Reporter
Giovanni Tirloni
Created
2018-08-29T12:51:20.715-0400
Updated
2024-07-22T08:55:48.481-0400
Versions
N/A
Fixed Versions
  1. 3.0
Component
  1. Build Scripts

Description

In certain situations, it's perfectly fine to have the node_modules shared between host and a vagrant box:

  • When host/VM architecture are the same
  • When all work happens inside the VM

That is the situation in CI Linux build nodes, so he bind mount is not necessary there.

Skipping the bind mount where it's possible has the advantage that certain operations like publishing the build artifacts can happen outside the VM (as they need access to credentials that would be hard to import into the VM) without having to run npm install a second time.

Comments