summaryrefslogtreecommitdiff
path: root/deploy_logic.py
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-16 18:24:18 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-16 18:24:18 +0100
commit590eb2b49512c65bcd620fa0af0c42cc364edade (patch)
tree674285a5de242b6d47e751f2dbae6e0fe71d6d9c /deploy_logic.py
parentbb3d41b350b30e84423f2d077fca79c52205535f (diff)
downloadbuildslave-scripts-590eb2b49512c65bcd620fa0af0c42cc364edade.tar.gz
Remove hardcoded user home dir
Diffstat (limited to 'deploy_logic.py')
-rw-r--r--deploy_logic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy_logic.py b/deploy_logic.py
index c5b3150..a0cbd2e 100644
--- a/deploy_logic.py
+++ b/deploy_logic.py
@@ -1,4 +1,4 @@
-import subprocess
+import subprocess, os
ORCHE_URL = 'http://127.0.0.1:8080/'
BUILD_SCRIPT = 'build_a_system.sh'
@@ -15,7 +15,7 @@ whitelist = [
'strata/bsp-x86_64-generic.morph',
]
-LOGFILE = '/home/williamholland/orchestration/trigger_log'
+LOGFILE = os.path.expanduser("~/orchestration/trigger_log")
log_file = open(LOGFILE,'a')