From 7fbaee67d02808edcacee0faa83d0cf25ee1cfca Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Tue, 10 Jul 2018 16:34:55 -0600 Subject: [PATCH] Limit deploy health checks to paunch managed ones If an operator has non-paunch managed containers (ceph/openshift), we may not want to fail the deployment if those are unhealthy. Change-Id: Ifd3e67a66b3224d0ed5f7ef12ba27b06f78c8556 --- common/deploy-steps-tasks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/deploy-steps-tasks.yaml b/common/deploy-steps-tasks.yaml index 84ed02341b..94065b0f5b 100644 --- a/common/deploy-steps-tasks.yaml +++ b/common/deploy-steps-tasks.yaml @@ -227,7 +227,7 @@ - name: "Check for unhealthy containers after step {{step}}" shell: | counter=0 - while [ $(docker ps -f health=starting -q | wc -l) -gt 0 ] && [ $count -lt 10 ]; do + while [ $(docker ps -f health=starting -f label="managed_by=paunch" -q | wc -l) -gt 0 ] && [ $count -lt 10 ]; do sleep 6 count=$[count+1] done