1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-23 20:39:05 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
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
spongeben
3a19d3ef3c Fix release directory not created on first deploy 2015-02-09 14:43:33 +01: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
Dmitriy Ulyanov
cc615dda81 Ignoring errors while deleting temp files 2015-01-25 21:50:00 +03:00
Alexander Miehe
55a5c0c640 Fix key name to follow naming convention 2015-01-14 09:30:52 +01:00
Alexander Miehe
4cdb95f3be make h option for targz optional, default is set h option 2015-01-12 19:50:19 +01:00
Alexander Miehe
70c4823581 Add config option to set ConnectTimeout for ssh connections 2015-01-09 14:05:37 +01:00
Andrés Montañez
df632b3fe3 Tweak excludes files. 2014-11-01 18:15:39 -02: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
Andrés Montañez
92b22d52a3 Tweak GitRebase and Insight suggestions. 2014-10-11 17:55:08 -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
Moritz Baumann
3a033b4514 Fix RsyncTask::excludes(). 2014-08-17 22:11:55 +02: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
724fc05b9e Tweaks. 2014-08-06 14:35:50 -03:00
Andrés Montañez
fddeebe59a PHPStorm refactoring. 2014-08-06 14:01:39 -03:00
Andrés Montañez
4c584b2634 Tweaks. 2014-08-06 14:00:11 -03:00
JoeSimsen
8b86243e34 Bugfix
Extract tar Gz Did not have a $command = in front of it, wich was
breaking the commits
2014-07-31 16:10:46 +02:00
Andrés Montañez
25de6b0a8f Merge (partial) PR #56 2014-07-30 21:49:41 -03:00
Andrés Montañez
9a58ce56f0 Resolve conflict for PR #61 2014-07-30 21:35:21 -03:00
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
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
e7cad31681 fixed a bug: symlink config value was not respected 2014-07-28 13:58:14 +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
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
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
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
4528788d49 Reorganize common Deployment code. 2014-06-12 17:12:30 -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
hrakotobe
47b089cb3e force use of sh on remote server and make directory ownership check more portable 2014-05-09 17:53:35 +02:00
juanda
86ef278607 strategy git-rebase is enabled 2014-05-07 12:55:14 +02:00
Mario Mueller
4c3f50608e The git remote cache deployment task.
This tasks uses a remote checkout on the server to provide the release.
In our use case this remote cache resides in $to/$shared/git-remote-cache,
variable 'shared' is substituted with "shared" by default. At this time, the
remote cache is not build automatically, you need to provide a clean
checkout before you can start using it.
2014-05-02 16:43:31 +02:00
Osukaru
beb663e801 Added identity file option for ssh and scp commands 2014-04-07 12:20:41 +02:00
Andrés Montañez
7c883d2436 Tweaks for issue #45
- Issue #45 - Adds "ssh_needs_tty" which appends "-t" to the ssh.
- Issue #45 - Rsync is incremental if there are previous releases.
2014-03-16 18:21:42 -03:00
mikec
e7d8d5ce68 Adds general.yml parameter "ssh_needs_tty" which appends "-t" to the ssh
command
Adds deployment parameter "rsync: { copy: yes }" which copies the prior
release then rsync's (to increase speed)
2014-01-28 21:43:43 -05:00
Andrés Montañez
72a1a19518 SensioLabs Inslights. Remove unused namespaces. 2013-12-19 16:12:51 -02:00