68 Commits

Author SHA1 Message Date
Lasse Lehtinen
525bb34d72 Shared directories and files it not getting called 2015-05-20 22:39:24 +03:00
Anton Medvedev
18211197ae Merge pull request #262 from ZeeCoder/feature/sf3-dir-structure
Changed the symfony recipe to support the v3 dir structure
2015-05-19 15:23:53 +07:00
Anton Medvedev
a85b8a04ab Update common.php 2015-05-19 14:58:32 +07:00
Hubert Viktor
a33e23dd6d Changed the symfony recipe, so that it supports the new (v3) dir structure. 2015-05-19 09:57:17 +02:00
Anton Medvedev
033bea3dfc Update yii.php 2015-05-18 11:31:51 +07:00
Anton Medvedev
fff38aab0b Create wordpress.php 2015-05-18 11:31:25 +07:00
Anton Medvedev
c42c7c3e63 Create yii.php 2015-05-18 11:30:41 +07:00
Anton Medvedev
057b13bcb1 Create zend_framework.php 2015-05-18 11:28:55 +07:00
Anton Medvedev
c3ac36d78d Create laravel.php 2015-05-18 11:26:59 +07:00
Anton Medvedev
803b0e1807 Update common.php 2015-05-13 19:00:12 +07:00
Anton Medvedev
b5b8e7278c More correct error messages. 2015-05-13 16:52:34 +07:00
Anton Medvedev
0ded06707d Connect before executing shell commands. 2015-05-13 16:26:26 +07:00
Anton Medvedev
fbea03f1a2 Fix composer task. 2015-05-13 15:06:47 +07:00
Anton Medvedev
bfc4ac0762 Better error reporting. 2015-05-13 13:26:48 +07:00
Anton Medvedev
2feba2108d Auto restore working path for every task. 🍺 2015-05-13 00:00:41 +07:00
Anton Medvedev
b7f0c611af Remove mv -Tf. Now use ln -sfn. 🐝 2015-05-12 13:15:51 +07:00
Anton Medvedev
9075c37a94 Style code of deploy:prepare. 2015-05-12 00:11:24 +07:00
Anton Medvedev
83d38b3212 Fix mv detecting -T option. 2015-05-12 00:08:56 +07:00
Anton Medvedev
3e2e271793 Merge pull request #247 from oanhnn/bugfix/restore-working-path-after-task-deploy-writable
Fix restore working path after task deploy:writable
2015-05-11 23:57:44 +07:00
Anton Medvedev
0fe81e9eb1 Merge pull request #249 from pbudzon/master
Added simple check if the shell on remote server is POSIX-compliant.
2015-05-11 23:54:32 +07:00
Paulina Budzon
598773719e Added simple check if the shell on remote server is POSIX-compliant. 2015-05-11 14:04:14 +01:00
oanhnn
7728a863dd Fix restore working path after task deploy:writable 2015-05-11 16:57:22 +07:00
Костадин Дамянов
f9e0f014b1 Improve symlink check in deploy:release task 2015-05-08 13:03:22 +03:00
Anton Medvedev
45030241ed Fix symlink swap on Mac Os X. 2015-05-05 00:36:28 +07:00
Anton Medvedev
227d8f753c Merge branch 'features/change-syntax-for-env-vars' of https://github.com/oanhnn/deployer into oanhnn-features/change-syntax-for-env-vars
Conflicts:
	recipe/common.php
2015-05-05 00:09:48 +07:00
Alex Stansfield
54e952bda4 Fix for change to composer installer behind ssl 2015-04-27 10:51:42 +07:00
oanhnn
c673726dd3 Change syntax for env vars 2015-03-23 09:19:12 +07:00
Anton Medvedev
dc939056ed Merge pull request #197 from tomzx/fixes/cd-to-release-path
Parse the target path given to cd to prevent recursive loop.
2015-02-26 10:29:23 +03:00
Tom Rochette
f3443a7615 Parse the target path given to cd to prevent recursive loop.
If cd was given {release_path} as target path, it would attempt to run a command to figure out what the value of {release_path} is, which, in the process, would also want to know the value of {release_path} and so on.

The fix simply parses the value as it is given, thus making the result static instead of a closure.
2015-02-25 12:46:52 -05:00
Tom Rochette
b970e8dc9d Create path to shared dir in release dir if it does not exist.
If the shared paths do not exist in the release_path directory and those shared directories have a depth > 1, the directory structure must be created before symlinking can be done.
2015-02-25 12:36:25 -05:00
elfet
42a267b685 Fix common recipe 🐷 2015-02-25 13:04:18 +03:00
elfet
0ed70fa193 Refactor composer recipe. 2015-02-25 12:55:56 +03:00
elfet
3e97067e8d Refactor Symfony recipe 💎 2015-02-25 12:54:06 +03:00
elfet
3dfae2ae1a Refactor branch parameter to environment variable. 2015-02-25 12:49:25 +03:00
elfet
22ef283a6c Remove fetch from deploy:update_code task. 2015-02-25 12:20:04 +03:00
elfet
4a1c93f2d2 Add possibility to deploy an branch and tag. 2015-02-24 18:47:48 +03:00
elfet
fafdeea925 Refactor --server option to default stage argument.
Now, instead of `dep deploy --server=[server_name]` run `dep deploy [server_name]`.
2015-02-24 17:13:10 +03:00
elfet
9a3287ba89 Writable task: allow to run without HTTPDUSER and without sudo. 2015-02-20 15:26:31 +03:00
Anton Medvedev
ac6b2abb36 Add cd to common. 2015-02-15 23:41:52 +03:00
Anton Medvedev
2e8eaf9509 Add rollback test. 2015-02-15 23:30:11 +03:00
Anton Medvedev
f5b4a0072a Finish common recipe test 💎 2015-02-15 23:24:08 +03:00
Anton Medvedev
f180d18277 Add some tests for common recipe. 2015-02-15 15:28:44 +03:00
Tom Rochette
ded56cd8e2 Use date('YmdHis') instead of an integer value to represent a release. 2015-02-12 21:07:41 -05:00
Kennedy Tedesco
be2589cd4e Shallow clone
`--depth` create a shallow clone with a history truncated to a limited
number of revisions.
2015-02-06 12:27:44 -02:00
Tomas Majer
abe110fe35 Change output for cloning repository
Changed output when cloning repository, because of initialization of submodule. Git always output some text, and this is actually considered as error. Update provide possibility to deploy repository with submodules.
2015-01-29 11:51:58 +01:00
Anton Medvedev
0408d42a7a Little fix. 2015-01-03 15:01:48 +03:00
Anton Medvedev
d33be7fd70 Refactor common tasks. 2015-01-03 14:48:38 +03:00
Anton Medvedev
be82566854 Remove extra newlines. 2015-01-03 00:07:58 +03:00
Anton Medvedev
4b66d7ab0f Upgrade common recipe to v3. 2015-01-03 00:04:00 +03:00
Elfet
78d4d89a49 Fix setfacl task php 5.4 bug. 2014-08-13 13:07:10 +04:00