comparison prod/update-inventory-app.sh @ 369:3dc92d4243ef

DEP-21 Update update-inventory-app.sh script to also update inventory-importapp image
author Matt Calmes <calmes@ssdt-ohio.org>
date Sun, 29 Aug 2021 18:42:21 -0400
parents cf7166c5c52f
children be08b5a62a77
comparison
equal deleted inserted replaced
366:6be741c083a3 369:3dc92d4243ef
9 echo "Attempting to login to $artifactUrl" 9 echo "Attempting to login to $artifactUrl"
10 docker login $artifactUrl -u $artifactUser -p $artifactPassword 10 docker login $artifactUrl -u $artifactUser -p $artifactPassword
11 # docker pull app image 11 # docker pull app image
12 echo "Attempting to pull $artifactUrl/inventory-app:$appVersion" 12 echo "Attempting to pull $artifactUrl/inventory-app:$appVersion"
13 docker pull $artifactUrl/inventory-app:$appVersion 13 docker pull $artifactUrl/inventory-app:$appVersion
14 #
15 echo "Attempting to pull $artifactUrl/inventory-importapp:$appVersion"
16 docker pull $artifactUrl/inventory-importapp:$appVersion
14 # 17 #
15 # docker stop inventory app container 18 # docker stop inventory app container
16 echo "Attempting to stop $entityId-inventory-app container" 19 echo "Attempting to stop $entityId-inventory-app container"
17 docker stop $entityId-inventory-app 20 docker stop $entityId-inventory-app
18 # 21 #