Re:If a Build Takes 4 Hours, Run It Every 4 Hours
by bryanrasmussen on Sunday April 19, 2020 @05:58AM
(#22914702)
If a build takes 4 hours it argues that a build on that system is a pretty expensive operation, unless changes are very infrequent, which in most systems is not the case, a build run on every change would seem to be highly problematic.
[ Parent
| on HN ]
Re:If a Build Takes 4 Hours, Run It Every 4 Hours
by tlarkworthy on Sunday April 19, 2020 @02:47PM
(#22917899)
Bingo it's expensive, which is why they set it to every 24 hours.
Also coz they don't want to add the queuing logic, so it takes 4 hours to run is an approximation. Also it messes with other systems so they prefer to run it overnight. This blog doesn't solve a real problem.
Re:If a Build Takes 4 Hours, Run It Every 4 Hours
by royosherove on Monday April 20, 2020 @09:24AM
(#22923606)
Author here. It's literally the first line in the blog post. And it links to this blog post about static environments: https://pipelinedriven.org/article/the-four-biggest-issues-w...
Re:If a Build Takes 4 Hours, Run It Every 4 Hours
by tlarkworthy on Tuesday April 21, 2020 @01:53PM
(#22937419)
That doesn't answer anything. Either you: minimize latency (run every change independent of build time) or run to minimize engineering (24 hours). I dunno why you couple build time to a static period, it does not make sense to me.
Re:If a Build Takes 4 Hours, Run It Every 4 Hours
by lonelappde on Sunday April 19, 2020 @06:40PM
(#22919394)
Builds are cheap compared to running in production. Stop being a cheapskate.
Re:If a Build Takes 4 Hours, Run It Every 4 Hours
by bryanrasmussen on Monday April 20, 2020 @07:08AM
(#22922825)
I don't understand your running in production comment in this context, nor actually your stop being a cheapskate aimed at me.