comparison prod/update-inventory-app.sh @ 371:b371970462c3 production v2.10.0

DEP-21 update update-inventory-app.sh to pull inventory-importapp image
author Matt Calmes <calmes@ssdt-ohio.org>
date Sun, 29 Aug 2021 19:09:33 -0400
parents cf7166c5c52f
children be08b5a62a77
comparison
equal deleted inserted replaced
368:d107f28b75eb 371:b371970462c3
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 #