Hacker News new | ask | show | jobs
by jdkoeck 1221 days ago
CI is a prerequisite for CD.
2 comments

I've done smaller projects before where "CI" only consists of merging to trunk/main/master, while testing, linting, etc. is covered by code review and the honor system. I wouldn't advocate this for something business critical that a lot of developers collaborate on, but you can do CD with only trivial CI.
It’s literally not.
I'm tempted to just downvote you and move on with my life but I'm genuinely curious.

Given that it's meaningless to Deploy something without Integrating the changes, what do you _actually_ mean by "You don’t need [CI]. Stick with CD only."

Are you just talking about testing the changes? Help us out here.

What if people push unmerged feature branches, and then the automation just deploys the most recent one?

I'm not advocating this, just to be clear.

I guess you could just have an unchanging project redeploy itself every hour or so.
It might be required in that it's impossible to deliver continuously if changes are not integrated continuously, for some definition of "integrated".