summaryrefslogtreecommitdiff
path: root/builder_logic.py
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-15 09:29:03 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-15 09:29:03 +0100
commit49eef6aea02adcb2b8750dbfa95b21216357c734 (patch)
tree932f7862e367213a91925bd511e35fe29d29286b /builder_logic.py
parentc2d48f1d1767dc6e78c9f1f1b675cb9f53cf074d (diff)
downloadbuildslave-scripts-49eef6aea02adcb2b8750dbfa95b21216357c734.tar.gz
Change system being built
Diffstat (limited to 'builder_logic.py')
-rw-r--r--builder_logic.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/builder_logic.py b/builder_logic.py
index 0ae1d5b..4bde451 100644
--- a/builder_logic.py
+++ b/builder_logic.py
@@ -1,14 +1,15 @@
import subprocess
ORCHE_URL = 'http://127.0.0.1:8080/'
+SYSTEM='systems/genivi-demo-platform-x86_64-generic.morph'
BUILD_SCRIPT = 'build_a_system.sh'
DEPLOY_SCRIPT = 'deploy_a_system.sh'
DEFINITIONS_DIR='definitions'
REF = "cu010-trove/br6/firehose-test-1"
whitelist = [
+ SYSTEM,
'clusters/tlsa.morph',
- 'systems/base-system-x86_64-generic.morph',
'strata/build-essential.morph',
'strata/core.morph',
'strata/foundation.morph',
@@ -75,10 +76,8 @@ if __name__ == '__main__':
systems_list = []
for f in _files_changed:
if f in whitelist:
- # TODO fix this being hardcoded
- system = 'systems/base-system-x86_64-generic.morph'
- build_exit_val = build(system)
+ build_exit_val = build(SYSTEM)
if build_exit_val: _exit(build_exit_val)
log('about to trigger deploy ...')
- _exit(trigger_deploy(system))
+ _exit(trigger_deploy(SYSTEM))
log('nothing whitelisted changed. No build started.')