CI/CD

Continous Intergration

自动化 持续 集成(包括 BUILD,UT,发布等)

Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day.

Each check-in is then verified by an automated build, allowing teams to detect problems early.

Continous Deployment

自动化 持续 部署

Continous Deployment (CD) is to accomodate with CI, when new packages are ready, automatically deploy them to servers.

Motivation / Why

When many people are working on a project in parallel, there’s an “intergration problem”

简单来说,是为实现:“我” commit 完代码,很快就能部署上开发环境并测试。有没有问题,立刻知道。

具体地说,是为了解决多人协作时的代码合并问题,提高开发效率。

How to do it

Phase 1

Phase 2

Phase 3

Phase 4

Tools

CI / CD 平台

容器化

Fork me on GitHub