Vyacheslav Pavlov
190918b8c1
Removed unnecessary imports
9 years ago
Andrés Montañez
139b897fe5
Issue #210
10 years ago
Andrés Montañez
ce60a706ac
SensioLabs Insight fixes
10 years ago
Andrés Montañez
a0f4920333
PSR-2 Fixer
10 years ago
Stefan Paletta
a6bcfdaddd
when releasing or rolling back, don’t chown the »current« symlink before we changed / created it. also don’t screw up the ssh cmdline if no username was given.
10 years ago
Jakub Turek
5a1f2502d2
[ #202 ] Remove inconsistency in ssh options
...
Add UserKnownHostsFile and StrictHostKeyChecking to scp command in TarGz strategy.
10 years ago
spongeben
3a19d3ef3c
Fix release directory not created on first deploy
10 years ago
Kuba Turek
24b893bd7c
Fix remote deployment path for GitRebaseTask
10 years ago
Kuba Turek
8752790b3f
[ #185 ] Create release directory for GitRebase strategy if releases are enabled
10 years ago
Dmitriy Ulyanov
cc615dda81
Ignoring errors while deleting temp files
10 years ago
Alexander Miehe
55a5c0c640
Fix key name to follow naming convention
10 years ago
Alexander Miehe
4cdb95f3be
make h option for targz optional, default is set h option
10 years ago
Alexander Miehe
70c4823581
Add config option to set ConnectTimeout for ssh connections
10 years ago
Andrés Montañez
df632b3fe3
Tweak excludes files.
10 years ago
Alex V Kotelnikov
95f09dc3c9
small fixes @ rsync and targz tasks
10 years ago
Alex V Kotelnikov
a66478b3ab
exclude from file added.
...
rebased by upstream
10 years ago
Andrés Montañez
92b22d52a3
Tweak GitRebase and Insight suggestions.
10 years ago
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
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
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
47b089cb3e
force use of sh on remote server and make directory ownership check more portable
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