Increase timeout for deployment

circle.yml

#1

Sometimes my deployments take more than the allotted 600 secs by default. I would like to increase this time. However, I see no documentation on how to do this, and this config does not work. What am I doing wrong?

  production:
    timeout: 1800
    branch: production
    commands:
      - pip install --upgrade awsebcli
      - echo -ne "2\n" | eb init slingshot -r us-west-1
      - eb deploy --timeout 30 -l $CIRCLE_BUILD_NUM slingshot-prod
      - bundle exec honeybadger deploy --environment=production

#3

I figured it out

      - eb deploy --timeout 30 -l $CIRCLE_BUILD_NUM slingshot-prod:
          timeout: 1800


#4

Hrm, for some reason, it doesn’t work for me :frowning:

staging:
branch: master
commands:
- aws s3 cp s3://xxxx-artifacts/prana/latest-snapshot.txt prana_latest.txt
- aws s3 cp s3://xxxx-artifacts/prana/$(cat prana_latest.txt).zip prana.zip
- unzip prana.zip && rm -f prana.zip
- rm -f venv
- mv * $CIRCLE_ARTIFACTS/
- git clone --single-branch --depth=1 git@github.xxxx/devops-cicd.git
- ./devops-cicd/circleci/deploy.sh --aws-region us-west-2 --aws-account-alias xxxx-dev --target-aws-account-alias xxxx-staging --force-deploy
timeout: 1800


#5