Skip to content

Commit

Permalink
Merge 318a75b into 1006fa5
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon committed Mar 10, 2020
2 parents 1006fa5 + 318a75b commit 447d7e2
Show file tree
Hide file tree
Showing 29 changed files with 87 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Task/CleanupReleasesTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/DumpDatabaseTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($command, $localhost, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Generic/CreateDirectoriesTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($commands, $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Generic/CreateSymlinksTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($commands, $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Generic/RollbackTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Git/PushTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Git/TagTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/LocalShellTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($command, $localhost, $deployment, $options['ignoreErrors'], $options['logOutput']);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/LockDeploymentTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public function rollback(Node $node, Application $application, Deployment $deplo
$unLockDeployment->execute($node, $application, $deployment, $options);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/CopyConfigurationTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($commands, $localhost, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/FlushCacheListTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/FunctionalTestTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($command, $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/MigrateTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($application->buildCommand($targetPath, 'doctrine:migrate', [], $options['phpBinaryPathAndFilename']), $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/PublishResourcesTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/RunCommandTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($command, $node, $deployment, $options['ignoreErrors'], $options['logOutput']);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/SetFilePermissionsTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
), $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/SymlinkConfigurationTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($commands, $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/SymlinkDataTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($commands, $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Flow/UnitTestTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate('cd ' . $targetPath . ' && phpunit -c Build/' . $application->getBuildEssentialsDirectoryName() . '/PhpUnit/UnitTests.xml', $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Neos/Neos/ImportSiteTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($application->buildCommand($targetPath, 'site:import', $arguments), $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/RsyncFoldersTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($commands, $localhost, $deployment, $options['ignoreErrors'], $options['logOutput']);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/ShellTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($command, $node, $deployment, $options['ignoreErrors'], $options['logOutput']);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/StopTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
throw new StopWorkflowException('Workflow stopped explicitly');
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/SymlinkReleaseTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$deployment->getLogger()->notice('<success>Node "' . $node->getName() . '" ' . ($deployment->isDryRun() ? 'would be' : 'is') . ' live!</success>');
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/TYPO3/CMS/CreatePackageStatesTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/TYPO3/CMS/SymlinkDataTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($commands, $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Transfer/RsyncTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate($command, $node, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/Transfer/ScpTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
$this->shell->executeOrSimulate(sprintf('rm -f %s/%s', $localPackagePath, $fileName), $localhost, $deployment);
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down
3 changes: 3 additions & 0 deletions src/Task/UnlockDeploymentTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
}

/**
* @codeCoverageIgnore
*/
public function simulate(Node $node, Application $application, Deployment $deployment, array $options = [])
{
$this->execute($node, $application, $deployment, $options);
Expand Down

0 comments on commit 447d7e2

Please sign in to comment.