From 1b503a3ddfb1573c941c19d095f94860eb2b7e0c Mon Sep 17 00:00:00 2001 From: Souhaila Noor Date: Mon, 8 Nov 2021 14:32:00 -0600 Subject: [PATCH] made the sleep time longer --- .gitlab/.gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index b19fe0757..d28d3c5ce 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -214,7 +214,6 @@ deploy node for linux amd64: - scp -o StrictHostKeyChecking=no -i gitlab-featurebase-dev.pem featurebase_linux_amd64 ec2-user@$PUBLIC_IP:. - scp -o StrictHostKeyChecking=no -i gitlab-featurebase-dev.pem .gitlab/featurebase.conf .gitlab/featurebase.service ec2-user@$PUBLIC_IP:. - aws ec2 associate-iam-instance-profile --instance-id $INSTANCE_ID --iam-instance-profile Name=featurebase-dev-ssm - - sleep 120 needs: job: build for linux amd64 artifacts: @@ -234,7 +233,7 @@ run featurebase in linux amd64 node: - aws configure set aws_profile $PROFILE - INSTANCE_ID=$(cat linux-amd64-instance.txt) script: - - sleep 60 + - sleep 240 # needed to allow enough time for the ssm to take into effect before the next command can get called - aws ssm send-command --document-name "AWS-RunShellScript" --instance-ids $INSTANCE_ID --cli-input-json file://.gitlab/configureFeatureBase.json --profile $PROFILE --region us-east-2 - sleep 120 needs: