top | item 32717487

(no title)

zhala | 3 years ago

> "Anything under 10 minutes is good" for running the CI pipeline (not true anywhere I've been at Google) or "The steps should be 'do a git clone...'" (also not true at Google).

Are these both true/common in the industry? At least where I work CI takes at most a couple minutes (depending on what all you're doing in your docker file) and likewise you can just pull and run CI locally on your machine for nearly any repo.

discuss

order

SpicyLemonZest|3 years ago

Times above 10 minutes are very common and really unavoidable for some kinds of systems. You can mitigate the impact on the practical develop loop with effort (caching parts of the build, splitting off slower tests), but if you're building something like a database 10 minutes just isn't enough time to validate your change hasn't broken anything.

shultays|3 years ago

It can take up to an hour at where are work. Each commit requires a bumch of compliation for different targets and some unit tests

AND after the commit and all that there are many more tests at farms that can take a lot more depending size of queue

thfuran|3 years ago

Our test suite takes about 30 minutes, but that's running across like 20 nodes. It's not practical to run locally, though individual test cases can be.