From 407ddf565dd69762bf720093584c08a49ed398c1 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Fri, 26 Jan 2018 11:16:43 +0100
Subject: [PATCH] ci server - add short hostname in config

---
 hooks/templates/inc_projects_config.php.erb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hooks/templates/inc_projects_config.php.erb b/hooks/templates/inc_projects_config.php.erb
index 9b99807f..e18e745b 100644
--- a/hooks/templates/inc_projects_config.php.erb
+++ b/hooks/templates/inc_projects_config.php.erb
@@ -4,7 +4,7 @@
 // fetch status infos von den einzelnen Phasen
 // ----------------------------------------------------------------------
 
-$aConfig = array(
+    $aConfig = array(
     // Basispfad:
     'workDir' => '/var/imldeployment',
     'tmpDir' => '/var/tmp/imldeployment',
@@ -110,6 +110,7 @@ switch (php_uname("n")) {
         break;
 
     case "ci.iml.unibe.ch":
+    case "ci":
 
         // synch der Pakete nur auf dem Livesystem
         $aConfig['mirrorPackages'] = array(
-- 
GitLab