comparison prod/update-inventory-app.sh @ 402:be08b5a62a77

INV-334: Updated inventory scripts to handle new reset property.
author Jason Klinger <klinger@nwoca.org>
date Fri, 20 May 2022 19:49:19 +0100
parents 3dc92d4243ef
children c3f58eddce4f
comparison
equal deleted inserted replaced
400:bf71cdd3f892 402:be08b5a62a77
41 # 41 #
42 if [ ! -z "$letsencryptEmail" ]; then 42 if [ ! -z "$letsencryptEmail" ]; then
43 dockerRunCommand="$dockerRunCommand -e LETSENCRYPT_EMAIL=$letsencryptEmail" 43 dockerRunCommand="$dockerRunCommand -e LETSENCRYPT_EMAIL=$letsencryptEmail"
44 fi 44 fi
45 # 45 #
46 if [ ! -z "$applicationAdminReset" ]; then
47 dockerRunCommand="$dockerRunCommand -e APPLICATION_ADMIN_RESET=$applicationAdminReset"
48 fi
49 #
46 if [ ! -z "$hostPort" ]; then 50 if [ ! -z "$hostPort" ]; then
47 dockerRunCommand="$dockerRunCommand -p $hostPort" 51 dockerRunCommand="$dockerRunCommand -p $hostPort"
48 fi 52 fi
49 # 53 #
50 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion" 54 dockerRunCommand="$dockerRunCommand -d $artifactUrl/inventory-app:$appVersion"