320 Commits

Author SHA1 Message Date
Anton Medvedev
d85952e6ea Add cleanup_use_sudo #330 2017-03-26 13:16:12 +07:00
Anton Medvedev
ede141ed3e Merge pull request #1092 from deployphp/next
Deployer Next 🚀
2017-03-26 13:03:01 +07:00
Anton Medvedev
9d79f9e7fb Add persistent config 2017-03-24 21:07:40 +07:00
Anton Medvedev
eb0e53e4b3 Add on func 2017-03-23 11:34:52 +07:00
Anton Medvedev
10552e4e56 Apply fixes from StyleCI 2017-03-22 16:53:34 +00:00
Anton Medvedev
194c4fbf3c Better config current 2017-03-22 23:53:23 +07:00
Barry vd. Heuvel
e184723dae Only enable/disable maintenance when current exists 2017-03-21 18:02:16 +01:00
Anton Medvedev
254cf2618a Rename onFailure to fail 2017-03-21 16:18:50 +07:00
Anton Medvedev
da84ec329e Refactor parallel execution 2017-03-19 22:52:05 +07:00
Anton Medvedev
eadea2f08a Refactor tasks 2017-03-18 23:27:55 +07:00
Anton Medvedev
81ba8e3034 Add facts 2017-03-14 20:16:54 +07:00
Anton Medvedev
14a8f8f9c4 Add use_atomic_symlink option 2017-03-13 15:13:34 +07:00
Anton Medvedev
ace288978c Better tty 2017-03-12 23:04:48 +07:00
Anton Medvedev
92a4c20271 Refactor server+environment to host 2017-03-12 21:56:23 +07:00
Gulios
b697de7d1d Create after checked source directory 2017-03-09 19:09:28 +01:00
Gulios
61dded685d Copy nested directories 2017-03-08 13:42:37 +01:00
Anton Medvedev
d03f45b29e Remove unused variable 2017-02-24 23:25:31 +07:00
Maksim Kuznetsov
a4900c94c9 Create writable_dirs if they don’t exist 2017-02-24 02:27:50 +03:00
Anton Medvedev
165b630034 Apply fixes from StyleCI 2017-02-22 08:17:37 +00:00
Matt Crossley
8bfe691dd8 Added a comment. 2017-02-21 23:05:18 -08:00
Matt Crossley
f87a1a11ea Fixed old releases not being cleaned up when keep_releases reduced by more
than half.
2017-02-21 22:50:28 -08:00
Matt Crossley
baa84b8292 Fixed an issue with the output of ls. Forces single column output and
trims newlines.
2017-02-21 01:38:38 -08:00
Anton Medvedev
b8a4207e7b Merge pull request #1007 from lasselehtinen/master
Add task queue:restart for Laravel recipe
2017-02-18 22:27:08 +07:00
Anton Medvedev
d4488dbf3c Merge pull request #987 from lewactwo/patch-1
use bin/php when composer is found
2017-02-18 22:20:27 +07:00
Kamil Piwowarski
f2cd8ec73d Update common.php 2017-02-18 15:45:26 +01:00
Maksim Kuznetsov
6213095d7e Fix sharing folders having similar names 2017-02-17 07:46:51 +03:00
Lasse Lehtinen
e6e44082ec Removed queue:restart from template 2017-02-14 17:32:00 +02:00
Lasse Lehtinen
27687cff6d Added task for queue:restart 2017-02-13 12:30:35 +02:00
Stanislav Khromov
0a055bc975 Improve the WordPress recipe (#997)
* Improve the WordPress recipe 

* Configure files commonly shared across deploys (`wp-config.php` and the uploads folder)
* Run Composer (many WordPress sites use Composer with WPackagist)
* chown file to the web server owner. (Might be platform-dependent, but this is a good default)

* Fix whitespace

* Fix whitespace, pt. 2

* Use `writable_dirs` option

* Remove chown task
2017-02-06 12:01:23 +07:00
Anton Medvedev
ac77a482a9 Increase tailed lines in releases_list 2017-01-31 12:59:41 +07:00
Kamil Piwowarski
f025a2271d use bin/php when composer is found 2017-01-27 21:42:18 +01:00
Anton Medvedev
17dcad7b3b Fix working_path behavior 2017-01-28 00:23:15 +07:00
Anton Medvedev
b37e7351a2 Fix deploy:copy_dirs task 2017-01-27 20:54:21 +07:00
Anton Medvedev
29ad26fae4 Merge pull request #986 from mficzel/task/updateFlowRecipeForDeployer4
TASK: Fix deployer namespace and remove deprecated method calls +
2017-01-27 20:17:00 +07:00
Anton Medvedev
e3fd8182a1 Fix styles 2017-01-27 20:15:18 +07:00
Martin Ficzel
d93f02409e TASK: Fix deployer namespace and remove deprecated method calls +
The deployer namespace was missing in the flow recipe and also the deprecated env methods were used.
2017-01-27 14:07:17 +01:00
Anton Medvedev
972bea553a Refactor release_path
`release_path` returns `current_path` in non-deploy context
2017-01-27 20:03:54 +07:00
Jesper Skytte Marcussen
69de3865cd Option for non-recursive chmod in deploy:writable
This commit enables the user to disable the recursive flag when setting writable dirs with 'chmod', by setting 'writable_chmod_recursive' to false. It is per default set to true.
2017-01-24 08:08:58 +01:00
Anton Medvedev
de963c8866 Refactor magento2 recipe 2017-01-19 11:38:37 +07:00
Anton Medvedev
509e0f361e Merge pull request #911 from unailopez16/master
add magento2 base recipe
2017-01-19 11:35:29 +07:00
Anton Medvedev
d730ab67e6 Add GracefulShutdownException 2017-01-19 11:10:30 +07:00
Anton Medvedev
cbfc652df8 Remove autounlock from common and move to template 2017-01-19 10:47:14 +07:00
Anton Medvedev
73e6c3b441 Validate shared_dirs on deploy:shared 2017-01-18 13:27:08 +07:00
Muhamad Surya Iksanudin
bd04270062 Try to remove deploy.lock when deploy is fail
Try to remove deploy.lock when deploy is fail
2017-01-17 09:48:02 +07:00
Anton Medvedev
3955085ce7 Merge pull request #956 from jzdunek/master
Calling setfacl with option -L to follow symbolic links created for ...
2017-01-16 18:05:09 +07:00
Jan Zdunek
d786b61489 Calling setfacl with option -L to follow symbolic links created for shared directories. 2017-01-14 14:53:58 +01:00
Muhamad Surya Iksanudin
82cd13ca0c Use -f to avoid error when file is not exist
Use -f to avoid error when file is not exist
2017-01-12 11:50:46 +07:00
Muhamad Surya Iksanudin
3421114f25 always success
always success when running unlock
2017-01-11 11:31:00 +07:00
Carl Alexander
c6b560ff6c Fix bug with $httpGroup guard clause 2017-01-07 08:50:15 -05:00
Jordi Sala
841ae52311 remove trailing whitespace, add whitespace checks on styleci 2016-12-08 00:14:27 +01:00