From c6798a720fa02a7f0fd8fcad0e26c579c5b9a456 Mon Sep 17 00:00:00 2001 From: hahn <axel.hahn@iml.unibe.ch> Date: Tue, 19 Dec 2017 13:42:13 +0100 Subject: [PATCH] build: - use RVMSCRIPT env variable an update check-config + template - fix message on end of build --- hooks/templates/inc_projects_config.php.erb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/hooks/templates/inc_projects_config.php.erb b/hooks/templates/inc_projects_config.php.erb index 8987cd44..9b99807f 100644 --- a/hooks/templates/inc_projects_config.php.erb +++ b/hooks/templates/inc_projects_config.php.erb @@ -8,11 +8,14 @@ $aConfig = array( // Basispfad: 'workDir' => '/var/imldeployment', 'tmpDir' => '/var/tmp/imldeployment', - 'versionsToKeep' => 10, // for cleanup: keep n unused versions - 'builtsToKeep' => 3, // for cleanup: keep n failed builds - 'hooks' => array( - 'build-postclone' => 'hooks/onbuild-postclone', - 'build-precompress' => 'hooks/onbuild', // TODO: remove this + 'versionsToKeep' => 5, // for cleanup: keep n unused versions + 'builtsToKeep' => 3, + 'build' => array( + 'env' => 'export RVMSCRIPT="/usr/local/rvm/scripts/rvm";', + 'hooks' => array( + 'build-postclone' => 'hooks/onbuild-postclone', + 'build-precompress' => 'hooks/onbuild', + ), ), 'lang' => 'de', // for available languages see ./config/lang/*.json // rsync of archives -- GitLab