1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Automated acceptance tests

Includes a Dockerfile that can be used to build the
ghcr.io/e107inc/e107/e107-dev
container
This commit is contained in:
Nick Liu
2020-12-28 16:46:03 +01:00
parent 15a277349a
commit b5923169a6
5 changed files with 92 additions and 5 deletions

View File

@@ -34,7 +34,8 @@ class SFTPDeployer extends Deployer
private function generateRsyncRemoteShell()
{
$prefix = 'ssh -p '.escapeshellarg($this->getFsParam('port'));
$prefix = 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p '.
escapeshellarg($this->getFsParam('port'));
if (!empty($this->getFsParam('privkey_path')))
return $prefix.' -i ' . escapeshellarg($this->getFsParam('privkey_path'));
else