mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-04-26 19:40:39 +02:00
[Issue#415] Remove timeout on Deploy with Tar or Rsync tasks
This commit is contained in:
parent
7860fea425
commit
5fa99c68f5
|
@ -4,6 +4,7 @@ CHANGELOG for 3.X
|
|||
* 3.4.0 (2018-03-29)
|
||||
* [Issue#380] Throw exception if log_dir is defined but directory doesn't exists
|
||||
* [BUGFIX] [Issue#405] Malformed ssh command when defining host:port notation
|
||||
* [Issue#415] Remove timeout on Deploy with Tar or Rsync tasks
|
||||
|
||||
|
||||
* 3.3.0 (2017-07-22)
|
||||
|
|
|
@ -44,7 +44,7 @@ class ReleaseTask extends AbstractTask implements ExecuteOnRollbackInterface
|
|||
$cmdLinkRelease = sprintf('cd %s && ln -snf releases/%s current', $hostPath, $releaseId);
|
||||
|
||||
/** @var Process $process */
|
||||
$process = $this->runtime->runRemoteCommand($cmdLinkRelease, false);
|
||||
$process = $this->runtime->runRemoteCommand($cmdLinkRelease, false, null);
|
||||
return $process->isSuccessful();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ class RsyncTask extends AbstractTask
|
|||
$cmdRsync = sprintf('rsync -e "ssh -p %d %s" %s %s %s %s@%s:%s', $sshConfig['port'], $sshConfig['flags'], $flags, $excludes, $from, $user, $host, $targetDir);
|
||||
|
||||
/** @var Process $process */
|
||||
$process = $this->runtime->runLocalCommand($cmdRsync, 600);
|
||||
$process = $this->runtime->runLocalCommand($cmdRsync, null);
|
||||
return $process->isSuccessful();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue