Skip to content
Snippets Groups Projects
Commit 5feebcc0 authored by hahn's avatar hahn
Browse files

Update components font-awesome (change icon syntax from fontawesome 4 --> 5), jquery

action button (build, deploy, ...) have the color of the target phase
Update appmonitor class files
ix checkssh test with multilple targets
parent c698f2f2
No related branches found
No related tags found
No related merge requests found
......@@ -87,10 +87,12 @@ foreach ($oPrj1->getProjects() as $sPrj) {
$sDeployhosts = array_key_exists("hosts", $aPrjConfig["phases"][$sPhase]) ? $aPrjConfig["phases"][$sPhase]["hosts"] : "";
if ($sDeployhosts) {
$sOut .= '<li>' . $sDeployhosts . '<br>';
$sCmd = 'ssh ' . $aConfig["installPackages"]["user"] . '@' . $sDeployhosts . ' echo "hello from \`hostname -f\`"';
foreach(explode(',', $sDeployhosts) as $sSingleSshTarget){
$sOut .= '<li>' . $sSingleSshTarget . '<br>';
$sCmd = 'ssh ' . $aConfig["installPackages"]["user"] . '@' . $sSingleSshTarget . ' echo "hello from \`hostname -f\`"';
$sOut.= myExec($sCmd);
}
}
$sOut.='</ul>';
}
$sOut.='</ul>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment