Commit graph

66 commits

Author SHA1 Message Date
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
Andrés Montañez 0f17468553 Cleanup for SensioLabs Insights. 2013-12-19 15:37:26 -02:00
Andrés Montañez ceee587bb0 Fix typo in GitRebase Deploy strategy. 2013-12-08 20:17:45 -02:00
Bastian Guse 935e9bf896 remove tab set space 2013-11-25 11:01:22 +01:00
Bastian Guse 899809dc33 added missing exclude Files to TarGzTask 2013-11-25 10:51:38 +01:00
Andrés Montañez 7f6cd952df Issue #24. New Deployment Strategy for not Deploying. 2013-11-13 20:13:13 -02:00
Andrés Montañez d8961674d3 Experimental, git rebase deployment strategy. 2013-11-08 11:00:07 -02:00
Andrés Montañez 0722a33137 New Feature. Deploy Strategy: rsync or tar.gz; by default it tries to guess the best strategy. 2013-11-07 21:49:15 -02:00