deployer/tests/e2e/recipe/hosts.php
Sacharski Bartłomiej 165ffa119a
Implemented ConsoleApplicationTester for isolated E2E tests (#2513)
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.
2021-04-17 23:11:26 +03:00

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',
]);