summaryrefslogtreecommitdiffstats
path: root/fuel/ci/deploy.sh
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2015-06-20 16:37:45 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-06-20 16:37:45 +0000
commit8d3f8f9eb6633352f4cc4dcc93f1cfb5c2e15940 (patch)
treeeb01f0934015056dda64c87e91e8dc5da79b97fe /fuel/ci/deploy.sh
parentdb16cb60a0a5d88df06e1b7ca72389dfe41909f0 (diff)
parent28aafb5b284bc572212ec013ef3cfc9a0f91ba2e (diff)
Merge "Updating ci deploy script + argument parsing improvements"
Diffstat (limited to 'fuel/ci/deploy.sh')
-rwxr-xr-xfuel/ci/deploy.sh17
1 files changed, 7 insertions, 10 deletions
diff --git a/fuel/ci/deploy.sh b/fuel/ci/deploy.sh
index df23249..5923f5c 100755
--- a/fuel/ci/deploy.sh
+++ b/fuel/ci/deploy.sh
@@ -1,12 +1,9 @@
-#!/bin/bash -x
-set -o xtrace
-set -o errexit
-set -o nounset
-set -o pipefail
+#!/bin/bash
+topdir=$(dirname $(readlink -f $BASH_SOURCE))
+deploydir=$(cd ${topdir}/../deploy; pwd)
-WORKSPACE=$(readlink -e ..)
-ISO_LOCATION="$(readlink -f $(find $WORKSPACE -iname 'fuel*iso' -type f))"
-INTERFACE="fuel"
+pushd ${deploydir} > /dev/null
+echo -e "python deploy.py $@\n"
+python deploy.py $@
+popd > /dev/null
-cd "${WORKSPACE}/deploy"
-./deploy_fuel.sh "$ISO_LOCATION" $INTERFACE 2>&1 | tee deploy_fuel.log