Commit graph

624 commits

Author SHA1 Message Date
Bart Swaalf 48484793ac added simple confirm-environment task to help prevent accidental deploys to productions 2016-02-15 12:17:18 +01:00
Bart Swaalf 0cd94285de in github download task, check if branch has been pushed 2015-11-19 15:29:50 +01:00
Bart Swaalf 6393a70e15 run composer install without interaction (use public key authentication) 2015-11-06 10:31:55 +01:00
Timme Romberg 05592212e5 Added username placeholder to SlackBotTask 2015-11-04 11:31:17 +01:00
Bart Swaalf a280e170db remove dollar sign strings from slackbot task, not supported by all shells 2015-11-04 11:04:15 +01:00
Bart Swaalf 4d6548126e remove base path from assets task 2015-11-03 15:33:39 +01:00
Bart Swaalf ba2061212b include console in assets tasks 2015-11-03 15:32:03 +01:00
Bart Swaalf d861fb6c02 change vendor name to new company name 2015-11-02 16:09:45 +01:00
Bart Swaalf 564b92aa1c create slackbot message task. 2015-10-30 15:56:18 +01:00
Bart Swaalf cba41a634f create tasks to upload untracked compiled files. 2015-10-28 15:42:20 +01:00
Bart Swaalf a727047a0b simplify copy parameters task 2015-10-28 15:10:54 +01:00
Bart Swaalf 947e407237 add options to get partial commands in tasks 2015-10-28 15:04:30 +01:00
Bart Swaalf caad40515b added comment to applyfullaccess acl 2015-10-23 10:36:15 +02:00
Bart Swaalf 21214f6b19 cal task will use chmod to retroactively apply acls to existing files 2015-10-22 17:42:24 +02:00
Bart Swaalf 09d16a1124 allow comma in directory chmod 2015-10-22 17:41:54 +02:00
Bart Swaalf c3d0b1faa9 cache github password for multiple hosts deploy 2015-10-22 17:41:29 +02:00
Bart Swaalf 11ccd00d5f make apply full access task use full paths in commands
often a sudoers rule needs to be created for the setfacl command with only rights for an absolute path.
2015-10-22 15:47:53 +02:00
Bart Swaalf 58cdb75e0e made ensure log directory more general so it can be used for a static dir too.
Also uses other tasks to create directories & set acls
2015-10-19 16:25:06 +02:00
Bart Swaalf 67c827db63 added 'create symlink' task 2015-10-19 16:24:06 +02:00
Bart Swaalf 02d8c1fc9d added option to set initial permissions with create-directories task 2015-10-19 16:23:52 +02:00
Bart Swaalf ca49e21ef9 added sudo option to acl task 2015-10-19 14:50:47 +02:00
Bart Swaalf 2deca3dcc6 copied & modified release task so no 'chown' is used, and for the vagrant test-setup the php-fpm service is restarted. 2015-10-19 14:49:30 +02:00
Bart Swaalf 64e78fa529 renamed current & logs directory to 'ensure' to better describe task 2015-10-19 14:48:52 +02:00
Bart Swaalf 3d44b6ba85 modified composer install task so composer is downloaded if not found / installed 2015-10-19 14:48:00 +02:00
Bart Swaalf f3f4c3eb44 make github download task output a bit prettier 2015-10-19 11:31:29 +02:00
Bart Swaalf c039ef3d4e add environment parameter to rebuild layouts task 2015-10-16 12:06:06 +02:00
Bart Swaalf 763a2d2ac6 simplify copy parameters task 2015-10-16 12:05:46 +02:00
Bart Swaalf 8b51a45b25 create full-access facl & create directory tasks 2015-10-16 11:28:31 +02:00
Bart Swaalf 8fd942c8f9 fix php doc comments 2015-10-16 11:28:09 +02:00
Bart Swaalf 63f9e5323e create logs directory task now also creates symlink 2015-10-15 18:11:50 +02:00
Bart Swaalf 8cebec97b3 added create logs directory task 2015-10-15 17:56:12 +02:00
Bart Swaalf eaa9c936a4 simplified remove current directory task 2015-10-15 17:56:12 +02:00
Cedric Le Varlet cfd6b0d0f6 + Fixes the copying of the parameters.yml 2015-10-15 17:10:08 +02:00
Cedric Le Varlet a2684f5121 Merge branch 'develop' of github.com:conversioncompany/Magallanes into develop
Conflicts:
	Mage/Task/Newcraft/Filesystem/ApplyFaclsTask.php
2015-10-15 16:53:22 +02:00
Bart Swaalf 87fde87ef6 fix composer download & install tasks (make sure they run in correct directory) 2015-10-15 16:42:40 +02:00
Bart Swaalf 4ebbe59ffc copy composer install task over and make sure it always runs remotely 2015-10-15 16:31:49 +02:00
Bart Swaalf 4ad3869d01 correct namespace on apply facl task class and use builtin functions to find release folder 2015-10-15 16:07:51 +02:00
Bart Swaalf b1f4705472 correct namespace on apply facl task class 2015-10-15 16:01:50 +02:00
Cedric Le Varlet 36d483d0a9 + Correctly points to the composerAbstractTask in the use statement 2015-10-15 15:48:01 +02:00
Cedric Le Varlet aaab59911e + Moved the ApplyFaclsTask 2015-10-15 15:40:53 +02:00
Bart Swaalf 36c95fcf3c always make BuiltIn least preferred namespace 2015-10-15 15:24:16 +02:00
Bart Swaalf 3eda9fdfcf Revert builtin release task. 2015-10-15 14:09:21 +02:00
Bart Swaalf 935a5e9463 Move our tasks to Newcraft namespace 2015-10-15 14:07:21 +02:00
Bart Swaalf 39734cba7e Make DeployCommand and TaskFactory look in other namespaces than 'BuildIn' to find tasks 2015-10-15 14:06:49 +02:00
Cedric Le Varlet 35215371fc + Added a Download task for composer
+ Updated ReleaseTask (Builtin) to ignore the chown release requirements if defined
+ Added the rebuild layout task
+ Added a task RemoveCurrentDirectory which removes any directory named current when deploying (Does not remove symlinks)
2015-10-14 18:48:43 +02:00
Bart Swaalf a63cc23cea Wrote github download strategy 2015-10-14 17:33:58 +02:00
Bart Swaalf 0e23af22b2 allow temporary disabling of logging (for curl command with password...) 2015-10-14 17:33:58 +02:00
Bart Swaalf 9ce0a8b183 added readInputSilent method to ask user for passwords e.g. 2015-10-14 17:33:57 +02:00
Bart Swaalf b03762b246 allow creation of own deployment strategies 2015-10-14 17:33:57 +02:00
Cedric Le Varlet b462b7aa99 + Fixed composer downloader class name 2015-10-14 16:12:27 +02:00