Skip to content
Snippets Groups Projects
Commit 535bb7e5 authored by hahn's avatar hahn
Browse files

update check-config.php

parent dbdfe0b9
No related branches found
No related tags found
1 merge request!195534 add docker
...@@ -180,14 +180,13 @@ if (!isset($aConfig) || !is_array($aConfig)) { ...@@ -180,14 +180,13 @@ if (!isset($aConfig) || !is_array($aConfig)) {
foreach (array( foreach (array(
'auth', 'auth',
'build', 'build',
'installPackages',
'lang', 'lang',
'phases', 'phases',
'projects', 'projects',
) as $sKey) { ) as $sKey) {
echo "Key [$sKey] "; echo "Key [$sKey] ";
if (!array_key_exists($sKey, $aConfig)) { if (!array_key_exists($sKey, $aConfig)) {
echo '<span class="error">failed</span> missing key [$sKey] in config<br>'; echo '<span class="error">failed</span> missing key ['.$sKey.'] in config<br>';
$aErrors[] = "* missing key [$sKey] in config\n"; $aErrors[] = "* missing key [$sKey] in config\n";
} else { } else {
echo '<span class="ok">OK</span> exists<br>'; echo '<span class="ok">OK</span> exists<br>';
...@@ -222,6 +221,7 @@ checkCommands(array( ...@@ -222,6 +221,7 @@ checkCommands(array(
'which rsync'=>'sync packages to puppet master', 'which rsync'=>'sync packages to puppet master',
'which git'=>'connect to git repositories', 'which git'=>'connect to git repositories',
)); ));
echo '<h3>tools for IML projects</h3>'; echo '<h3>tools for IML projects</h3>';
checkCommands(array( checkCommands(array(
'which uglifyjs'=>'compress js', 'which uglifyjs'=>'compress js',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment