File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/plugins/meteor/assets Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ DEPLOY_CHECK_URL=$CONTAINER_IP<%= `:${deployCheckPort}` %>
10
10
11
11
cd $APP_PATH
12
12
13
- revert_app (){
13
+ revert_app () {
14
+ echo " => Container status:"
15
+ sudo docker inspect $APPNAME --format " restarted: {{.RestartCount}} times {{json .NetworkSettings}} {{json .State}}"
16
+ echo " => Logs:"
14
17
sudo docker logs --tail=100 $APPNAME 1>&2
15
18
16
19
if sudo docker image inspect $IMAGE :previous > /dev/null 2>&1 ; then
@@ -52,6 +55,7 @@ while [[ true ]]; do
52
55
CONTAINER_IP=$( docker inspect $APPNAME --format " {{.NetworkSettings.IPAddress}}" )
53
56
54
57
if [[ -z $CONTAINER_IP ]]; then
58
+ echo " Container has no IP Address, likely from it restarting."
55
59
noIPCount=$(( noIPCount+ 1 ))
56
60
57
61
if [ " $noIPCount " " ==" " $MAX_NO_IP_COUNT " ]; then
You can’t perform that action at this time.
0 commit comments