当前位置:网站首页>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-26 21:10: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
Super experience officer activities :http://bbs.aiops.cloudwise.com/d/712-flyfish
Ten thousand yuan cash activities :http://bbs.aiops.cloudwise.com/t/Activity
Wechat scanning identifies the QR code below , remarks 【 Flying fish 】 Join in AIOps Community flying fish developer exchange group , And FlyFish project PMC Face to face communication ~

边栏推荐
- Summary of 4 years of software testing experience and interviews with more than 20 companies after job hopping
- LeetCode_ Backtracking_ Medium_ 40. Combined sum II
- Build etcd distributed storage system +web management interface from scratch
- 使用 LSTM 进行多变量时间序列预测--问题汇总
- leetcode 链表类
- Increased uncertainty in BTC and eth due to the approaching interest rate hike? The US economy will face more pain
- 【虚拟机数据恢复】意外断电导致XenServer虚拟机不可用的数据恢复
- 没有网络怎么配置传奇SF登陆器自动读取列表
- After chatting with byte programmers with a monthly salary of 3W, I realized that I had been doing chores
- 腾讯为什么没能造创造出《原神》这样的游戏
猜你喜欢

serializable接口的作用是什么?

St table, weighted and search set
Monitor MySQL based on MySQL exporter

【Oracle实训】-部署号称零停机迁移的OGG

DevSecOps,让速度和安全兼顾

Increased uncertainty in BTC and eth due to the approaching interest rate hike? The US economy will face more pain

Leetcode linked list problem - 19. Delete the penultimate node of the linked list (learn the linked list with one question and one article)

Houdini notes 2

手机\固定电话座机呼叫转移设置方法

GOM login configuration free version generate graphic tutorial
随机推荐
Pointpillars: fast encoders for object detection from point clouds reading notes
[英雄星球七月集训LeetCode解题日报] 第26日 并查集
Establishment of APP automation testing framework (VIII) -- establishment of ATX server2 multi device cluster environment
Build etcd distributed storage system +web management interface from scratch
[ffmpeg] add timestamp summary to video files
创建一个自身类的静态对象变量,究竟会如何执行?
Why can ThreadLocal achieve thread isolation?
arm tz硬件支撑
Shell function, system function, basename [string / pathname] [suffix] can be understood as taking the file name in the path, dirname file absolute path, and user-defined function
服务器的防护会遇到什么样的安全问题呢?
Monitor MySQL based on MySQL exporter
有关无线通信的相关内容
Can the training software test be employed
Use Baidu PaddlePaddle easydl to complete garbage classification
【虚拟机数据恢复】意外断电导致XenServer虚拟机不可用的数据恢复
LeetCode链表问题——19.删除链表的倒数第N个节点(一题一文学会链表)
Leetcode linked list problem -- 24. Exchange the nodes in the linked list in pairs (learn the linked list with one question and one article)
After chatting with byte programmers with a monthly salary of 3W, I realized that I had been doing chores
New features of ES6
Apaas low code platform (I) | leave complexity to yourself and simplicity to users