当前位置:网站首页>Continuous integration, continuous delivery and continuous deployment (ci/cd) details
Continuous integration, continuous delivery and continuous deployment (ci/cd) details
2022-06-09 22:43:00 【Nice2cu_ Code】
CI/CD Detailed introduction
List of articles
The general process of a complete system : The product design -> Developers develop code -> The tester tests the function -> Operation and maintenance personnel released online .
One 、 Integrate (Integration)
In actual software development , There are often the following two scenarios :
Now there is an e-commerce platform to be developed , Due to the large number of e-commerce platform modules , At this point, different developers are required to develop different modules , Finally, integrate all the developed code into one system , After integration, it needs to be deployed online .
as time goes on , Whether the system is bug Repair 、 Or new function development , In the future, the system needs to be updated and iterated continuously .
in general : Integration is that all developers combine their own modules to form a complete system .
Two 、 Continuous integration (Continuous Integration)
Continuous integration refers to the frequent integration of code into the backbone ( Repeat the above integration work ), Here's the picture :

After the developer submits the new code , Build immediately and automatically , Perform unit tests ( Can pass Jenkins complete ), Developers only need to submit code , You can get the result of this integration , Based on the results , It can be determined whether the new code and the original code can be correctly integrated .
Benefits of using continuous integration :
Find mistakes quickly , Every time I finish a little update , It's integrated into the backbone , You can quickly find mistakes , It's also easier to get a location error .
Save labor costs , adopt Jenkins Automated build .
Speed up software development .
Real time delivery .
The core of continuous integration :
Before the code is integrated into the trunk , Start with automated testing . As long as one test case fails , You can't integrate , Of course, continuous integration cannot completely eliminate Bug, It's about making them easy to find and correct .
3、 ... and 、 Continuous delivery (Continuous Delivery)
Continuous delivery is based on continuous integration , Automatically deploy code to a pre production environment (Staging), Here's the picture :

Staging The environment can be understood as a mirror image of the online environment ( Simulate the online environment to the greatest extent ), Testers 、PM In a pre production environment (Staging) Make the final round of verification on the final project to be deployed .
If the pre production environment is verified , need Manual Deploy online ( production ) Environmental Science .
Four 、 Continuous deployment (Continuous Deployment)
Continuous deployment is the next step in continuous delivery , It means that the code Automatically Deploy to production , Here's the picture :

The difference between continuous delivery and continuous deployment is whether the final deployment to the production environment is automatic .
Development only needs to submit code , Don't do anything else , If the code passes the test , It can be fully automatically deployed to the production environment .
边栏推荐
- M-Arch(雅特力M4)【AT-START-F425测评】No.04 CRC
- What is fitness?
- Do your filial duty to make an old people's fall prevention alarm system for your family
- The problem of finding three color flags in C language test 165
- [launch] modify the app theme according to the wallpaper. It really comes
- Leetcode(力扣)超高频题讲解(三)
- Clickhouse series: Clickhouse optimized block+lsm
- 定义requestAnimationFrame一秒执行一次
- Lua learning notes (4) -- building mobdebug remote development environment
- 【报表工具的第二次革命】基于SPL语言优化报表结构、提升报表运算性能
猜你喜欢

veracrypt 创建文件型加密卷

10个常见触发IO瓶颈的高频业务场景
![[BP prediction] BP neural network based on AdaBoost realizes data regression prediction with matlab code](/img/4d/d69ba951123e4f78c4b664ceea59f3.png)
[BP prediction] BP neural network based on AdaBoost realizes data regression prediction with matlab code
![[image encryption and decryption] image encryption and decryption based on chaotic sequence combined with dwt+svd (including correlation test) including Matlab source code](/img/92/6fa03b5379e4c419328d5ddebe57d4.png)
[image encryption and decryption] image encryption and decryption based on chaotic sequence combined with dwt+svd (including correlation test) including Matlab source code

Pi of C language test question 162

在 4GB 物理内存的机器上,申请 8G 内存会怎么样?

元宇宙并非法外之地,该如何保护个人权益?

C语言试题162之圆周率π

【图像加密解密】基于混沌序列结合DWT+SVD实现图像加密解密(含相关性检验)含Matlab源码

【图像去噪】基于高斯、均值、中值、双边滤波实现图像去噪含Matlab源码
随机推荐
[bearing fault decomposition] realize bearing fault signal decomposition based on ITD, including Matlab source code
从内核代码了解SQL如何解析
GUI 用户登录
Leetcode(力扣)超高频题讲解(三)
The little schemer Chinese version
Find My产品|新款TWS耳机支持Find My功能,苹果Find My在第三方厂家应用更广泛
M-Arch(番外10)GD32L233评测-SPI驱动DS1302
After the naked resignation in the post epidemic era, the interview with the software test engineer was rejected. Write down some insights and interview experiences
Systematic goal - Fitness collection
Leetcode(力扣)超高频题讲解(二)
M-arch (fanwai 14) gd32l233 evaluation - driving segment code LCD
Find my product | the new TWS headset supports the find my function, and apple find my is more widely used in third-party manufacturers
Learn how to parse SQL from kernel code
Mina中的区块证明
Im instant messaging development: mobile protocol UDP or TCP?
继承的所有特征
June training (day 09) - two point search
im即时通讯开发:离线消息、历史消息的实践
Expérience de l'optimisation des bases de données
请教个问题,flink-sql,想指定从一个时间点开始读取数据?可以这样搞么?