diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-15 13:29:50 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-15 13:29:50 +0100 |
commit | ad939b55811563b6b731c916971733dfb8118fe3 (patch) | |
tree | d1fd07e63585281aa93d1ae2ecb98e01a7ad1df5 | |
parent | 0fb233b7d284b746f009a95281bb18dedcb31806 (diff) | |
download | buildslave-scripts-ad939b55811563b6b731c916971733dfb8118fe3.tar.gz |
Make deployments go to unique files
-rw-r--r-- | tlsa.morph | 13 | ||||
-rw-r--r-- | triggers/deploy_trigger.sh | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tlsa.morph b/tlsa.morph new file mode 100644 index 0000000..bc77e91 --- /dev/null +++ b/tlsa.morph @@ -0,0 +1,13 @@ +name: tlsa +kind: cluster +description: | + tlsa's test for CIAT, with test on OpenStack +systems: +- morph: systems/genivi-demo-platform-x86_64-generic.morph + deploy: + tlsa-ciat-test-x86_64: + type: extensions/rawdisk + location: /archive/tlsa-ciat-test-x86_64_BUILDNUMBER.raw + DISK_SIZE: 6G + ROOT_DEVICE: /dev/vda + INSTALL_FILES: install-files/ciat/manifest diff --git a/triggers/deploy_trigger.sh b/triggers/deploy_trigger.sh index 97f5a53..fc4b1bb 100644 --- a/triggers/deploy_trigger.sh +++ b/triggers/deploy_trigger.sh @@ -1,3 +1,4 @@ set -ex echo "[$(date "+%F %R")] Deploy triggered with system $1." >> ../../../../trigger_log +sed "s/BUILDNUMBER/$2/" tlsa.morph > definitions/clusters/tlsa.morph python deploy_logic.py $1 |