From ddbfcada2776a86f8efb6cabba85f6c3a6633d38 Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Wed, 14 Jan 2015 22:39:17 +1100 Subject: [PATCH] Add pause to wait for slow AWS --- android/scripts/run-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/scripts/run-build.sh b/android/scripts/run-build.sh index bcfa3bef3..dbf95fb7b 100755 --- a/android/scripts/run-build.sh +++ b/android/scripts/run-build.sh @@ -54,6 +54,8 @@ id=$(aws ec2 run-instances \ echo "Instance: $region $id" +sleep 10 + result=$(aws ec2 create-tags --region $region --resources $id --tags "Key=Name,Value=$instance_name") instance_status_terminated=$(aws ec2 describe-instances --region $region --instance-id $id | jq -r '.Reservations[0].Instances[0].State.Name')