Question

BuildJobTimeout in Ruby on rails application in Digital Ocean App Platform

Posted October 8, 2020 186 views
DigitalOcean App Platform

BuildJobTimeout - Your build job failed because it timed out after 20 minutes

App Spec :

name: lms-studyowl-v2
region: nyc
services:
- build_command: RAILS_ENV=production rake assets:precompile
  environment_slug: ruby-on-rails
  envs:
  - key: AWS_ACCESS_KEY_ID
    scope: RUN_AND_BUILD_TIME
    value: AKIAQLNVBIMWHVAHFSO3
  - key: AWS_BUCKET
    scope: RUN_AND_BUILD_TIME
    value: lms-bb
  - key: AWS_REGION
    scope: RUN_AND_BUILD_TIME
    value: ap-south-1
  github:
    branch: master
    deploy_on_push: true
    repo: prashanth726/lms-studyowl-v2
  http_port: 8080
  instance_count: 1
  instance_size_slug: basic-xxs
  name: lms-studyowl-v2
  routes:
  - path: /
  run_command: bundle exec puma -C config/puma.rb

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hey @prashanth726 👋

We’ve extended the build timeout from 20 to 60 minutes. We may also introduce the ability to configure this in the future, but for now this should help your situation. We also have updates coming soon that will increase performance of builds in general, as well as Ruby/Rails builds specifically.

Thanks for using the App Platform — happy coding!

Submit an Answer