Skip to content

Commit 7332d9e

Browse files
authored
Update wakeUpRunner.sh
1 parent 286f687 commit 7332d9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/ciChecksScripts/wakeUpRunner.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ region_opt="--region us-west-2"
88
runner1=$(aws ec2 describe-instances --profile $profile --filters Name=tag:Name,Values=[super1] Name=network-interface.vpc-id,Values=[$runner_vpc_id] --query "Reservations[*].Instances[*][InstanceId]" ${region_opt} --output text | xargs)
99
runner2=$(aws ec2 describe-instances --profile $profile --filters Name=tag:Name,Values=[super2] Name=network-interface.vpc-id,Values=[$runner_vpc_id] --query "Reservations[*].Instances[*][InstanceId]" ${region_opt} --output text | xargs)
1010

11-
11+
# start runner1
1212
while true; do
1313
runner_status=$(aws ec2 describe-instances --profile $profile --instance-ids $runner1 --query "Reservations[*].Instances[*].State.[Name]" ${region_opt} --output text)
1414
echo 'runner1 - '$runner_status
@@ -27,6 +27,7 @@ while true; do
2727
fi
2828
done
2929

30+
# start runner2
3031
while true; do
3132
runner_status=$(aws ec2 describe-instances --profile $profile --instance-ids $runner2 --query "Reservations[*].Instances[*].State.[Name]" ${region_opt} --output text)
3233
echo 'runner2 - '$runner_status

0 commit comments

Comments
 (0)