当前位置:网站首页>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 .边栏推荐
猜你喜欢
随机推荐
PAM Palindromic Automata
程序员如何优雅地解决线上问题?
解决 win10 下 ISE14.7的 iMPACT 崩溃问题 - FPGA 笔记
SQL Server(设计数据库--存储过程--触发器)
excel change cell size
小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT
excel vertical to horizontal
excel cell contian two words, seperated by a slash
excel split text into different rows
数据增强--学习笔记(图像类,cnn)
力扣第 304 场周赛复盘
编曲软件FL studio20.8中文版功能和作用
APP专项测试:流量测试
ping no reply
解决yolov5训练时出现:“AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train ”
Oracle 数据库设置为只读及读写
1. @Component注解的原理剖析
基于JAX的激活函数、softmax函数和交叉熵函数
研发团队数字化转型实践
选择合适的 DevOps 工具,从理解 DevOps 开始









