from Hacker News

Ask HN: How long does it take you to deploy?

by jgautsch on 6/23/15, 5:32 PM with 3 comments

And how often do you deploy? Would love to hear about different stacks, stages of product/company, how often you push to prod, and especially how long it takes from start to finish

I'll start- right now our large but fairly vanilla Rails app takes about 15 minutes: 5 minutes for tests on CI to pass, then 10 minutes for deploy (mostly because of asset compilation time).

  • by MalcolmDiggs on 6/24/15, 6:54 PM

    About 10 minutes.

    My flow typically looks like: Github > CodeShip > Live Servers > Update sent back to Github

    The vast majority of the time-lag is for the tests to run on CodeShip. Hot deploying the changes (since they're often only small/incremental changes) only takes a few seconds.

    And this is usually a MEAN/MEAN-like stack running on CENTOS.

  • by smartician on 6/25/15, 4:53 AM

    Major deals website. We deploy once a week. Merging changes to the release branch takes 1-2 hours (depending on how many conflicts there are), the build itself takes 10-20 minutes. Black-box testing takes about a day (2-5 QA working on it). The deployment itself takes 10-60 minutes (copying files to all load-balanced instances, running data schema and function/stored proc updates, running data update scripts manually).
  • by Spoom on 6/23/15, 6:55 PM

    Multiple times per day via a web interface that runs Chef (atomic) deployment recipes. The deployment itself takes about ten seconds. We're a mostly PHP web development shop.

    We also have mobile apps that have a different but still largely automated build process.