Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Try using compose status instead
Browse files Browse the repository at this point in the history
  • Loading branch information
major committed Sep 14, 2023
1 parent 7f63e55 commit 6a20103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ podman-exec() {
}

composer-cli() {
podman-exec "composer-cli ${@}"
podman-exec composer-cli ${@}
}

# Start the container.
Expand Down Expand Up @@ -56,7 +56,7 @@ sleep 10

COUNTER=0
while true; do
composer-cli "--json compose info \"${COMPOSE_ID}\" | tee /output/compose_info.json >/dev/null"
composer-cli --json compose status | tee /output/compose_info.json

COMPOSE_STATUS=$(jq -r ".[].body.queue_status" output/compose_info.json)

Expand Down

0 comments on commit 6a20103

Please sign in to comment.