Skip to content

Commit 181e506

Browse files
committed
MAGETWO-48428: Developer Experience: Magento setup logs in bamboo builds are useless
- added verbose option to bin/magento commands
1 parent 38dd0ed commit 181e506

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: dev/tests/api-functional/framework/Magento/TestFramework/WebApiApplication.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function install()
3333

3434
/* Install application */
3535
if ($installOptions) {
36-
$installCmd = 'php -f ' . BP . '/bin/magento setup:install';
36+
$installCmd = 'php -f ' . BP . '/bin/magento setup:install -vvv';
3737
$installArgs = [];
3838
foreach ($installOptions as $optionName => $optionValue) {
3939
if (is_bool($optionValue)) {

Diff for: dev/tests/integration/framework/Magento/TestFramework/Application.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ public function cleanup()
426426
* @see \Magento\Setup\Mvc\Bootstrap\InitParamListener::BOOTSTRAP_PARAM
427427
*/
428428
$this->_shell->execute(
429-
'php -f %s setup:uninstall -n --magento-init-params=%s',
429+
'php -f %s setup:uninstall -vvv -n --magento-init-params=%s',
430430
[BP . '/bin/magento', $this->getInitParamsQuery()]
431431
);
432432
}
@@ -459,15 +459,15 @@ public function install()
459459

460460
// run install script
461461
$this->_shell->execute(
462-
'php -f %s setup:install ' . implode(' ', array_keys($installParams)),
462+
'php -f %s setup:install -vvv ' . implode(' ', array_keys($installParams)),
463463
array_merge([BP . '/bin/magento'], array_values($installParams))
464464
);
465465

466466
// enable only specified list of caches
467467
$initParamsQuery = $this->getInitParamsQuery();
468-
$this->_shell->execute('php -f %s cache:disable --bootstrap=%s', [BP . '/bin/magento', $initParamsQuery]);
468+
$this->_shell->execute('php -f %s cache:disable -vvv --bootstrap=%s', [BP . '/bin/magento', $initParamsQuery]);
469469
$this->_shell->execute(
470-
'php -f %s cache:enable %s %s %s %s --bootstrap=%s',
470+
'php -f %s cache:enable -vvv %s %s %s %s --bootstrap=%s',
471471
[
472472
BP . '/bin/magento',
473473
\Magento\Framework\App\Cache\Type\Config::TYPE_IDENTIFIER,

0 commit comments

Comments
 (0)