I am running a node.js app on AWS Elastic Beanstalk. My deployment script is pretty much just eb deploy.
When the deployment takes more than 10mins I get a timeout and the build fails. So I set the timeout in my circle.yml file to 20mins for that operation. But I still get the same timeout after 10mins.
This is my circle.yml:
machine:
node:
version: 4.2.4
dependencies:
pre:
- sudo apt-get update; sudo apt-get install curl pkg-config
- curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -
- sudo pip install awsebcli
general:
artifacts:
- "coverage"
deployment:
test:
branch: test
commands:
- /bin/bash build_scripts/deploy_to_eb.sh:
timeout: 1200
development:
branch: development
commands:
- /bin/bash build_scripts/deploy_to_eb.sh:
timeout: 1200
staging:
branch: staging
commands:
- /bin/bash build_scripts/deploy_to_eb.sh:
timeout: 1200
production:
branch: master
commands:
- /bin/bash build_scripts/deploy_to_eb.sh:
timeout: 1200