331 Commits

Author SHA1 Message Date
Anton Medvedev
7dea6107c3 Use previous_release in copy_dirs task 2017-04-08 21:20:09 +07:00
Anton Medvedev
a7f54ac65e Add previous_release var 2017-04-08 21:06:15 +07:00
Anton Medvedev
bafb0b872a Restrict ConfigurationException usage only by Configuration 2017-04-08 17:02:30 +07:00
Barry vd. Heuvel
ea34e19306 Link storage by default 2017-04-07 10:51:13 +02:00
Barry vd. Heuvel
4a9e2be87c Add storage:link option 2017-04-07 10:27:29 +02:00
Anton Medvedev
a716aa4f7d Merge pull request #1146 from vinpel/init_with_yii2_receipe
Init with yii2 receipe
2017-04-06 14:00:57 +07:00
root
c3a5c2481d add changelog data, fix indentation 2017-04-05 19:24:23 +00:00
Mathias Brodala
0acbb4c6fb Improve lock message
Prefix launcher script and append current stage.
2017-04-05 15:02:19 +02:00
root
677e1cccb3 fix styleCi 2017-04-04 20:16:16 +00:00
root
4dde839a36 Copy shared file from release if not present in shared_dir 2017-04-04 19:50:11 +00:00
Anton Medvedev
a1806cb77b Fallback to --help if man doesn't available 2017-04-02 12:58:53 +07:00
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