435 Commits

Author SHA1 Message Date
Paweł Łuczkiewicz
d272f604f1 Fix deleting old releases, if deploy_path is a symlink 2016-06-09 12:54:03 +02:00
oanhnn
5457575c50 Fixed bug #675 The revison option is never checked in deploy:update_code 2016-06-01 13:45:21 +07:00
Oanh Nguyen
c9737de03c Applied fixes from StyleCI 2016-05-31 22:15:00 -04:00
oanhnn
0b40e8b7c7 Merge branch 'master' of github.com:deployphp/deployer 2016-05-19 08:47:21 +07:00
oanhnn
48a8be919e Fixed comment follow commit of @jrean in #645 2016-05-19 08:46:45 +07:00
Oanh Nguyen
a352114bad Fixed bug #649 (#656)
* Fixed bug #649

* Revert BC break
2016-05-19 08:20:28 +07:00
Oanh Nguyen
5fef42438e Add helper tasks for laravel recipe (#625)
* Add helper tasks for laravel recipe

* Add helper tasks for laravel recipe

* Add clear cache task and make config cache task to deploy task

* Add more artisan helper tasks

* Fix typo
2016-05-18 12:28:00 +07:00
Jean Ragouin
3f063094f9 Update laravel.php
typo
2016-05-05 22:27:17 +08:00
Peter
ebc0ea3d86 Codestyle fix 2016-05-01 20:21:27 +02:00
Peter
8fc547f958 Fix assets installation
The `assetic:dump` command does not exist in Symfony 3. The `assetic` namespace has been replaced by `assets`. The new command to install assets is `assets:install`. 

This PR overrides the `deploy:assetic:dump` command so it works in Symfony 3. Ideally, the `deploy:assetic:dump` command would be renamed to something like `deploy:assets:install` in the main deploy task. However, this would mean overriding the entire list of tasks.
2016-05-01 20:19:16 +02:00
Frank Naegler
fc77538c4b [FEATURE] Add TYPO3 deployer recipe 2016-04-27 13:25:53 +02:00
oanhnn
4321074588 Fixed issue #628 and change using bin/git in check git cache feature 2016-04-19 10:24:46 +07:00
Oanh Nguyen
4238fb0c5d Bugfix laravel recipe (#622)
* Fix laravel recipe

* Changed order task deploy:shared and deploy:vendors in laravel recipe
2016-04-13 10:32:48 +07:00
Krystian Szymukowicz
4b48e5d69d Fix custom php bin for composer install. (#621) 2016-04-12 08:06:44 +07:00
arvatis
bba421fbfd Fixed usage of composer.phar, when used as env/composer (close #615 #616) 2016-04-11 16:18:16 +07:00
gperdomor
889c35abac Fix http user detection (#613) 2016-04-11 08:08:46 +07:00
Anton Medvedev
a3733d0d81 Revert "Added function taskGroup and changed spec of function task"
This reverts commit 9c1e4eca2d5f4e5a3581e7602906c76c8af6ed72.

Conflicts:
	test/src/FunctionsTest.php
2016-04-04 17:01:55 +07:00
Anton Medvedev
6c6b1f8c9b Merge branch 'master' into 4.x
Conflicts:
	composer.lock
	recipe/common.php
2016-04-04 16:58:34 +07:00
Anton Medvedev
5539b16437 Use bin/php in recipes. 2016-04-04 16:51:42 +07:00
Anton Medvedev
c0d4e341d9 Custom bin
Allow user customize bin paths. Close #586
2016-04-04 16:22:00 +07:00
Anton Medvedev
bd8b972a3f Merge pull request #594 from vicdelfant/master
Adds check for existing /current directory to deploy:prepare
2016-04-04 15:44:03 +07:00
Anton Medvedev
67ed8d87e1 Merge pull request #592 from nemoinho/feature/fix-cache-access-rights
Run deploy:writable again after cache warmup
2016-03-24 12:32:01 +07:00
Felix Nehrke
f870cff58d Run deploy:writable only after cache warmup 2016-03-23 23:32:27 +01:00
Anton Medvedev
75314ff325 Create README.md 2016-03-23 21:12:44 +07:00
Vic D'Elfant
7ecee77c9e Explicitly use global namespace for RuntimeException 2016-03-20 15:10:13 +01:00
Anton Medvedev
659c2cb6f4 Fix bug with releases list. 2016-03-19 23:38:45 +07:00
Anton Medvedev
47e5aa64ea Update composer.php
Add `deploy:shared`.
2016-03-19 23:36:21 +07:00
Anton Medvedev
dcac5f0411 Revert "Exclude no_extra_consecutive_blank_lines from .styleci.yml"
This reverts commit c63fbb52637def277f9a5fad472d76cf6aa08aab.
2016-03-19 22:35:42 +07:00
Anton Medvedev
c63fbb5263 Exclude no_extra_consecutive_blank_lines from .styleci.yml 2016-03-19 22:34:31 +07:00
Anton Medvedev
75fd4b36c1 Fix code styles. 2016-03-19 22:30:18 +07:00
Anton Medvedev
34489e68e2 Fix code styles. 2016-03-19 22:29:17 +07:00
Anton Medvedev
1fc4edc771 Add --revision option to deploy specified commit. 2016-03-19 22:27:33 +07:00
Vic D'Elfant
3ff9387559 Use toBool() for casting result from output 2016-03-14 13:02:56 +01:00
Vic D'Elfant
89db6fc6c3 Expand deploy_path env variable in exception 2016-03-14 13:02:13 +01:00
Vic D'Elfant
0af52aa851 Fixed StyleCI warning 2016-03-14 12:33:59 +01:00
Vic D'Elfant
ac401ea2b2 Adds check for existing /current directory to deploy:prepare 2016-03-14 12:31:01 +01:00
Oanh Nguyen
9bce6316ac Merge pull request #585 from oisvidi/envrelease
Allows people to use other release names like tag without replacing t…
2016-03-14 17:27:43 +07:00
oanhnn
dc6594e4f9 Merge branch 'master' into feature/adding-task-deploy-clean-files-and-or-directories 2016-03-14 10:44:28 +07:00
Felix Nehrke
43432981c8 Run deploy:writable again after cache warmup
As described in ticket #575 the cache is not writable after the
deployment of symfony if the deployment-user is not the httpd-user.
Therefore we would make the cache-directory writable again after the
cache-warmup.  This is necessary because symfony may not do that and the
deploy user should know who is able to write into the cache.  You can
finally define this by using `set('writable_dirs', […])` and
`set('http_user', '…')`.
2016-03-11 17:58:51 +01:00
Øistein Notnæs
cd6b2974fd Allows people to use other release names like tag without replacing task deploy:release 2016-03-11 12:36:33 +01:00
Felix Nehrke
04087ff2e2 Add comments to describe access-right settings
Add some comments to make clear why the checks of the access-rights are
defined in such a complex structure.
2016-03-08 10:59:40 +01:00
Anton Medvedev
7c8f405af8 Merge pull request #559 from cronfy/fix-releases-list
fix #558: check releases_list to contain only releases
2016-03-02 12:46:48 +07:00
oanhnn
9605c174df Fixed #570 2016-02-29 08:19:23 +07:00
Pieter Nickmans
2ea71ff7a2 Fix small inline comment typos for Drupal 7 recipe. 2016-02-17 23:43:37 +01:00
Cronfy
5586de7e63 rearrange comments 2016-02-16 16:07:17 +03:00
Cronfy
869ef92769 added extension support in release name filter 2016-02-16 15:33:33 +03:00
extaz-site
c51f5a91cf ls replaced with find to search for dirs only on remote host releases/ 2016-02-16 15:06:06 +03:00
extaz-site
c35a9e4488 fix #558: check releases_list to contain only releases 2016-02-16 14:45:34 +03:00
oanhnn
9c1e4eca2d Added function taskGroup and changed spec of function task 2016-02-16 09:47:26 +07:00
Oanh Nguyen
c692d7cb5b Merge pull request #511 from zupolgec/patch-3
Added variable for composer command path
2016-02-04 08:17:26 +07:00