Skip to content

Commit b1177d2

Browse files
Roman Ganinslopukhov
authored andcommitted
MAGETWO-35248: Create bamboo build stages for install
1 parent c684b52 commit b1177d2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dev/tools/performance-toolkit/generate.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
$shell = new Zend_Console_Getopt(
1313
[
14-
'profile-s' => 'Profile configuration file',
14+
'profile=s' => 'Profile configuration file',
15+
'skip-reindex-i' => 'Skip reindex (Default - 0)',
1516
]
1617
);
1718

@@ -68,7 +69,9 @@
6869
$indexer->setScheduled($application->indexersStates[$indexerId['indexer_id']]);
6970
}
7071

71-
$application->reindex();
72+
if (!\Magento\ToolkitFramework\Helper\Cli::getOption('skip-reindex')) {
73+
$application->reindex();
74+
}
7275
$totalEndTime = microtime(true);
7376
$totalResultTime = $totalEndTime - $totalStartTime;
7477

0 commit comments

Comments
 (0)