Bug #52276
Task defined in an Application can't be removed for a deployment?
Status: | New | Start date: | 2013-09-25 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
<?php $workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow(); $deployment->setWorkflow($workflow); $node = new \TYPO3\Surf\Domain\Model\Node('[...]'); $node->setHostname('[...]'); $node->setOption('username', '[...]'); $node->setOption('password', '[...]'); $application = new \TYPO3\Surf\Application\TYPO3\Neos(); $application->setDeploymentPath('[...]'); $application->setOption('repositoryUrl', '[...]'); $application->setOption('composerCommandPath', ''); //why is this needed? $application->setOption('packageMethod', 'git'); $application->setOption('transferMethod', 'rsync'); $application->setOption('updateMethod', NULL); $application->setOption('keepReleases', 2); $application->addNode($node); $deployment->addApplication($application); // can't remove a task? $deployment->getWorkflow()->removeTask('typo3.surf:typo3:neos:importsite'); ?>
History
#1 Updated by Thomas Allmer almost 2 years ago
ignore this
$application->setOption('composerCommandPath', ''); //why is this needed?