summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-05-26 11:44:52 -0400
committerTim Rozet <trozet@redhat.com>2016-05-26 11:44:52 -0400
commit7eb710c246f88a43908d5bbebe33e693d82146d5 (patch)
treea58cf94784c2d0553adda0e14cf4f5fa7a65206c /ci/deploy.sh
parent6b5a9c96809acfbb516918db7ab3ba36eb7fda92 (diff)
Fixes deploy lib in spec and bug with return codes
Change-Id: If646ce606f96d0bcd6681ada193d60e6b59f93ff Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 677d4484..b5208272 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -106,7 +106,8 @@ parse_setting_value() {
##parses network settings yaml into globals
parse_network_settings() {
- if local output=$(python3.4 -B $CONFIG/lib/python/apex-python-utils.py parse_net_settings -n $NETSETS -i $net_isolation_enabled); then
+ local output
+ if output=$(python3.4 -B $CONFIG/lib/python/apex-python-utils.py parse_net_settings -n $NETSETS -i $net_isolation_enabled); then
echo -e "${blue}${output}${reset}"
eval "$output"
else
@@ -117,7 +118,8 @@ parse_network_settings() {
##parses deploy settings yaml into globals
parse_deploy_settings() {
- if local output=$(python3.4 -B $CONFIG/lib/python/apex-python-utils.py parse-deploy-settings -f $DEPLOY_SETTINGS_FILE); then
+ local output
+ if output=$(python3.4 -B $CONFIG/lib/python/apex-python-utils.py parse-deploy-settings -f $DEPLOY_SETTINGS_FILE); then
echo -e "${blue}${output}${reset}"
eval "$output"
else