When set to true, asset compilation will be executed on the primary deployment server and rsync'd to other servers. This feature is experimental. It has been tested live but the current approach may not prove to be the most effective way to speed up asset compilation. Future versions will attempt to maintain a similar feature, but the implementation is subject to change.
If the command does not exist on the server, don't run it and continue as usual. If the command exists, then run it and fail if it fails. This allows the server to specify any sort of configuration loading and application checking that it needs to do so extra features can be added without extending serverside and synchronizing versions on the server with features provided by the server.
The directory `/data/app/current/tmp` is now a symlink to `/data/app/shared/tmp` Setting `shared_tmp: false` in ey.yml will disable this feature.
Combine `copy_repository_cache` and `with_failed_release_cleanup` to prevent code from being inserted between the two methods that prevents cleanup of the release directory. Previously, hook failures would not trigger the cleanup of the release directory because the code occurred between the two methods above. The two methods need to be executed one after another, so the new method `new_release` will enforce the contract without altering the behavior of the deployment for applications.
…leases` Changes the number of releases or failed releases that will be kept after the deploy has finished.
Fixes github issue #87 This was intended all along, as is evidenced by the test that verifies that rollback works with a complex ey.yml file. The test did not actually verify that ey.yml was loaded at all. A new test has been added that verifies that the config is loaded.
restart_groups takes a number (default 1). The restart task will divide the app servers into the number of groups specified. 1 means run all the restarts in 1 group. 2 or more groups will restart equal portions of the servers serially, waiting for one group to finish before starting the next group.
They disrupt the ability to find the previous and latest releases.
…r is one class.
Using mv -T to move the 'current' symlink makes the switch atomic at the kernel level, so things can't sneak in between rm && ln