Dont send container image updates to post
This commit is contained in:
parent
7b67b8871b
commit
b49c21bee8
@ -112,7 +112,11 @@ fi
|
|||||||
# Send app through update function
|
# Send app through update function
|
||||||
[[ "$verbose" == "true" ]] && echo_array+=("Updating..")
|
[[ "$verbose" == "true" ]] && echo_array+=("Updating..")
|
||||||
if update_app ;then
|
if update_app ;then
|
||||||
echo_array+=("Updated\n$old_full_ver\n$new_full_ver")
|
if [[ $old_full_ver == "$new_full_ver" ]]; then
|
||||||
|
echo_array+=("Container Image Update")
|
||||||
|
else
|
||||||
|
echo_array+=("Updated\n$old_full_ver\n$new_full_ver")
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo_array+=("Failed to update\nManual intervention may be required")
|
echo_array+=("Failed to update\nManual intervention may be required")
|
||||||
echo_array
|
echo_array
|
||||||
@ -123,6 +127,10 @@ fi
|
|||||||
if grep -qs "^$app_name,true" external_services ; then
|
if grep -qs "^$app_name,true" external_services ; then
|
||||||
echo_array
|
echo_array
|
||||||
return
|
return
|
||||||
|
# If app is container image update, dont send for post processing
|
||||||
|
elif [[ $old_full_ver == "$new_full_ver" ]]; then
|
||||||
|
echo_array
|
||||||
|
return
|
||||||
else
|
else
|
||||||
post_process
|
post_process
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user