Andrés Montañez
4c584b2634
Tweaks.
11 years ago
Andrés Montañez
60d16e57f9
Tweak log message.
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
Andrés Montañez
b6ab981f4d
Tweaks from PR #58
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
11bdd68fff
- factored constants out;
...
- fixed bug: "releases list" command would die checking for unnecessary --release parameter;
- console prints log file name if if logging is enabled
11 years ago
Vladimir Grigor
e7cad31681
fixed a bug: symlink config value was not respected
11 years ago
Vladimir Grigor
d495d10aca
fixed a bug: if deploy strategy was set to "disable", release was still trying to do remote stuff. Now release step respects strategy.
11 years ago
Vladimir Grigor
5ce3394b3c
refactored Autoloader; added support for json encoded format for environment "hosts" option
11 years ago
Vladimir Grigor
6ecaf41336
removed unnecessary checks in Config
11 years ago
Vladimir Grigor
eaccc0dab8
refactoring
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
Rodmen
732cc20f1f
add user data and message to lock command
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
e10dea147f
Yaml - Replace Spyc with Symfony Yaml Component.
11 years ago
Andrés Montañez
d55637a120
Fix ApplyFaclsTask.
11 years ago
Andrés Montañez
92d3845052
Issue #70 , makes --release mandatory.
11 years ago
Andrés Montañez
17ebb5b30d
Add Rollback command as alias.
11 years ago
Andrés Montañez
e01fbc6151
Review and rework Composer tasks.
11 years ago
Andrés Montañez
9bcf8e063d
Tweaks on FileSystem Tasks.
11 years ago
Andrés Montañez
4528788d49
Reorganize common Deployment code.
11 years ago
Andrés Montañez
b174d04da2
Commented code should not be commited #inslight
11 years ago
Andrés Montañez
d17dd0eb27
Code refactoring.
11 years ago
Andrés Montañez
12f42dc110
Tweak SPYC.
11 years ago
Andrés Montañez
4e01cc3517
Tweaks and fixes.
11 years ago
Jan Malte Gerth
dacfaa2c5e
fixes #73 missing "Task" suffix for LinkSharedFiles
11 years ago
Jan Malte Gerth
f984531742
fixed failing testing for successful json_decode
11 years ago
Ismael Ambrosi
a30e6f6193
Removed unused use statements
11 years ago
Ismael Ambrosi
eee36a850a
Fixed namespace for Filesystem tasks
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
eefec4cbc0
Added three new tasks.
...
One task for generating the composer production autoloader, one
for linking shared files and folders into the release and
one to set filesystem acls while rolling out a new release.
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
Andrés Montañez
8785a3498d
Update Config.php
11 years ago
David Lin
59574711c1
Fixed a bug in the builtin ChangeBranchTask.php
11 years ago
Osukaru
beb663e801
Added identity file option for ssh and scp commands
11 years ago
Andrés Montañez
5d03d945cb
Issue #46 - Add post-release tasks on rollback
11 years ago