check here too

This commit is contained in:
Anton Belodedenko 2024-06-24 15:08:16 -07:00 committed by GitHub
parent 65cc3e6ecc
commit 51cee3df4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -619,6 +619,9 @@ jobs:
--compressed | jq -r '.[].services.sut.status')"
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
# .. check its exit code