Page MenuHomeDevCentral

Composer: don't run php artisan optimize before a build
ClosedPublic

Authored by dereckson on Sep 2 2016, 14:31.
Referenced Files
Unknown Object (File)
Sun, Mar 9, 00:01
Unknown Object (File)
Sat, Mar 8, 13:09
Unknown Object (File)
Wed, Feb 26, 19:48
Unknown Object (File)
Tue, Feb 25, 05:57
Unknown Object (File)
Tue, Feb 25, 05:56
Unknown Object (File)
Tue, Feb 25, 05:28
Unknown Object (File)
Tue, Feb 25, 05:12
Unknown Object (File)
Tue, Feb 11, 05:49
Subscribers
None

Details

Summary

Cases where php artisan optimize is needed, especially when opcache
is enabled on production servers are limited enough to be a choice to
made by each deployment, not automatically done.

We so remove these step from composer install/update.

For CI purpose, that will speed up builds, ref T1003.

Test Plan

Run a build on CI infrastructure.

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Passed
Unit
No Test Coverage
Branch
composer

Event Timeline

dereckson retitled this revision from to Composer: don't run php artisan optimize before a build.
dereckson updated this object.
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Sep 2 2016, 14:33
dereckson edited the test plan for this revision. (Show Details)
dereckson edited edge metadata.
dereckson removed a subscriber: alken-orin.
This revision was automatically updated to reflect the committed changes.