Update test suite after rebase to weldr-client-35.9

in order to avoid failures in nightly pipelines b/c JSON format has
changed
This commit is contained in:
Alexander Todorov 2023-02-20 15:10:30 +02:00 committed by Tomáš Hozza
parent a761184725
commit e064c12449
3 changed files with 5 additions and 12 deletions

View file

@ -133,7 +133,7 @@ build_image() {
while true; do
sudo composer-cli --json compose info "${COMPOSE_ID}" | tee "$COMPOSE_INFO" > /dev/null
COMPOSE_STATUS=$(jq -r '.[0].body.queue_status' "$COMPOSE_INFO")
COMPOSE_STATUS=$(get_build_info ".queue_status" "$COMPOSE_INFO")
# Is the compose finished?
if [[ $COMPOSE_STATUS != RUNNING ]] && [[ $COMPOSE_STATUS != WAITING ]]; then