当前位置:网站首页>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.
jenkins
Travis 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 .
边栏推荐
- qt-faststart 安装使用
- Wechat Gymnasium Reservation Mini Program Graduation Design Finished Work Mini Program Graduation Design Finished Product (2) Mini Program Function
- 03. GO language variable definition, function
- 数据增强--学习笔记(图像类,cnn)
- Ten years after graduation, financial freedom: those things that are more important than hard work, no one will ever teach you
- 华为无线设备配置双链路冷备份(AP指定配置方式)
- 隔离和降级
- Interpretation of the paper (GSAT) "Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism"
- 1. @Component注解的原理剖析
- xctf attack and defense world web master advanced area web2
猜你喜欢
还在纠结报表工具的选型么?来看看这个
小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT
E - Integer Sequence Fair
Mini Program Graduation Works WeChat Food Recipe Mini Program Graduation Design Finished Product (8) Graduation Design Thesis Template
PDF转Word有那么难吗?做一个文件转换器,都解决了
解决yolov5训练时出现:“AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train ”
From 0 to 100: Notes on the Development of Enrollment Registration Mini Programs
D - Linear Probing- 并查集
Prufer序列
下载安装 vscode(含汉化、插件的推荐和安装)
随机推荐
perspectiveTransform warpPerspective getPerspectiveTransform findHomography
浅析多服务在分布式系统下多事务通信处理机制方案
Nacos配置中心之加载配置
华为无线设备配置双链路冷备份(AP指定配置方式)
NgRx Selector 的 Memoization 特性学习笔记
CF1705D Mark and Lightbulbs
关于ETL的两种架构(ETL架构和ELT架构)
【数据分析03】
leetcode刷题
计算两点之间的中点
毕业作业
(Translation) How the contrasting color of the button guides the user's actions
Prufer序列
【Verilog刷题篇】硬件工程师从0到入门1|基础语法入门
vscode hide menu bar
三、mysql 存储引擎-建库建表操作
研发团队数字化转型实践
复现gallerycms字符长度限制短域名绕过
IDEA入门看这一篇就够了
03. GO language variable definition, function