3 ms·
What strategies can a team implement for CD if deploys and merges to master take about an hour to deploy today? Our problem is that we need to manually cut a r
by sergiotapia 6y ago
What strategies can a team implement for CD if deploys and merges to master take about an hour to deploy today?
Our problem is that we need to manually cut a release branch with the right version number manually then go through logistical steps before we can merge.
Docker alone takes about 30 minutes to build.
- choeger 6y agoI suggest a pull-based approach, instead of gitlab/github's push based thing. Have a regular job pick the latest master branch, tag it correctly (watch out to order your releases), build, package, ship, deploy. I would keep it synchronous. Doesn't make sense to build the latest commit when deployment takes hours. Just wait for the last deployment to finish before starting again. Also a pull based approach allows you to integrate multiple repos. I have never seen anyone from the CD camp talk about how a company should manage CD with n interdependent git repositories with the usual push based approach.