DEV Community

Jess Lee
Jess Lee Subscriber

Posted on

How long does your CI take?

Top comments (28)

Collapse
 
ben profile image
Ben Halpern

As someone who hasn't worked much in compiled language, tests and CI are my version of this

I usually come here when the CI is running πŸ™‚

Collapse
 
dmfay profile image
Dian Fay

Legacy work project: 9 minutes (includes build, test, reporting, and building Docker images)

Newer work project: 3 minutes (same)

Main open source project: 5 minutes (three not-always-in-parallel builds against three versions of Node, each individual build < 2 minutes)

Collapse
 
nektro profile image
Meghan (she/her)

about 30 seconds for a full deploy

Collapse
 
ben profile image
Ben Halpern

Collapse
 
nektro profile image
Meghan (she/her)

I use Netlify and my site isn't that huge :)

Collapse
 
johnpaulada profile image
John Paul Ada • Edited

The latest one I built runs at around 1 minute. The latest run was 1 minute and 1 second. πŸ˜ŠπŸŽ‰

All it does is:

  1. Install dependencies
  2. Build project
  3. Deploy

Nothing fancy. πŸ™ƒ

Collapse
 
diegotoral profile image
Diego Toral

How about tests?

Collapse
 
johnpaulada profile image
John Paul Ada

Part of the build.

Thread Thread
 
diegotoral profile image
Diego Toral

Awesome!

Collapse
 
johnpaulada profile image
John Paul Ada

Also, problems with the build are caught early because of a precommit script.

Collapse
 
rhymes profile image
rhymes • Edited

Around 9 minutes.

CI

Collapse
 
orkon profile image
Alex Rudenko

~10 minutes

Collapse
 
david_ojeda profile image
David Ojeda • Edited

We have a big Grails project and unit + integration tests take ~2:30 minutes.

A full blue-green deployment takes 20 minutes; 10 of those are just waiting to make sure the new environment is all good.

Collapse
 
arnaudmorisset profile image
Arnaud Morisset • Edited

On my current work project (which is an elixir umbrella app), it takes 4m 38s with 10 test workflows (from docker/kubernetes build to rabbitmq tests to business unit tests).

We use CircleCI, performances are really good. :-)

Collapse
 
lennartb profile image
Lennart • Edited

Our actual team project (~8 projects/assemblies) takes around 5 minutes including tests and deployment. Quality analysis runs once a day and takes about 15 minutes. Our full application suite takes longer, especially the tests but I'm not really involved with that, I think it's about 30 minutes. The former runs on TFS on-prem CI, the latter is a legacy MS-Build setup with mostly custom scripts.

Collapse
 
notriddle profile image
Michael "notriddle" Howell

About half an hour. The unit tests are pretty good, but we also have thick Selenium tests to go with them because we don't want the product to break.

It can get worse when Travis CI has a long backlog (like today), but I think that's true for everybody.