597 Commits

Author SHA1 Message Date
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
willem-daems
c7913b24ea New getReleasesByTime method. Fixes cleanup bug with wrong ordening 2014-08-08 21:56:23 +02:00
willem-daems
2d25248b24 Recursive git clone for submodules 2014-08-08 21:52:20 +02:00
Denis Terekhov
f15526b30a "~" in if..then..fi fix for BASH console 2014-07-28 15:36:10 +04:00
Elfet
388189bda2 Add simple recipe for simple composer projects 2014-07-12 14:35:45 +04:00
Elfet
af3a14f4d3 Separate symfony recipe to common and symfony 💨 2014-07-12 14:23:22 +04:00
Elfet
4867322d71 Rollback to previous release if something goes wrong during deployment :octocat: 2014-07-12 14:10:11 +04:00
Elfet
ed894560af Rename env()->releases() to env()->getReleases() 🐨 2014-07-12 13:55:55 +04:00
Elfet
bff7731387 Fix rollback task 👠 2014-07-12 13:53:04 +04:00
Elfet
474c9ef054 Remove release number saving 🙊 2014-07-12 13:42:19 +04:00
Elfet
99dc437b9e Ask for migration only in verbose one (-v). 2014-07-11 10:31:52 +04:00
Elfet
ee51a06864 More informative message on migrations. 2014-07-11 10:26:43 +04:00
Elfet
a06aeae9cd Ask for migrations 👮 2014-07-11 10:23:01 +04:00
Elfet
8a6c5871ab Update Symfony Recipe 📝 2014-07-08 16:59:34 +04:00
Elfet
549866ee69 Create task for setting right permissions. 2014-07-07 16:28:15 +04:00
Elfet
51d7ffbbe6 Fix app/console path if Symfony recipe. 2014-07-07 14:39:39 +04:00
Elfet
b53f1f2607 Update Symfony recipe 🐳 2014-07-06 22:28:15 +04:00
Elfet
339baedd14 Base symfony recipe. 2014-07-06 18:30:21 +04:00
Elfet
39d38e30be Add recipe include path and symfony.php. 2014-07-06 14:10:18 +04:00