216 Commits

Author SHA1 Message Date
Oanh Nguyen Ngoc
391d682bc1 Merge pull request #447 from daFish/feature/http-user
Added support for setting http user for chmod
2015-08-31 08:34:36 +07:00
daFish
d6c839eddc Added support for setting http user for chmod 2015-08-30 10:18:38 +02:00
vanquang9387
7c979cfcbb Make checking getfacl more accurate 2015-08-28 11:22:23 +07:00
vanquang9387
a1f14973cc Add more comments to setfacl without sudo 2015-08-24 17:34:29 +07:00
vanquang9387
fbabf26be0 Update deploy:writable_dirs: When running without sudo, exec setfacl once only 2015-08-24 11:37:26 +07:00
oanhnn
7392d0e397 Fix coding style and remove function uploadEnv() in drupal7 recipe 2015-08-24 08:37:18 +07:00
Anton Medvedev
65d0a683a1 Fix date of release to UTC. Merge #357. 2015-08-24 00:31:29 +07:00
Anton Medvedev
f3ee9a6938 Merge pull request #385 from nicodmf/master
WIP/POC - copy directories
2015-08-24 00:03:46 +07:00
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
Nicolas de Marqué Fromentin
5653f859c0 Update common.php 2015-07-05 15:06:00 +02:00
Nicolas de Marqué Fromentin
ddcd45d701 Update common.php 2015-07-05 14:59:40 +02:00
Nicolas de Marqué Fromentin
731e5def7e Update common.php 2015-07-05 14:57:27 +02:00
Nicolas de Marqué Fromentin
37044aba13 WIP - copy directories 2015-07-05 14:53:49 +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