332 Commits

Author SHA1 Message Date
Tom Rochette
b45e2dc0f9 Return $result if getStdError() returns an empty string.
This is done to support applications which return a non-zero exit status but do not output error messages to stderr.
2015-03-04 15:22:45 -05:00
Anton Medvedev
bb330efba0 Merge pull request #200 from deployphp/elfet-get_exit_status
Update PhpSecLib::run method to check exit status.
2015-02-26 14:41:26 +03:00
Anton Medvedev
189be812f9 Update PhpSecLib.php 2015-02-26 12:02:08 +03: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
Anton Medvedev
01e1c2e795 Merge pull request #196 from tomzx/fixes/create-shared-dir-path-in-release-path
Create path to shared dir in release dir if it does not exist.
2015-02-26 10:26:12 +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
2ee23ada16 Remove extra whitespaces at line ends. 2015-02-25 13:18:23 +03:00
elfet
42a267b685 Fix common recipe 🐷 2015-02-25 13:04:18 +03:00
elfet
e49d538f4f Add herzult/php-ssh to require-dev. 2015-02-25 12:59:41 +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
fea8008877 Remove herrera-io/version. 2015-02-25 12:28:12 +03:00
elfet
22ef283a6c Remove fetch from deploy:update_code task. 2015-02-25 12:20:04 +03:00
elfet
0a15a81f25 Update README.md 2015-02-24 18:53:05 +03:00
elfet
4a1c93f2d2 Add possibility to deploy an branch and tag. 2015-02-24 18:47:48 +03:00
elfet
e16f71e155 Add private tasks feature. 2015-02-24 18:09:30 +03:00
elfet
1d5383c556 Refactor serverGroups to stages.
Now Deployer support stages: `server(...)->stage('production');`.
2015-02-24 18:03:40 +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
fd7e1eb1d9 Add support for user definition arguments and options. 2015-02-24 16:58:54 +03:00
elfet
4c47e238b2 New prechar to verbose output command. 2015-02-24 15:52:14 +03:00
elfet
49588d7745 Add compressing of Phar. 2015-02-24 15:38:55 +03:00
elfet
48abeec2a7 Fix to get Gold medal =) v3.0.0-beta.5 2015-02-20 17:56:15 +03:00
elfet
95711ed1b3 HHVM fails on parallel task execution test. 2015-02-20 17:53:50 +03:00
elfet
e006f2cd05 Fix DocBlock types. 2015-02-20 17:51:39 +03:00
elfet
1e4bd9e9ce Add parallel test. 2015-02-20 17:48:40 +03:00
elfet
cf38d00b2e Fix informer tests. 2015-02-20 17:24:11 +03:00
elfet
a4a0b334a9 Big parallel execution refactoring 💎 2015-02-20 17:14:37 +03:00
elfet
9a3287ba89 Writable task: allow to run without HTTPDUSER and without sudo. 2015-02-20 15:26:31 +03:00
elfet
2de75b5c33 Add composer.lock 🌀 2015-02-20 15:20:29 +03:00
elfet
fddc573f28 Back of composer 2015-02-20 15:14:38 +03:00
Anton Medvedev
643efc1725 Merge pull request #189 from KennedyTedesco/minor-master
Docblock fixes
2015-02-19 18:40:43 +03:00
Kennedy Tedesco
38fe9e89e8 Docblock fixes 2015-02-19 12:32:40 -02:00
Anton Medvedev
29a07216ca Add some fixes and tests. 2015-02-18 14:49:21 +03:00
Anton Medvedev
c27c82fb93 Merge pull request #185 from EkAndreas/master
Possible override of runLocally task with timeout parameter optional.
2015-02-18 10:43:19 +03:00
Andreas Ek
4195317b59 Removing more spaces 2015-02-17 22:50:42 +01:00
Andreas Ek
2e51f64ee3 no space after default value 2015-02-17 22:46:31 +01:00
Andreas Ek
b65e08494e code tidy spaces 2015-02-17 22:43:27 +01:00
Andreas Ek
a2ffc2259d Possible override of runLocally task with timeout parameter optional. 2015-02-17 20:41:16 +01:00
Anton Medvedev
65d7f416a5 Update .scrutinizer.yml 2015-02-17 13:25:03 +03:00
elfet
32120bef57 Simplify travis tests. v3.0.0-beta.4 2015-02-17 12:56:29 +03:00
elfet
ad13654583 Fix autoload for php-ssh to psr-0. 2015-02-17 12:49:47 +03:00
elfet
f22a697599 Exclude resources. 2015-02-17 12:43:01 +03:00
elfet
072d81ac5a Exclude resources. 2015-02-17 12:40:10 +03:00
elfet
f3b8723a8b Add resource vendors. 2015-02-17 12:38:28 +03:00
elfet
12b3673465 Add minimum-stability. 2015-02-17 11:01:42 +03:00
Anton Medvedev
06a74cd703 Update composer.json 2015-02-16 17:24:18 +03:00
Anton Medvedev
ac6b2abb36 Add cd to common. 2015-02-15 23:41:52 +03:00
Anton Medvedev
230eb68142 Merge pull request #180 from tomzx/features/cd-and-within
Add cd (change directory) and within (run commands within a directory and revert to the previous workingPath)
2015-02-15 23:35:18 +03:00