Commit graph

308 commits

Author SHA1 Message Date
Andrés Montañez 78379e866f Merge pull request #96 from elnebuloso/bugfix-tar-deployment
bugfix, deployment targz
2014-07-30 21:28:35 -03:00
Andrés Montañez bf902c9853 Merge pull request #95 from voukka/master
Many bug fixes. With this fixes I was able to test my own Tasks! :)
2014-07-30 21:28:09 -03:00
Andrés Montañez 003e36dc64 Merge pull request #87 from WouterSioen/git-rebase-with-releases
Make the git rebase strategy work with releases
2014-07-30 21:26:59 -03:00
elnebuloso b4ce85199d bugfix, deployment targz
- the created tar only includes relative from the defined from
- now it is possible to use absolute path in .mage/deployment/*.yaml from
2014-07-31 01:55:50 +02:00
Vladimir Grigor 11bdd68fff - factored constants out;
- fixed bug: "releases list" command would die checking for unnecessary --release parameter;
 - console prints log file name if if logging is enabled
2014-07-28 15:43:52 +03:00
Vladimir Grigor e7cad31681 fixed a bug: symlink config value was not respected 2014-07-28 13:58:14 +03:00
Vladimir Grigor d495d10aca fixed a bug: if deploy strategy was set to "disable", release was still trying to do remote stuff. Now release step respects strategy. 2014-07-28 13:49:38 +03:00
Vladimir Grigor 5ce3394b3c refactored Autoloader; added support for json encoded format for environment "hosts" option 2014-07-28 11:53:22 +03:00
Vladimir Grigor 6ecaf41336 removed unnecessary checks in Config 2014-07-27 22:53:49 +03:00
Vladimir Grigor eaccc0dab8 refactoring 2014-07-26 15:33:07 +03:00
Andrés Montañez a26663bec9 Merge pull request #85 from WouterSioen/global-install
Make file locations work better from global install.
2014-07-23 10:38:18 -03:00
Andrés Montañez c11e9f5d94 Merge pull request #84 from WouterSioen/patch-1
Add system-wide installation to the readme.
2014-07-19 22:02:36 -03:00
woutersioen 0ce94c3821 Also use common code in RsyncTask 2014-07-16 17:08:04 +02:00
woutersioen 980d209fb4 Refactor cleaning up releases to a common function. 2014-07-16 17:07:19 +02:00
woutersioen b869876c26 Refactor tar gz to reuse function. 2014-07-16 17:06:00 +02:00
woutersioen f7e2163fed Cleanup releases. 2014-07-16 17:04:23 +02:00
woutersioen 26bc4242d1 Revert excludes 2014-07-16 16:35:18 +02:00
woutersioen f2e01280a5 Fix excludes for releases 2014-07-16 16:32:29 +02:00
woutersioen 014d98bc96 Implement releases in git-rebase
Note: the parameter repository needs to be set to make this work.
2014-07-16 16:29:44 +02:00
woutersioen c7e1175e11 Make file locations work better from global install. 2014-07-16 15:52:23 +02:00
Wouter Sioen 108d51e9f5 Add system-wide installation to the readme.
With this command, you can install mage system-wide, so you only need one install for all your projects.
2014-07-16 15:02:56 +02:00
Andrés Montañez ec29aa37b8 Merge pull request #81 from rodmen/master
add user data and message to lock command
2014-06-29 16:51:30 -03:00
Rodmen 732cc20f1f add user data and message to lock command 2014-06-26 11:05:00 -03:00
Andrés Montañez b229e69c45 Merge pull request #78 from spongeben/bugfix
Fix hard coded 'current' symlink path in RsyncTask
2014-06-17 07:37:23 -03:00
Benjamin Mermoz 35301cba8e Fix hard coded 'current' symlink path in RsyncTask 2014-06-17 10:26:32 +02:00
Andrés Montañez 49a7e0857a Missing use statement should be avoided #inslight 2014-06-13 16:25:24 -03:00
Andrés Montañez 1b2188f0b1 Tweaks. 2014-06-13 09:31:53 -03:00
Andrés Montañez e10dea147f Yaml - Replace Spyc with Symfony Yaml Component. 2014-06-13 09:31:44 -03:00
Andrés Montañez d55637a120 Fix ApplyFaclsTask. 2014-06-12 18:24:40 -03:00
Andrés Montañez 92d3845052 Issue #70, makes --release mandatory. 2014-06-12 18:22:13 -03:00
Andrés Montañez 17ebb5b30d Add Rollback command as alias. 2014-06-12 18:16:30 -03:00
Andrés Montañez e01fbc6151 Review and rework Composer tasks. 2014-06-12 17:42:47 -03:00
Andrés Montañez a51056b9c1 Merge pull request #63 from oddnoc/remote-rsync
Add ability to use rsync rather than cp on remote
2014-06-12 17:29:17 -03:00
Andrés Montañez 9bcf8e063d Tweaks on FileSystem Tasks. 2014-06-12 17:25:50 -03:00
Andrés Montañez 4528788d49 Reorganize common Deployment code. 2014-06-12 17:12:30 -03:00
Andrés Montañez b174d04da2 Commented code should not be commited #inslight 2014-06-12 16:50:47 -03:00
Andrés Montañez d17dd0eb27 Code refactoring. 2014-06-12 16:45:40 -03:00
Andrés Montañez 12f42dc110 Tweak SPYC. 2014-06-12 16:35:14 -03:00
Andrés Montañez 66ea107229 Merge branch 'master' of https://github.com/andres-montanez/Magallanes
Conflicts:
	Mage/Task/Factory.php
2014-06-12 16:18:14 -03:00
Andrés Montañez 4e01cc3517 Tweaks and fixes. 2014-06-12 16:17:31 -03:00
Andrés Montañez a73c10faed Merge pull request #74 from JanMalte/patch-2
fixes #73 missing "Task" suffix for LinkSharedFiles
2014-06-12 08:33:48 -03:00
Jan Malte Gerth dacfaa2c5e fixes #73 missing "Task" suffix for LinkSharedFiles 2014-06-11 17:35:40 +02:00
Andrés Montañez 2154bd55e4 Merge pull request #68 from JanMalte/patch-1
fixed failing testing for successful json_decode
2014-05-27 05:18:58 -07:00
Jan Malte Gerth f984531742 fixed failing testing for successful json_decode 2014-05-27 13:57:41 +02:00
Andrés Montañez 75e1131a70 Merge pull request #65 from iambrosi/namespace_fix
Fixed namespace for Filesystem tasks
2014-05-23 05:44:16 -07:00
Andrés Montañez 0527b9c8a5 Merge pull request #66 from iambrosi/use_statements
Removed some unused use statements
2014-05-23 05:43:59 -07:00
Ismael Ambrosi a30e6f6193 Removed unused use statements 2014-05-22 23:03:14 -03:00
Ismael Ambrosi eee36a850a Fixed namespace for Filesystem tasks 2014-05-22 22:56:05 -03:00
Fred Condo 1f6da7f8fb Add ability to use rsync rather than cp on remote
This enables finer control (via excludes) when seeding the destination
directory for rsync. Because we know we have rsync available, we can use
rsync rather than cp by using configuration like this example:

	  strategy: rsync
	  rsync:
		copy: true
		copy_tool_rsync: true
		rsync_excludes: ["assets", "silverstripe-cache"]

The default tool remains cp, so this change is backward-compatible.
2014-05-16 12:31:36 -07:00
Andrés Montañez b98082b96f Merge pull request #60 from tonynelson19/patch-1
Only call chown on releases if there's a userGroup
2014-05-14 17:39:29 -07:00