54 Commits

Author SHA1 Message Date
Anton Medvedev
5df0e52b84 Merge pull request #334 from ihsanudin/patch-3
Change to recursive chmod
2015-08-21 14:30:51 +07:00
Alex Stansfield
307573b05b Create the deployment path if it doesn't exist 2015-07-27 14:58:47 +07:00
Bastien Picharles
5db08a82ce Fix add env variable to composer 2015-07-24 17:38:48 +02:00
Nicolas de Marqué Fromentin
2a47cbf9e3 Syntax 2015-07-05 15:10:08 +02:00
Lucas Michot
ad7173b7e7 Update readme 2015-06-17 19:30:25 +02:00
Hubert Kowalski
bd0e0e2be5 Better logic for using git cache, and deciding whether to create full or shallow clone 2015-06-16 13:15:36 +02:00
Hubert Kowalski
f458997efe Ref #346 - faster git cloning 2015-06-16 11:31:49 +02:00
Lucas Michot
13d0a05d00 Use server date 2015-06-12 12:05:35 +02:00
Muhamad Surya Iksanudin
923cff6d54 Change to recursive chmod
Change to recursive chmod to avoid inconsistency permission in nested dirs
2015-06-11 23:00:14 +07:00
Anton Medvedev
d860405c5e Add composer options 2015-06-04 20:00:14 +07:00
Vladimir
554e2e4019 wrong flag 2015-06-04 14:22:37 +03:00
Anton Medvedev
a85b8a04ab Update common.php 2015-05-19 14:58:32 +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
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
4b66d7ab0f Upgrade common recipe to v3. 2015-01-03 00:04:00 +03:00