Commit graph

188 commits

Author SHA1 Message Date
Jérémy Huet a58dcbe766 git local commands should be executed in the deployment:from directory 2014-12-13 15:14:43 +01: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
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 db4b4299c2 added rollback delete default option from yaml configs 2014-11-13 02:07:20 +04:00
Andrés Montañez 30a53fcfda Merge branch 'master' into develop 2014-11-01 19:48:31 -02:00
Andrés Montañez c34fa53af5 Fixes #121 2014-11-01 19:31:04 -02:00
Andrés Montañez e4aafb3d3f Merge pull request #150 from gudron/rollback_exception
Rollback exception
2014-11-01 18:35:12 -02:00
Andrés Montañez 27a4da4115 Merge pull request #149 from gudron/relative_linking
Relative linking @ shared file task.
2014-11-01 18:27:10 -02:00
Andrés Montañez df632b3fe3 Tweak excludes files. 2014-11-01 18:15:39 -02:00
Andrés Montañez a71bd5fca0 Merge pull request #148 from gudron/exclude_from_file
Rsync , TarGz exclude from file
2014-11-01 18:08:08 -02:00
Alex V Kotelnikov 438a81542e changes @ deploy command. added rollback exception functionality. 2014-10-30 23:49:01 +04:00
Alex V Kotelnikov 50e2d6eeb5 small fixes @ link shared files task. wrong constant value 2014-10-30 23:16:07 +04:00
Alex V Kotelnikov 0a14573126 relative linking @ Link shared files task. Added exclusion rules to symlinks creation. 2014-10-30 23:16:07 +04:00
Alex V Kotelnikov 6f551cabf0 added relative linking @ Link shared files task 2014-10-30 23:16:07 +04:00
Alex V Kotelnikov 95f09dc3c9 small fixes @ rsync and targz tasks 2014-10-30 12:31:05 +04:00
Alex V Kotelnikov a66478b3ab exclude from file added.
rebased by upstream
2014-10-29 23:16:52 +04:00
samuel4x4 308a67359c Add task for force updating a working copy
Downloads the latest from remote without trying to merge or rebase
anything. Resets the master branch to what you just fetched. Changes all
the files in your working tree to match the files in origin/master, so
if you have any local changes, they will be lost.
2014-10-29 04:59:58 +02:00
Andrés Montañez 861a823f7e Update AbstractTask.php 2014-10-11 21:16:42 -02:00
Andrés Montañez 74087c9dd9 Tweak 2014-10-11 18:02:16 -02:00
Andrés Montañez 92b22d52a3 Tweak GitRebase and Insight suggestions. 2014-10-11 17:55:08 -02:00
Andrés Montañez 2deaa27a2a Tweak clones. 2014-10-11 17:47:07 -02:00
Andrés Montañez 9653552be7 Text files should end with a newline character. 2014-10-11 15:07:36 -02:00
Andrés Montañez f20091afc6 Boolean and Null should be compared strictly. 2014-10-11 14:43:57 -02:00
Andrés Montañez 5d39e46d9e Code should not be duplicated 2014-10-11 14:36:22 -02:00
Ramūnas Dronga e0430cfb68 built-in task for doctrine migrations 2014-10-08 15:22:08 +03:00
boston b066368a50 SCM: Git clone performance
Via:
- http://stackoverflow.com/questions/1778088/how-to-clone-a-single-branch-in-git
- http://stackoverflow.com/questions/6941889/is-git-clone-depth-1-shallow-clone-more-useful-than-it-makes-out
- http://git-scm.com/docs/git-clone
2014-09-15 16:07:21 +06:00
Andrés Montañez 1573daa474 Merge pull request #107 from Landkeks/develop-rsync
Fix RsyncTask::excludes().
2014-08-25 14:11:20 -03:00
Andrés Montañez d4763da37b Manual merge for PR #108 2014-08-25 14:09:42 -03:00
Andrés Montañez c3204844ea Add possibility for defining the composer_cmd in the global config. 2014-08-25 14:05:01 -03:00
Kuba Turek 95ffed7e12 Add configurable composer_cmd parameter 2014-08-22 09:54:56 +02:00
Kuba Turek 48420c1c2a Rename composer_path into composer_cmd 2014-08-20 17:45:30 +02:00
Moritz Baumann 3a033b4514 Fix RsyncTask::excludes(). 2014-08-17 22:11:55 +02:00
Andrés Montañez 6196cda70b Issue #99 2014-08-07 16:32:42 -03:00
Andrés Montañez 825fc64b0a Issue #47
Movie cleanup of releases on release task.
2014-08-07 11:03:27 -03:00
Andrés Montañez 1bcaca36f0 Issue #62
Add strategy flags.
2014-08-07 10:49:44 -03:00
Andrés Montañez 9c0682d222 Tweak. 2014-08-07 10:29:49 -03:00
Andrés Montañez 846237fabb Tweaks. 2014-08-07 10:12:26 -03:00
Andrés Montañez 7e2d7d4e57 Issue #72
Add -h option to tar command deployment strategy.

     -h, --dereference
           follow symlinks; archive and dump the files they point to
2014-08-06 21:51:17 -03:00
Andrés Montañez 8df5534470 Check if classes exists. 2014-08-06 20:41:30 -03:00
Andrés Montañez 20de8eb7e0 Fix Autoload for Custom Tasks. 2014-08-06 18:25:50 -03:00
Andrés Montañez ce0e707dc6 Support Composer and Symfony App paths. Issue #86
Also specify symfony version (2 o 3).
2014-08-06 17:26:16 -03:00
Andrés Montañez 5fb711593a Add flag --deleteCurrent to delete current release on rollback. Issue #93 2014-08-06 15:03:53 -03:00
Andrés Montañez 2e0c5130dd Fix rollback. 2014-08-06 14:53:42 -03:00
Andrés Montañez 724fc05b9e Tweaks. 2014-08-06 14:35:50 -03:00