jq -> $JQ
continuous-integration/drone/push Build is failing Details

This commit is contained in:
3wc 2021-08-11 01:44:32 +02:00
parent 207728e1be
commit 71820f7e0b
1 changed files with 1 additions and 1 deletions

2
abra
View File

@ -837,7 +837,7 @@ ensure_stack_deployed() {
for service in $(docker ps -f "name=$STACK_NAME" -q); do
debug "Polling $service for deployment status"
healthcheck=$(docker inspect --format "{{ json .State }}" "$service" | jq "try(.Health.Status // \"missing\")")
healthcheck=$(docker inspect --format "{{ json .State }}" "$service" | $JQ "try(.Health.Status // \"missing\")")
name=$(docker inspect --format '{{ index .Config.Labels "com.docker.swarm.service.name" }}' "$service")
if [[ ${MISSING[*]} =~ ${name} ]] || [[ ${HEALTHY[*]} =~ ${name} ]]; then