Set NODE_ENV=PRODUCTION for snap UI builds
Bug #1865841 reported by
Kit Randel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Adam Collard |
Bug Description
The NODE_ENV environment variable should be set to PRODUCTION to avoid installing dev dependencies (this should correct the cypress issue with building on arm) when running `yarn install`.
Related branches
~adam-collard/maas:production-build-for-snap
Merged
into
maas:master
- Alberto Donato: Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 12 lines (+1/-0)1 file modifiedsnap/snapcraft.yaml (+1/-0)
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
summary: |
- Set NODE_ENV for snap UI builds + Set NODE_ENV=PRODUCTION for snap UI builds |
Changed in maas: | |
assignee: | nobody → Adam Collard (adam-collard) |
milestone: | none → 2.8.0b1 |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.