Claudio Zizza
008383333a
minor phpdoc fix, test string fixed for unknown task class
2015-01-05 14:14:55 +01:00
Claudio Zizza
728f372543
namespace fix for BuiltIn
2015-01-05 13:36:19 +01:00
Claudio Zizza
022b4282cd
unittests for task factory and dummy task classes for tests created
2015-01-05 13:31:14 +01:00
Claudio Zizza
b1c8cdd3c9
constant usage removed in VersionCommandTest
2015-01-05 10:28:38 +01:00
Claudio Zizza
ee6c3858ac
setting constant in phpunit config
2015-01-02 16:24:25 +01:00
Claudio Zizza
17907235ac
test added for VersionCommand
2015-01-02 15:28:13 +01:00
Jérémy Huet
5643616e50
Only tries to guess web server user if none provided with 'group' parameter
2014-12-28 16:47:59 +01:00
Jérémy Huet
09e2ad6a1f
Rolling back to official vendor name
2014-12-28 14:53:03 +01:00
Jérémy Huet
254de77c79
Fix to actual .mage directory when used with composer
2014-12-28 14:48:01 +01:00
Jérémy Huet
4cce76472e
Fix to actual composer autoload.php
2014-12-28 14:45:13 +01:00
Jérémy Huet
c6f4d1ffda
Changing vendor name to mine for testing
2014-12-28 14:36:47 +01:00
Dmitry Motylev
3b70a8a3c1
fix: DeployCommand does not fail when no one "Post-Deployment Tasks" failed and failed "Deployment Task" exist
2014-12-23 17:34:48 +00:00
Jérémy Huet
fbc50a52bd
Adds a task to only have read permission for web server
2014-12-18 17:46:13 +01:00
Jérémy Huet
42d3d5a8a1
Better usage doc + allow to set owner and group by using www-data:www-data syntax + task now fails if at least one command returns error
2014-12-18 17:45:12 +01:00
Jérémy Huet
209c6b9aa3
typo
2014-12-15 18:50:27 +01:00
Jérémy Huet
ffdadb45cf
More generic way to handle command line options
2014-12-15 18:50:09 +01:00
Jérémy Huet
979a86992c
More generic way to retrieve web server user
2014-12-13 16:44:47 +01:00
Jérémy Huet
e449a4529f
Adds a recursive parameter and allows for more chmod possibilities such as +a
2014-12-13 16:22:56 +01:00
Jérémy Huet
89d82b9992
Changing EOL to Linux LF
2014-12-13 16:05:13 +01:00
Jérémy Huet
9d1e6aba6f
Allow for changing permissions on local host too depending on the stage
2014-12-13 15:57:33 +01:00
Jérémy Huet
a58dcbe766
git local commands should be executed in the deployment:from directory
2014-12-13 15:14:43 +01:00
Jérémy Huet
8247b15ad0
Adds PermissionsWritableByApache task that extends Permissions task we predefined parameters
2014-12-13 13:59:57 +01:00
Jérémy Huet
d2b7e0e94f
Adds Permissions task. Parameters are : paths, checkPathsExist, owner, group, rights
2014-12-13 13:58:06 +01:00
Андрей Колченко
2a8beeb864
Remove symfony/filesystem from project depends.
2014-12-08 12:57:26 +03:00
Андрей Колченко
e84689934d
Merge
2014-12-08 12:56:29 +03:00
Claudio Zizza
5b63f4b5d0
tests for command factory created
2014-12-07 23:00:55 +01:00
Claudio Zizza
5e43c4e044
Dummy commands created for testing custom command behaviour
2014-12-07 23:00:19 +01:00
Andrés Montañez
683d11ac90
Merge pull request #164 from iambrosi/no-is_a
...
Use instanceof instead of method is_a
2014-12-05 13:15:54 -02:00
Ismael Ambrosi
8ae83cbabd
Use instanceof instead of method is_a
...
Since is_a is a method, it is significantly slower than using instanceof
Following is a perfomance comparison:
http://micro-optimization.com/is_a-vs-instanceof
2014-12-05 02:40:30 -02:00
Andrés Montañez
e453d1977d
Merge pull request #159 from SenseException/phpunit
...
Unittests for Magallanes
2014-12-01 22:21:41 -02:00
Andrés Montañez
ba9b322dab
Merge pull request #158 from samuel4x4/develop
...
Bug fix for scm/force-update, add general/manually task, bug fix for symfony2/doctrine-migrate, improve symfony2/cache-clear
2014-12-01 21:33:21 -02:00
Andrés Montañez
555269bf66
Merge pull request #154 from gudron/rollback_exception
...
Rollback exception. Fixed bug with deployment description in hosts section.
2014-12-01 21:33:10 -02:00
Andrés Montañez
d9e860a20c
Merge pull request #153 from edpauto/verbose-option
...
Add verbose option to commands
2014-12-01 21:17:54 -02:00
Claudio Zizza
d53b8fd8b8
new test added for unknown color names
2014-11-29 20:56:22 +01:00
Claudio Zizza
6e1a4d248d
group annotation added
2014-11-29 20:54:12 +01:00
Claudio Zizza
b11688ea2b
initial phpunit config with test example
2014-11-27 21:56:52 +01:00
samuel4x4
4d1048cca6
Add optional parameters for symfony2/cache-clear
...
Add optional parameters for symfony2/cache-clear task like --no-warmup.
2014-11-24 01:36:08 +02:00
samuel4x4
5eb771bf30
Rename DoctrineMigrate to DoctrineMigrateTask
...
I hope this is the reason it doesn't works.
2014-11-24 01:08:52 +02:00
samuel4x4
e9e5ab1d45
Fix ManuallyTask namespace
...
namespace Mage\Task\BuiltIn\General
2014-11-24 00:44:23 +02:00
samuel4x4
94673b4af2
manually task
...
one more example for the manually task
2014-11-23 23:57:00 +02:00
samuel4x4
41c3e00f67
Task for running multiple manually commands
...
The purpose of this task is to provide a way to run multiple custom
commands for your specific project, before Magallanes will have build-in
tasks for your needs. Also maybe you'll just not consider you should
create custom tasks for all commands you need (e.g. specific user rights
for specific files and directories).
2014-11-23 23:34:58 +02:00
samuel4x4
c010fc662e
Change runCommandRemote() to runCommand()
...
Change runCommandRemote() to runCommand(), you decide if the command is
running local or remote depending of the stage you put the
scm/force-update task. Remove the last $result =
$this->runCommandLocal($command), not necessary.
2014-11-23 23:03:31 +02:00
Alex V Kotelnikov
a632dac80a
added in-deploy flag @ rollback task.
2014-11-13 16:47:52 +04:00
Alex V Kotelnikov
5eb26748ab
added restriction to run the rollback.
...
small changes at rollback output.
2014-11-13 16:40:02 +04:00
Alex V Kotelnikov
db4b4299c2
added rollback delete default option from yaml configs
2014-11-13 02:07:20 +04:00
Alex V Kotelnikov
8e603bd0d2
fixed bug with a env-configuration containing deployment description in hosts section
2014-11-13 00:13:19 +04:00
Kuba Turek
9eb61d1d4b
Write down some example of verbose usage option
2014-11-11 20:41:02 +01:00
Kuba Turek
d63d105471
Add ability to set 'verbose_logging' for environment
2014-11-11 20:38:26 +01:00
Kuba Turek
0734c7be0a
Check if verbose logging is enabled
2014-11-11 20:34:50 +01:00
Kuba Turek
654753b70f
Avoid duplicating output when verbose option is turned on
2014-11-11 20:29:46 +01:00