当前位置:网站首页>Yunyuanyuan (VIII) | Devops in depth Devops
Yunyuanyuan (VIII) | Devops in depth Devops
2022-07-25 01:56:00 【InfoQ】
thorough Devops
One 、
DevOps What is it?


- DevOps As the development of ( Software Engineering )、 Technical operations and quality assurance (QA) The intersection of the three .
- Emphasize the communication and cooperation between software developers and operation and maintenance personnel , By automating processes to make software build 、 test 、 Release faster 、 Frequent and reliable .
- DevOps What we hope to achieve is in the process of software product deliveryIT Opening of tool chain, Make each team reduce time loss Consumption , Work together more efficiently . The experts summed up the following DevOps Capability map , A good closed loop can greatly Increase overall output .
Two 、
CICD What is it?
1、
Basic idea

- Comprehensive automated testing .This is continuous integration of practice & The foundation of continuous deployment , meanwhile , Choose the right one Automated testing tools are also extremely important ;
- Flexible infrastructure . Containers , virtual machineThe existence of allows developers and QA People don't have to go through a lot of trouble ;
- Version control tools .Such asGit,CVS,SVN etc. ;
- Tools for automated build and software release processes, Such asJenkins,flow.ci;
- feedback mechanism .Such as building / The failure of the test , Can quickly feedback to the relevant person in charge , To get a more stable version as soon as possible .
- Fast release .Be able to respond to business needs , And realize software value faster .
- code -> test -> go online -> deliverThe frequent iteration period is shortened , And get quick feedback ;
- High quality software release standards. Standardize the whole delivery process 、 repeatable 、 reliable ,
- Visualization of the progress of the whole delivery process ,Make it easier for team members to understand project maturity ;A more advanced way of teamwork .From demand analysis 、 The user experience of the product is interaction Design 、 Development 、 test 、 O & M and other roles cooperate closely , Compared to the traditional waterfall software team , Less waste .
2、 Best practices

- Inner loop ( Development to do ):
- Push the code to the code warehouse (svn,git)【 Code rollback 】
- Conduct CI The process ( Continuous integration ), Everything can be containerized . Pack it into a Docker Mirror image
- The image is pushed to the image warehouse
- test
- Continuous deployment process (CD), Get the previous image , Conduct CD. How to put it in various environments .uat、test、prod
- Outer loop
- Then to internal circulation

- Create a branch to do this ( Development function )
- Commit branch code changes
- Enter the continuous integration process
- The current branch code functionality is built and tested automatically
- Automated tools push this submission
- Automated integration testing
- You can see the effect
- Manually confirm whether the function is released to the production environment
- Code merge
- Enter the continuous deployment process

边栏推荐
- Contemporary fairy quotations
- Hongmeng harmonyos 3 official announcement: officially released on July 27; Apple slowed down the recruitment and expenditure of some teams in 2023; Russia fined Google 2.6 billion yuan | geek headlin
- Guide to the construction of network security testing laboratory - Chapter 1, section 1.5 key terms
- Today in history: the kotlin language was published for the first time; The father of the IMAP agreement was born; CT imaging achieves a new breakthrough
- xts performance auto fix script
- Application status of typical marine environmental observation data products and Its Enlightenment to China
- Gerrit statistics script
- [C + + primer notes] Chapter 6 functions
- Resolution of multi thread conflict lock
- Kubernetes creates a user with dashboard read-only permission (with exec permission)
猜你喜欢

Leetcode - number of palindromes

An article explains unsupervised learning in images in detail

Harbor installation

Data governance notes

Talk about resume optimization and interview skills of algorithm post!

Beijing Zhun electric clock, Beidou clock server, GPS network time server, NTP satellite timing system
![[leetcode] 3. Longest substring without repeated characters - go language problem solution](/img/63/57d3557d77d44b51b7d0f71669568f.png)
[leetcode] 3. Longest substring without repeated characters - go language problem solution

Nacos service discovery data model

Open source demo | release of open source example of arcall applet

JVM Foundation
随机推荐
ES6 modularization
How to use ES6 async and await (basic)
Simulation Implementation of [STL] string class
Completefuture parallel asynchronous return processing
Today in history: the kotlin language was published for the first time; The father of the IMAP agreement was born; CT imaging achieves a new breakthrough
Data integration | what are the tools for data integration at home and abroad?
【Power Shell】Invoke-Expression ,Invoke-Expression -Command $activateCommand; Error or power shell failed to activate the virtual environment
Hcip - BGP - border gateway protocol
[27. Expression evaluation (infix expression)]
Visual studio code installation package download slow & Installation & environment configuration & new one-stop explanation
Safety management and application of genomic scientific data
[C + + primer notes] Chapter 8 IO Library
Full analysis of new functions of report design tool FastReport online designer v2022.1
【Appium】Failed to create session. An unknown server-side error occurred while processing the command
Download files and web pages with WGet
"Nowadays, more than 99.9% of the code is garbage!"
Shell judges whether the file exists and whether the file size is 0
Kernel structure and design
Hongmeng harmonyos 3 official announcement: officially released on July 27; Apple slowed down the recruitment and expenditure of some teams in 2023; Russia fined Google 2.6 billion yuan | geek headlin
Peripherals: timer, watchdog and RTC