当前位置:网站首页>How to implement Devops with automation tools | including low code and Devops application practice
How to implement Devops with automation tools | including low code and Devops application practice
2022-07-27 07:14:00 【Cloud smart aiops community】
author :Tiger Wang, Head of cloud intelligence research and development & Open source project FlyFish PMC.
This article will be from 5 Explain in detail how to use automatic tools to land DevOps. First of all, I will introduce the disadvantages of the traditional iteration method and why it is introduced DevOps; We'll talk about it next DevOps Advantages of iterative approach , And how to use automated tools DevOps; The next two chapters focus on how to control DevOps Key links in the landing process, low code technology and DevOps Some new explorations .
Disadvantages of traditional iteration
In the way of daily work iteration , The development team carries out the development design and the construction of the overall system , Therefore, the system needs to be updated iteratively ; The operation and maintenance team tests the development team code Deploy online , That is to ensure the stability of the system 、 Safe operation . thus , The two teams will cause the following disadvantages through traditional iteration :
Team independence : The work of the development and operation and maintenance team , It's independent of each other . We seldom communicate with each other before , I don't know each other's work ;
Prone to sudden problems : Manually deploy the code , Prone to human error , Seriously, it may cause damage to the production environment ;
Cycle extension : The development and operation and maintenance teams have their own rhythms , The two teams are out of sync , As a result, it is difficult to finish online on time .

Next , We will combine the actual scene , Show the problems and pain points encountered in the iteration process .
The operation and maintenance team needs to tidy the containers 、 Documentation of cluster and other related deployments , But because I don't know the architecture of services 、 Dependence , As a result, the arrangement of deployment documents becomes complicated ;
Because the operation and maintenance students are not clear about the internal logic of the application , As a result, the normal operation of the application cannot be judged independently ;
The operation and maintenance team knows nothing about the progress of the development team , The operation and maintenance team makes the monitoring plan according to their own understanding ;
The same product 、 The same environment , Manual deployment is required every time , Too much repetitive work ;
Simple installation and deployment , Service update , But it still needs personnel input . Excellent people are unwilling to do it , Ordinary people are not at ease . There is no room for growth .
DevOps Iterative approach and advantages
DevOps It is to promote the cooperation between the development and operation and maintenance teams , Deploy code to production environments faster in an automated and repeatable way , During the daily iteration , It has the following advantages :
Predictability :DevOps The unexpected failure rate of the new version is greatly reduced ;
Reproducibility : Versioning all content , So that the previous version can be restored at any time ;
Maintainability : When the new version crashes or has problems , Easy rollback ;
cost reduction :DevOps It improves the efficiency in the development process , Reduced R & D costs ;
Higher quality : Due to close cooperation with the operation and maintenance team , Product problems should be exposed as soon as possible ;
Reduce risk :DevOps The content of risk control is added in the link , Reduce project R & D risks .
Landing with automatic tools DevOps
Introduction to common automation tools
In daily work , The commonly used automatic chemical industry has JIRA、Gitee、sonarQube、Jenkins、Docker、JFrog, In addition, low code data visualization platform FlyFish It is also an indispensable part .
JIRA: It is mainly used for defect tracking 、 Customer service 、 Demand collection 、 Process approval 、 Task tracking 、 Work areas such as project tracking and agile management ;
Gitee: Used for warehouse and branch management , Code scanning 、 Vulnerability checking, etc ;
sonarQube: adopt PMD、CheckStyle、Findbugs Such as code rule checking tools to standardize code writing ;
Jenkins: Mainly used for continuous or automatic construction / Test software project , And monitor some regularly executed tasks ;
FlyFish: Open source low code visualization tool , A large visual screen can be formed by dragging , Used for process Kanban construction ;
Docker: Put the running environment and configuration into the code and deploy ;
JFrog: For managing build tools ( Such as :maven、gradle) And so on , In order to manage third-party libraries and publish target version libraries , So as to improve the efficiency of software development .
Automatic tools landing DevOps Workflow
Management through JIRA Establish development tasks , And assign developers to build the code , Use this to track tasks ; Developers push the code to Gitee Submit , Use after submission Gitee The corresponding webhook Push to Jenkins;Jenkins After receiving the notification, you can pull the branch code , And notify the corresponding sonarQube Conduct code scanning ; After scanning , Relevant personnel can see the code scanning quality results , At the same time, it can be partially built and mirrored ; After the code is built, it will be pushed to Docker Mirror image , At the same time, it can also be put into JFrog in , Developers can pull directly without repeated construction .
Automatic tools landing DevOps The overall workflow is through Jenkins Notify the server to pull the image , Build after pulling , When the build is complete, pass FlyFish Visualizing .

How to control key links
- adopt JIRA After the task is established , Through the built-in dashboard, you can view the code of the specified developer BUG Number , So as to accurately locate personnel problems , Make management improvements ; On the other hand , It can be shown in the instrument cluster under different stages BUG Quantity optimization of the overall development process ; Besides , The task development progress can be controlled through the task number Kanban interface .

- adopt Gitee You can view some operations after pulling the code Branch , Including whether the code is timely merge、 Whether the branch is submitted in time 、 Whether the scanned code has vulnerabilities or defects 、 Some situations of the pipeline after construction , This cycle ensures that the branch can run healthily .

- adopt Docker Disk that can monitor code runtime after deployment 、 Memory consumption , So as to ensure the normal operation of the code .

- adopt FlyFish The Kanban large screen created monitors the health of each workflow . Including operations 、 monitor 、 plan 、 Development 、 compile 、 test 、 Release 、 Deployment and so on .

Low code technology and DevOps Explore
future , Low code technology and DevOps There will be more possibilities . Including the way to probe the low code Jenkins Control key indicators ; Process arrangement , Including event triggering 、 Inform the staff . Abstract script 、 Abstract objects 、 abstract action, Arrange the tasks ; Data connection , Get through with low code DevOps Process application , Easily quantify the indicators in the process .
- And JIRA Combine to create task quality Kanban .

- And Gitee Combine to create code engineering Kanban .

FlyFish Open source benefits
Cloud intelligence has become an open source data visualization platform FlyFish . By configuring the data model, it provides users with hundreds of visual graphics components , Zero coding can achieve a cool visual large screen that meets your business needs . meanwhile , Flying fish also provides flexible expansion ability , Support component development 、 Customize the configuration of functions and global events , Facing complex demand scenarios can ensure efficient development and delivery .
Click the address link below , Welcome to FlyFish Like to send Star. Participate in component development , There are ten thousand yuan in cash waiting for you to get .
GitHub Address : https://github.com/CloudWise-OpenSource/FlyFish
Gitee Address :https://gitee.com/CloudWise/fly-fish
边栏推荐
- 最新!国资委发布国有企业数字化转型新举措
- 强网杯2021 pwn 赛题解析——babypwn
- Vscode connection remote server development
- Watermelon book chapter 3 - linear model learning notes
- Interpretation of deepsort source code (III)
- DNA科研实验应用|环糊精修饰核酸CD-RNA/DNA|环糊精核酸探针/量子点核酸探针
- 指令集 x 数澜科技丨加速政企数字化转型,打造DT领域独角兽企业联盟
- (转帖)eureka、consul、nacos的对比2
- DNA (deoxyribonucleic acid) supply | carbon nanotube nucleic acid loaded dna/rna material | dna/rna nucleic acid modified magnetic nanoparticles
- R2LIVE代码学习记录(3):对雷达特征提取
猜你喜欢

肽核酸PNA-多肽PNA-TPP|Glt-Ala-Ala-Pro-Leu-pNA|Suc-Ala-Pro-pNA|Suc-AAPL-pNA|Suc-AAPM-pNA

Shell编程的规范和变量

DNA (deoxyribonucleic acid) supply | carbon nanotube nucleic acid loaded dna/rna material | dna/rna nucleic acid modified magnetic nanoparticles

Derivative, partial derivative and gradient

Pytorch uses data_ Prefetcher improves data reading speed

Digital image processing -- Chapter 3 gray scale transformation and spatial filtering

MangoDB

Watermelon book chapter 3 - linear model learning notes

李沐动手学深度学习V2-transformer和代码实现

Matlab drawing (ultra detailed)
随机推荐
运行代码报错: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
(转帖)eureka、consul、nacos的对比2
Cyclegan parsing
算法--斐波那契数列(Kotlin)
强网杯2021 pwn 赛题解析——babypwn
线性表 -- 栈和队列
基于SSM学生成绩管理系统
The vscode run command reported an error: the mark "&" is not a valid statement separator in this version.
Campus news release management system based on SSM
Working principle analysis of deepsort
Visual horizontal topic bug1:filenotfounderror: could not find module 'mvcameracontrol dll‘ (or one of it
regular expression
火狐浏览器,访问腾讯云服务器的时候,出现建立安全连接失败的问题。
DNA coupled PbSe quantum dots | near infrared lead selenide PbSe quantum dots modified DNA | PbSe DNA QDs
Es compares the data difference between the two indexes
R2LIVE代码学习记录(3):对雷达特征提取
Netease Yunxin appeared at the giac global Internet architecture conference to decrypt the practice of the new generation of audio and video architecture in the meta universe scene
把Excel转换成CSV/CSV UTF-8
Reasoning speed of model
AI: play games in your spare time - earn it a small goal - [Alibaba security × ICDM 2022] large scale e-commerce map of risk commodity inspection competition