Closed Bug 1349405 Opened 8 years ago Closed 8 years ago

Delete .heroku/yarn/ during post_compile to reduce slug size

Categories

(Tree Management :: Treeherder: Infrastructure, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Now that we're using yarn for Heroku builds (bug 1343960, bug 1343928), the slug includes an additional directory: /app/.heroku/yarn/ ...this is unused after the UI build, so can be removed like we do for the node binaries and node_modules (since it's 28MB/4500 files of unnecessary content).
Attachment #8849783 - Flags: review?(cdawson)
Attachment #8849783 - Flags: review?(cdawson) → review+
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/42f240dbf824c6bcb66359c45a7dcbdafc70ec32 Bug 1349405 - Delete .heroku/yarn/ during post_compile Since it avoids including 4500 unused files (28MB) in the slug, now that we're using the yarn support added to newer versions of the nodejs buildpack.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: