Skip to content

Commit

Permalink
[Issue#415] Remove timeout on Deploy with Tar or Rsync tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-montanez committed Mar 29, 2018
1 parent 7860fea commit 5fa99c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Task/BuiltIn/Deploy/ReleaseTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function execute()
$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();
}
}
2 changes: 1 addition & 1 deletion src/Task/BuiltIn/Deploy/RsyncTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function execute()
$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();
}

Expand Down

0 comments on commit 5fa99c6

Please sign in to comment.