Hacker News new | ask | show | jobs
by campo 4997 days ago
I'm just not clear on how branching gets in the way of continuous integration here. What I've started doing is any time I change anything I do it in a branch. Once I've got my changes working, tested, and I'm ready to deploy, I merge that branch back to master. The idea here being that I could deploy from master at any time and be completely functional. That way I can just constantly deploy any time I merge something back to master.

Perhaps I misunderstood something here though. Does anybody have any thoughts on this idea?

1 comments

In general, it doesn't. It just looks like they've established a process where CI takes place on the shared master.

Builds/testing can happen on any branch, any repo. I'd like to have some local testing take place (for syntax at a minimum) before anyone submits changes to a shared branch.