Andrés Montañez
9653552be7
Text files should end with a newline character.
10 years ago
Andrés Montañez
f20091afc6
Boolean and Null should be compared strictly.
10 years ago
Andrés Montañez
5d39e46d9e
Code should not be duplicated
10 years ago
Moritz Baumann
3a033b4514
Fix RsyncTask::excludes().
11 years ago
Andrés Montañez
825fc64b0a
Issue #47
...
Movie cleanup of releases on release task.
11 years ago
Andrés Montañez
1bcaca36f0
Issue #62
...
Add strategy flags.
11 years ago
Andrés Montañez
9c0682d222
Tweak.
11 years ago
Andrés Montañez
846237fabb
Tweaks.
11 years ago
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
11 years ago
Andrés Montañez
724fc05b9e
Tweaks.
11 years ago
Andrés Montañez
ec2bb12bf4
Fixes and tweaks.
11 years ago
Andrés Montañez
fddeebe59a
PHPStorm refactoring.
11 years ago
Andrés Montañez
4c584b2634
Tweaks.
11 years ago
JoeSimsen
8b86243e34
Bugfix
...
Extract tar Gz Did not have a $command = in front of it, wich was
breaking the commits
11 years ago
JoeSimsen
82c5305137
Allow a release to be zipped
...
If you enable the parameter 'releases: compressreleases: true', every
release except the current wil be added to a tar.gz. This is to preserve
diskspace on the remote host.
11 years ago
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
11 years ago
Vladimir Grigor
e7cad31681
fixed a bug: symlink config value was not respected
11 years ago
woutersioen
0ce94c3821
Also use common code in RsyncTask
11 years ago
woutersioen
980d209fb4
Refactor cleaning up releases to a common function.
11 years ago
woutersioen
b869876c26
Refactor tar gz to reuse function.
11 years ago
woutersioen
f7e2163fed
Cleanup releases.
11 years ago
woutersioen
26bc4242d1
Revert excludes
11 years ago
woutersioen
f2e01280a5
Fix excludes for releases
11 years ago
woutersioen
014d98bc96
Implement releases in git-rebase
...
Note: the parameter repository needs to be set to make this work.
11 years ago
woutersioen
c7e1175e11
Make file locations work better from global install.
11 years ago
Benjamin Mermoz
35301cba8e
Fix hard coded 'current' symlink path in RsyncTask
11 years ago
Andrés Montañez
49a7e0857a
Missing use statement should be avoided #inslight
11 years ago
Andrés Montañez
1b2188f0b1
Tweaks.
11 years ago
Andrés Montañez
4528788d49
Reorganize common Deployment code.
11 years ago
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