当前位置:网站首页>What is CICD excuse me
What is CICD excuse me
2022-08-01 23:07:00 【Ziwei front end】
CI, Continuous Integration, continuous integration.CD, Continuous Deployment, continuous deployment.
CICD is a general term, and there is no need to distinguish between the two.In the process from development, testing to launch, some automated processing is carried out with the help of CICD to ensure the quality of the project.
CICD is integrated with git, which can be understood as git hooks on the server side: when the code is pushed to the remote warehouse, use WebHooks toThe current code is automatically built, tested, and deployed in the build server (ie, the CI server, also known as the Runner).

It has several benefits:
- After the feature branch is submitted, automated testing, syntax checking, etc. are performed through CICD. If CICD is not passed, CodeReview cannot be performed, and it cannot be merged into the production environment branch for launch
- After the feature branch is submitted, use CICD to check the risks of npm libraries, check the risks of building image containers, etc.
- After the function branch is submitted, build an independent mirror of the current branch code through CICD and generate an independent branch environment address for testing. For example, a testable address is generated for each function branch, usually
this address.dev.shanyue.tech - After passing the test of the function branch, merge it into the main branch, automatically build the image and deploy it to the production environment (generally the production environment needs to be triggered manually and deployed automatically)

Due to the comprehensive involvement of CICD in recent years, the workflow of project development is the workflow of CICD. Please see a relatively complete CICD Workflow.
CICD-tools
CICD is integrated with CICD tools and code hosting services.CICD can sometimes be understood as a build server for CICD, and services that provide CICD, such as the following products, will provide build services integrated with github/gitlab.
jenkinsTravis CI
If your company does not have CICD infrastructure, then you can try github's free CICD service: github actions (opens new window).
Companies generally use gitlab CI as a CICD tool, at this time they need to build gitlab Runner as a build server.
A simple CICD configuration
Each CICD product has its own configuration method, but the general usage is similar.The following CI script refers to automatic deployment when there are code changes on the master.
deploy:stage: deployonly:- masterscript:- docker build -t harbor.shanyue.tech/fe/devtools-app- docker push harbor.shanyue.tech/fe/devtools-app- helm upgrade -install devtools-app-chart .边栏推荐
- RxJs SwitchMapTo 操作符之移花接木
- excel edit a cell without double clicking
- Wechat Gymnasium Appointment Mini Program Graduation Design Finished Work (4) Opening Report
- 牛客多校4 A.Task Computing 思维
- 1391D. 505 状压dp
- Graph Theory - Strongly Connected Component Condensation + Topological Sort
- PAM Palindromic Automata
- xctf攻防世界 Web高手进阶区 web2
- 杭电多校3 1012. Two Permutations dp*
- 移动端人脸风格化技术的应用
猜你喜欢
随机推荐
程序员如何优雅地解决线上问题?
excel edit a cell without double clicking
excel split text into different rows
Codeforces CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) A-D Solution
文件查询匹配神器 【glob.js】 实用教程
【数据分析03】
SQL Server(设计数据库--存储过程--触发器)
萍不回答
域名重定向工具 —— SwitchHosts 实用教程
How to use pywinauto and pyautogui to link the anime lady and sister please go home
Use Jenkins for continuous integration, this knowledge point must be mastered
数据分析04
毫秒级!千万人脸库快速比对,上亿商品图片检索,背后的极速检索用了什么神器?
小程序毕设作品之微信体育馆预约小程序毕业设计成品(3)后台功能
bat 之 特殊字符&转义
将vim与系统剪贴板的交互使用
excel change cell size
y84. Chapter 4 Prometheus Factory Monitoring System and Actual Combat -- Advanced Prometheus Alarm Mechanism (15)
基于JAX的激活函数、softmax函数和交叉熵函数
IDEA常用插件









