Commit graph

355 commits

Author SHA1 Message Date
Ondřej Vodáček 100a125ac5 Enable to configure strict host key checking [closes #105]
Software should be secure by default, so the default option is to enable
strict host key checking. When lowering security, the user should be
aware of it and it should be his choice.
2016-07-14 15:59:09 +02:00
drAlberT f6d969e99b FIX PSR2 2015-07-02 09:45:42 +02:00
Andrés Montañez 7a0a8c6013 Merge pull request #234 from aglejberman/master
Set branch revert as the last task on post deployment
2015-06-27 16:26:06 -03:00
Alejandro Glejberman 0b903788f3 Set branch revert as the last task on post deployment 2015-06-02 09:15:35 -03:00
Kuba Turek 4c8b5f508f Merge pull request #232 from drAlberT/patch-1
security fix, use escapeshellcmd()
2015-05-29 20:01:10 +02:00
Jakub Turek 3547c03cef Fix array syntax for PHP 5.3 compatibility 2015-05-29 19:57:57 +02:00
AlberT 8c55588918 security fix, use escapeshellcmd() 2015-05-28 13:53:33 +02:00
Kuba Turek c69d8888f5 Merge pull request #228 from edpauto/commands-help
Handle '--help' option for commands
2015-05-19 19:13:29 +02:00
Jakub Turek 9bb17413d2 Fix code for PHP 5.3 2015-05-19 17:20:15 +02:00
Kuba Turek 7f0cab1a38 Merge pull request #184 from edpauto/env-vars-support
Environment variables support
2015-05-19 10:35:36 +02:00
Jakub Turek 8a5f0ee23e Fix conflicts after merge 2015-05-16 20:23:48 +02:00
Jakub Turek 5db9905ed4 Add sample config for Magallanes' built-in commands 2015-05-16 14:06:19 +02:00
Jakub Turek 48fbefa619 Correct syntax for arrays 2015-05-16 14:06:19 +02:00
Jakub Turek fb236c1bb3 Enable running help command in Console 2015-05-16 14:06:19 +02:00
Jakub Turek 342a468214 Add info about no help information for the command 2015-05-16 14:04:43 +02:00
Jakub Turek e4bab08d3f Add some PHPDoc notes to AbstractCommand 2015-05-16 14:04:43 +02:00
Jakub Turek 4e18ae1f8c Add command name as an option 2015-05-16 14:04:43 +02:00
Jakub Turek 94d301f66f Add console colours to command info output 2015-05-16 14:04:43 +02:00
Jakub Turek 4c519dd3bc Add command help option 2015-05-16 14:04:43 +02:00
Kirill a3219e8f68 Default userGroup to 33:33. Removing extra condition. 2015-04-30 15:58:43 -07:00
Kirill 6f1bd5c0cc resultFetch is always false when owner is specified in config 2015-04-29 17:11:18 -07:00
Andrés Montañez 139b897fe5 Issue #210 2015-04-12 16:43:17 -03:00
Andrés Montañez ce60a706ac SensioLabs Insight fixes 2015-04-12 16:15:46 -03:00
Andrés Montañez a0f4920333 PSR-2 Fixer 2015-04-12 16:13:06 -03:00
Kuba Turek 288d7304be Merge pull request #176 from claudioflagbit/task-factory-test
Task factory test
2015-03-24 20:27:11 +01:00
Kuba Turek f605692817 Merge pull request #208 from KillerDiller/develop
don’t fail the initial deployment to a target, and allow ssh without a username
2015-03-24 11:56:04 +01:00
ZesInternational fd89d2c04a added $currentCopy to the RollbackTask.php 2015-03-13 15:00:58 +01:00
Stefan Paletta a6bcfdaddd when releasing or rolling back, don’t chown the »current« symlink before we changed / created it. also don’t screw up the ssh cmdline if no username was given. 2015-03-13 11:51:27 +01:00
Claudio Zizza 1acffae330 minor phpdoc fix, test string fixed for unknown task class 2015-03-11 21:41:40 +01:00
Claudio Zizza 2c27e2c46d unittests for task factory and dummy task classes for tests created 2015-03-11 21:41:40 +01:00
Jakub Turek e7c0b87ccd Move testing setters and getters to BaseTest 2015-03-08 21:21:49 +01:00
Jakub Turek 3b326227ae Remove setter from CompileCommand
Also, let the Compiler be constructed with DI or by itself
2015-03-08 21:21:49 +01:00
Jakub Turek 3792f5fb8c Fix code style in UnlockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek 0bfe649aa5 Fix code style for LockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek c06a9c7cf1 Fix code style in CompileCommand
according to PSR2 coding rules
2015-03-08 21:21:49 +01:00
Jakub Turek 5602bf83fe Add CompileCommand tests 2015-03-08 21:21:49 +01:00
Jakub Turek d58e89c41d Set compiler by setter for better testability 2015-03-08 21:21:48 +01:00
Jakub Turek 881f0b2d87 Fix syntax error in ListCommand::run 2015-03-08 21:21:48 +01:00
Jakub Turek 5a1f2502d2 [#202] Remove inconsistency in ssh options
Add UserKnownHostsFile and StrictHostKeyChecking to scp command in TarGz strategy.
2015-03-08 13:11:05 +01:00
Kuba Turek a45802acea Merge pull request #195 from spongeben/fix-rsync-deploy
Fix 1st deploy bug
2015-03-07 15:07:54 +01:00
Kuba Turek b8e6ea062e Merge pull request #187 from edpauto/git-rebase-fix
Create release directory for GitRebase strategy
2015-02-24 21:19:41 +01:00
Kuba Turek 9becda4df9 Merge pull request #167 from SenseException/command-factory
Command factory tests
2015-02-21 22:00:37 +01:00
Andrés Montañez dc18a91cf7 SensioLabs Insight. 2015-02-21 14:23:24 -02:00
Claudio Zizza 27423f1f3e Merge branch 'develop' into command-factory 2015-02-09 20:32:27 +01:00
spongeben aab71eceac Change "current" symlink owner only if it exists 2015-02-09 14:44:34 +01:00
spongeben 3a19d3ef3c Fix release directory not created on first deploy 2015-02-09 14:43:33 +01:00
Ramunas 5e84f0ada4 doing permission fix before actual relase, prevents from cases when released code cannot be accessed while chown is working 2015-02-08 21:19:34 +02:00
Kuba Turek 24b893bd7c Fix remote deployment path for GitRebaseTask 2015-02-06 20:50:07 +01:00
Kuba Turek 8752790b3f [#185] Create release directory for GitRebase strategy if releases are enabled 2015-02-06 20:39:23 +01:00
Kuba Turek cd7c39f881 Merge pull request #179 from jhuet/fix/rollback-release-directory
Fix/rollback release directory
2015-02-05 13:17:38 +01:00