mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
Added a new class ConsoleApplicationTester, which during E2E tests will create a separate isolated process for the Deployer to run in. This class exposes methods for interacting with stdin and to grab stdout, stderr and status code of finished process.
14 lines
312 B
PHP
14 lines
312 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Deployer;
|
|
|
|
set('application', 'deployer-e2e');
|
|
host('server.test')
|
|
->setDeployPath('/var/www/html')
|
|
->setTag('e2e')
|
|
->setRemoteUser('deployer')
|
|
->setSshArguments([
|
|
'-o UserKnownHostsFile=/dev/null',
|
|
'-o StrictHostKeyChecking=no',
|
|
]);
|