mirror of
https://github.com/balena-io/open-balena.git
synced 2025-04-27 14:29:41 +00:00
need to wait for compose too..
This commit is contained in:
parent
a2b62a6495
commit
65cc3e6ecc
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -602,6 +602,9 @@ jobs:
|
|||||||
|
|
||||||
echo "::warning::Still working..."
|
echo "::warning::Still working..."
|
||||||
sleep "$(( ( RANDOM % ${{ env.RETRY }} ) + ${{ env.RETRY }} ))s"
|
sleep "$(( ( RANDOM % ${{ env.RETRY }} ) + ${{ env.RETRY }} ))s"
|
||||||
|
|
||||||
|
aws ec2 wait instance-running --instance-ids ${{ steps.balena-sut.outputs.instance_id }}
|
||||||
|
aws ec2 wait instance-status-ok --instance-ids ${{ steps.balena-sut.outputs.instance_id }}
|
||||||
done
|
done
|
||||||
|
|
||||||
# .. once the service exits with status == exited, it is assumed to be finished
|
# .. once the service exits with status == exited, it is assumed to be finished
|
||||||
@ -892,6 +895,9 @@ jobs:
|
|||||||
echo '::info::waiting for composition...'
|
echo '::info::waiting for composition...'
|
||||||
with_backoff docker compose ls
|
with_backoff docker compose ls
|
||||||
sleep $(((RANDOM%5) + 5))s
|
sleep $(((RANDOM%5) + 5))s
|
||||||
|
|
||||||
|
aws ec2 wait instance-running --instance-ids ${{ steps.ubuntu-sut.outputs.instance_id }}
|
||||||
|
aws ec2 wait instance-status-ok --instance-ids ${{ steps.ubuntu-sut.outputs.instance_id }}
|
||||||
done
|
done
|
||||||
echo '::info::composition started'
|
echo '::info::composition started'
|
||||||
|
|
||||||
@ -901,6 +907,9 @@ jobs:
|
|||||||
echo "::info::waiting for ${service}..."
|
echo "::info::waiting for ${service}..."
|
||||||
with_backoff docker compose ps
|
with_backoff docker compose ps
|
||||||
sleep $(((RANDOM%5) + 5))s
|
sleep $(((RANDOM%5) + 5))s
|
||||||
|
|
||||||
|
aws ec2 wait instance-running --instance-ids ${{ steps.ubuntu-sut.outputs.instance_id }}
|
||||||
|
aws ec2 wait instance-status-ok --instance-ids ${{ steps.ubuntu-sut.outputs.instance_id }}
|
||||||
done
|
done
|
||||||
echo "::info::${service} started"
|
echo "::info::${service} started"
|
||||||
done
|
done
|
||||||
@ -914,6 +923,9 @@ jobs:
|
|||||||
with_backoff docker compose logs --follow --timestamps sut
|
with_backoff docker compose logs --follow --timestamps sut
|
||||||
echo '::info::still running...'
|
echo '::info::still running...'
|
||||||
sleep $(((RANDOM%1) + 1))s
|
sleep $(((RANDOM%1) + 1))s
|
||||||
|
|
||||||
|
aws ec2 wait instance-running --instance-ids ${{ steps.ubuntu-sut.outputs.instance_id }}
|
||||||
|
aws ec2 wait instance-status-ok --instance-ids ${{ steps.ubuntu-sut.outputs.instance_id }}
|
||||||
done
|
done
|
||||||
|
|
||||||
aws ssm wait command-executed --command-id "${cid}" --instance-id "${iid}"
|
aws ssm wait command-executed --command-id "${cid}" --instance-id "${iid}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user