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.
11 years ago
hrakotobe
7ad5403c81
change setting name
11 years ago
hrakotobe
47b089cb3e
force use of sh on remote server and make directory ownership check more portable
11 years ago
Tony Nelson
ea9c83b07f
Only call chown on releases if there's a userGroup
11 years ago
juanda
86ef278607
strategy git-rebase is enabled
11 years ago
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.
11 years ago
Osukaru
beb663e801
Added identity file option for ssh and scp commands
11 years ago
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.
11 years ago
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)
11 years ago
Andrés Montañez
5cc9c02c3e
IonCube task cleanup.
11 years ago
Andrés Montañez
72a1a19518
SensioLabs Inslights. Remove unused namespaces.
11 years ago
Andrés Montañez
0f17468553
Cleanup for SensioLabs Insights.
11 years ago
Andrés Montañez
ceee587bb0
Fix typo in GitRebase Deploy strategy.
11 years ago
Bastian Guse
935e9bf896
remove tab set space
11 years ago
Bastian Guse
899809dc33
added missing exclude Files to TarGzTask
11 years ago
Andrés Montañez
7f6cd952df
Issue #24 . New Deployment Strategy for not Deploying.
11 years ago
Andrés Montañez
d8961674d3
Experimental, git rebase deployment strategy.
11 years ago
Andrés Montañez
0722a33137
New Feature. Deploy Strategy: rsync or tar.gz; by default it tries to guess the best strategy.
11 years ago
Andrés Montañez
f961a51c37
Big refactoring. Use of Namespaces and codestyles. PSR-0, PSR-1, PSR-2.
11 years ago
Andrés Montañez
c32bb708cf
Add license information.
11 years ago
Andrés Montañez
67a7f9d6fe
Tweak config and logs.
12 years ago
Andrés Montañez
14b36eab88
Escape " from remote commands.
12 years ago
Andrés Montañez
b6a0bad25b
Delegate Releases Deletion to Rsync.
12 years ago
Andrés Montañez
d33b0b4858
Tweaked the Post-Releases and Scheduled the Release as a separate batch.
12 years ago
Andrés Montañez
811c83e13a
Major overhauling and refactoring of Magallanes Command and Tasks modulairty and workflow.
...
ADVICE: there is no Backwards Compatibility with custom tasks, those
using the _config instance will be broken or those using the
getEnvironmentName().
13 years ago
Andrés Montañez
adb3a67924
More flexibility on releases path. Addresses Issue #7 .
13 years ago
Andrés Montañez
0410c0efec
New feature: Override Release.
13 years ago
Andrés Montañez
aaa65800d0
New option, max releases.
13 years ago
Andrs Montaez
3f0efc1a42
New version. Added getters to config and task.
...
New concept of "stage" where the task runs.
13 years ago
Andrs Montaez
de772028bb
Tweaks on file permissions for releases.
13 years ago
Andrs Montaez
6bd9d888df
Bugfix on host:port config.
13 years ago
Andrs Montaez
51e7de0676
Tweaks on port definition.
...
Now port can be defined into the hostname.
13 years ago
Andrs Montaez
2ec4f58c77
Tweak on yaml parser. Added option for ssh port.
13 years ago
Andrs Montaez
949750fc1e
Fixes and tweaks on command execution.
13 years ago
Andrs Montaez
0c2ee3c45f
New feature. Copy application from remote source; e.g.: GIT repo.
13 years ago
Andrs Montaez
01cbd0e447
Releases Rollback. Tweaks.
13 years ago
Andrs Montaez
2e35bfe129
New configuration usage. Changes on Releases Listing.
13 years ago
Andrs Montaez
9c03ae6bed
Changes on configuration.
...
Preparation for Post Release tasks.
13 years ago
Andrs Montaez
5faad41b78
First iteration of the Releases feature.
13 years ago
Andrs Montaez
67ca7b1e21
Logging enabled. And fix on Excludes.
13 years ago
Andrs Montaez
8ed0154749
Added the possibility defining (by the user) Excludes for the
...
rsync.
13 years ago
Andrs Montaez
e5f0fe9cfa
Changes on console feedback colors. Example of User Tasks.
13 years ago
Andrs Montaez
b161220e69
New reorder of classes and configuration. New instantiation of Tasks.
13 years ago