Andrés Montañez
c3204844ea
Add possibility for defining the composer_cmd in the global config.
11 years ago
Kuba Turek
95ffed7e12
Add configurable composer_cmd parameter
11 years ago
Kuba Turek
48420c1c2a
Rename composer_path into composer_cmd
11 years ago
Andrés Montañez
6196cda70b
Issue #99
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
ce0e707dc6
Support Composer and Symfony App paths. Issue #86
...
Also specify symfony version (2 o 3).
11 years ago
Andrés Montañez
5fb711593a
Add flag --deleteCurrent to delete current release on rollback. Issue #93
11 years ago
Andrés Montañez
2e0c5130dd
Fix rollback.
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
d55637a120
Fix ApplyFaclsTask.
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
4e01cc3517
Tweaks and fixes.
11 years ago
Jan Malte Gerth
dacfaa2c5e
fixes #73 missing "Task" suffix for LinkSharedFiles
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
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