diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-10 16:48:12 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-10 16:48:12 +0100 |
commit | 3a826a7d2a6b5fcd108bdadfcaf856eca505a4d5 (patch) | |
tree | 3dcda7e13f0fac91fce4da182e1da697feb8caac /builder_logic.py | |
parent | f38f6066b6380d0cab7d27c3a439a04999e53e0c (diff) | |
download | buildslave-scripts-3a826a7d2a6b5fcd108bdadfcaf856eca505a4d5.tar.gz |
Fix typo and add some more logging
Diffstat (limited to 'builder_logic.py')
-rw-r--r-- | builder_logic.py | 6 |
1 files changed, 4 insertions, 2 deletions
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 |