diff options
Diffstat (limited to 'fuel/ci/deploy.sh')
-rwxr-xr-x | fuel/ci/deploy.sh | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/fuel/ci/deploy.sh b/fuel/ci/deploy.sh index d5b70d0d6..df232497b 100755 --- a/fuel/ci/deploy.sh +++ b/fuel/ci/deploy.sh @@ -1,8 +1,12 @@ -#!/bin/bash +#!/bin/bash -x +set -o xtrace set -o errexit -topdir=$(dirname $(readlink -f $BASH_SOURCE)) -deploydir=$(cd ${topdir}/../deploy; pwd) -pushd ${deploydir} > /dev/null -echo -e "python deploy.py $@\n" -python deploy.py $@ -popd > /dev/null
\ No newline at end of file +set -o nounset +set -o pipefail + +WORKSPACE=$(readlink -e ..) +ISO_LOCATION="$(readlink -f $(find $WORKSPACE -iname 'fuel*iso' -type f))" +INTERFACE="fuel" + +cd "${WORKSPACE}/deploy" +./deploy_fuel.sh "$ISO_LOCATION" $INTERFACE 2>&1 | tee deploy_fuel.log |