From 3a826a7d2a6b5fcd108bdadfcaf856eca505a4d5 Mon Sep 17 00:00:00 2001 From: Will Holland Date: Thu, 10 Sep 2015 16:48:12 +0100 Subject: Fix typo and add some more logging --- builder_logic.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'builder_logic.py') diff --git a/builder_logic.py b/builder_logic.py index a29fa40..37d1817 100644 --- a/builder_logic.py +++ b/builder_logic.py @@ -1,7 +1,7 @@ import subprocess ORCHE_URL = 'http://127.0.0.1:8080/' -BUILD_SCRIPT = 'bild_a_system.sh' +BUILD_SCRIPT = 'build_a_system.sh' DEPLOY_SCRIPT = 'deploy_a_system.sh' DEFINITIONS_DIR='definitions' REF = "cu010-trove/br6/firehose-test-1" @@ -56,7 +56,9 @@ def build(system): def deploy(cluster): log('deploying %s' % cluster) - return subprocess.call(['sh','%s' % DEPLOY_SCRIPT, '%s' % cluster]) + exit_val = subprocess.call(['sh','%s' % DEPLOY_SCRIPT, '%s' % cluster]) + log('deployment complete') + exit(exit_val) def trigger_testing(build_id): import requests -- cgit v1.2.1