当前位置:网站首页>Devops tool chain: open and free to choose the tools most suitable for the needs of the team and business

Devops tool chain: open and free to choose the tools most suitable for the needs of the team and business

2022-07-19 15:20:00 Longzhi Devops solution

Hi! We are DevSecOps Solution providers 、Atlassian Global platinum partners —— Long Zhi . In the past decade , Great changes have taken place in the traditional software R & D model , From waterfall development to agile to DevOps, The once clear boundary between development and operation and maintenance is slowly becoming blurred .

DevOps Because it can promote development 、 Operation and maintenance 、 Communication between different departments such as testing 、 Collaboration and integration , It is quietly becoming the mainstream trend of software R & D and operation . Up to now ,DevOps Also combined with the new process , Such as continuous integration and continuous deployment to quickly deliver value .

If you are right about DevOps Little is known , Or want a deeper understanding DevOps Tool chain , Don't miss this chapter in this series . Long Zhi will start from DevOps The concept of 、DevOps Tool chain 、CI And tool comparison 、DevOps monitor 、DevSecOps Starting from five aspects , Let you start from the origin , Learn more about DevOps This methodology has been popular for decades .

 Insert picture description here

In the last article , We introduced DevOps The origin of 、 principle , And the key to successful implementation . As the hottest R & D and operation trend in the software industry nowadays , Enterprises have landed one after another DevOps To accelerate production and delivery , In order to have a place in the highly competitive market .

And successfully landed DevOps The key factor , Is to create a tool chain suitable for the team . Only really suitable tools can improve development 、IT Collaboration between operations and business teams .

in the light of DevOps Each life cycle selection tool

Generally speaking , choice DevOps Tool chain has the following two main methods : Integrated or open .

One piece DevOps The solution provides a complete solution that is not usually integrated with other third-party tools , But its relatively closed ecological environment also leads to the lack of third-party plug-ins to expand its functions .

open DevOps Solutions can use different tools , Customize the open tool chain according to the needs of the team . The open tool chain can be customized with best in class tools , Meet the unique needs of the enterprise . Using an open tool chain can improve time efficiency and shorten time to market .

But whether the enterprise uses an integrated or open tool chain ,DevOps Processes need to be solved with the right tools DevOps Key stages of the life cycle :

  • plan (Plan)
  • structure (Build)
  • Continuous integration and continuous delivery (CI/CD)
  • monitor (Monitor)
  • operating (Operate)
  • Continuous feedback (Continuous Feedback)

plan

Learn from the concept of agile development , We recommend that you choose something that allows the development and operation teams to break down their work into smaller 、 Tools for manageable modules , This will not only speed up deployment , And you can learn from users faster , Continuously optimize products through user feedback . therefore , You need to find something that can provide sprint plan 、 Tools for problem tracking and collaboration , such as Jira.

Atlassian Project management tools developed by the company Jira, in the light of DevOps Planning in , Sell what was originally sold separately Advanced Roadmaps The plug-in is integrated into the new version DC, Make it possible to make task plans across project management . adopt Jira, You can arrange work 、 Adjust dependencies 、 Set up the person in charge of the work .

In the planning stage , Another good practice is , Constantly collect user feedback , Organize it into actionable inputs , And prioritize these operations for the development team . You can find something that everyone can share and comment on anything ( idea 、 Strategy 、 The goal is 、 demand 、 Roadmap and documentation ) Tools for .

also , Don't forget the integration and feature flags . Whether or not the scope of the feature or project is determined , You should convert them into user scenarios in the planning step . Feature flags are in the code base if sentence , It enables teams to turn features on or off .

structure

Source code control and collaborative coding

Source code control of code is very important . Source control tools help store code in different chains , So you can see every change , And collaborate more easily by sharing these changes . Before deployment to production , You don't have to wait for the approval of the Change Approval Committee , But through pull request Conduct peer reviews to improve code quality and throughput .

What is? pull request?pull request Tell your team that you have pushed changes to the development branch into the repository . then , The team can review the proposed changes and discuss modifications , Then integrate them into the main code line .pull request Improve the quality of the software , This reduces bug / accident , Reduce operating costs and speed up development .

Source code control tools should be integrated with other tools , Connect different parts of code development and delivery . Because of this , You can know whether the code of this function is running in the production environment .

Atlassian Based on Git Code hosting and collaboration tools :Bitbucket, It allows you to build automatically through built-in continuous delivery .

Git Is a version control software widely used in construction , It is a distributed version control system , It has powerful branch management and consolidation functions and natural distributed features , Make it faster 、 More efficient .

be based on Git,Bitbucket The distributed management of can still view logs without connecting to the server , Submission code , Create a branch ; Support local branch, It can quickly and conveniently realize various branch management ; Support distributed , Thus, block management can be realized , And load diversion management .

adopt pull request,Bitbucket Code reviews will be approved more efficiently . Create a merge checklist with a specified approver , And discuss it directly in the source code through embedded comments .

Continuous integration and continuous delivery (CI/CD)

Continuous integration (CI)

Continuous integration is checking code into a shared repository many times a day , And the practice of each test . In this way , You can automatically find problems as soon as possible , Fix them when it's easiest to fix , And soon launch new functions .

adopt pull-request Code review requires branching , It's very popular now .DevOps North Star It is a kind of workflow , It can produce less 、 Faster branches , And maintain the rigor of testing without sacrificing the development speed .

Look for tools that can automatically apply tests to development branches , And when the branch is successfully built, it can be pushed to main The option to . besides , You can also get continuous feedback from the team's real-time chat alerts through simple integration .

Continuous delivery (CD)

Continuous delivery is a software engineering technique , Allow the software product production process to be completed in a short period of time , To ensure that the software can be stable 、 Keep it in a state that can be released at any time . Its goal is to make other parts of the software release process , Include build 、 Testing and publishing becomes faster and more frequent . This approach can reduce the cost and time of software development , Reduce the risk .

If you want to achieve CI/CD, You can use the Bitbucket Cloud assembly line , It can help you automate your code from testing to production . If you are using Bitbucket Server Version or Data Center edition , have access to Bamboo Assembly line .

Use Bamboo Data Center, Through seamless integration Jira and Bitbucket The server , You can release 、 perform 、 End to end visualization of quality and state . It also provides built-in Deployment Support 、 Auto merge and Git Branching, etc .Bamboo Support programming extensions and combinations .Bamboo Can be used for Windows、Mac OS X and Linux Such as platform .

test

Testing tools cover many requirements and functions , Including exploratory testing 、 Test management and orchestration . however , about DevOps In terms of tool chain , Automation is an essential function . In the long run , Automated testing can pay off by speeding up your development and testing cycles .

Automate testing early and often , It can improve software quality and reduce risks . Development teams can repeat automated tests covering multiple areas , Include UI test 、 Security scanning or load testing . They also generate reports and trend charts , Help identify risk areas .

In software development , Risk is inevitable , But you can't reduce the risks you can't expect . You can find support wallboards Tools for , And let everyone involved in the project comment on the specific build or deployment results . Additional bonus tools , Make it easier for operation and maintenance to participate in lightning test and exploratory test .

You can choose automated testing tools to help you test , for example SonarQube. As a code quality management platform , It can scan duplicate code in the project 、 coding standard 、 unit testing 、 Code coverage 、 Code complexity 、 potential Bug、 Notes, etc. , Help you submit cleaner code .

besides , Another tool for performing tests is Mend( primary Whitesource). It is an open source code vulnerability scanning tool , Be able to automatically find in your own environment 、 Fix open source vulnerabilities , Ensure the security of open source code .
When testing a large number of test cases , You need to Jira Help you manage . As a project management system ,Jira Not only with the above two software integration , Also available with third-party plug-ins Zephyr、Xray Equal integration , Manage test cases .

among ,Xray Take advantage of Jira Native issue Management and workflow engine , It can meet the basic test cases and test task management at the same time , Connect demand naturally 、 Defects, etc , Very easy to implement requirements - Use cases - Upstream and downstream traceability of defects , And provide real-time test progress 、 Report on demand coverage intensity, etc . Plus the Chinese version , It is well received by domestic users .

Deploy dashboard (Jira Cloud Only)

When the software is released , One of the most stressful parts is to make all changes to the upcoming version 、 Test and deployment information is centralized in one place . Before release , No one wants to have a long meeting to report status , This is where the release dashboard comes in .
You need a single dashboard tool that integrates with the code repository and deployment tools , One can let you see branches in the same place 、 structure 、 Pull things that request and deploy warnings .

Use Jira Cloud assisted deployment , You can create multiple dashboards from different projects , And add gadgets to track the tasks you are working on and issue.

Automated Deployment

There is no one for every application and IT Automatic deployment of the environment is a panacea . however , Use Ruby or bash Convert the operation's runbook to cmd- Executable script is a common starting method . Good engineering practice is essential . Use variables to decompose hostname —— Maintaining a unique script or code for each environment is not an interesting thing ( And half of the points are missing ). Create utility methods or scripts to avoid duplication of code . And peer review your script , To check their integrity .

You can use Bamboo Deploy projects to help arrange deployment . It manages multiple deployment environments , Common are : development environment (Dev), Test environment (Test), Simulation environment (Staging) And the production environment (Production), To adapt to testing at different life cycle stages , Delivery requirements .

operating

Application and server performance monitoring

There are two types of monitoring that should be automated : Server monitoring and application performance monitoring .

Manual “ Roof placement ” A box or test your API Good for spot check , But understand the application ( And the environment ) Trends and overall health , You need software that can monitor and record data around the clock . Continuous observability is successful DevOps Key capabilities of the team .

Find tools to integrate with your group chat client , In this way, the alarm will be sent directly to the team's room , Or event room .

event 、 Change and issue tracking

Turn on DevOps The key to collaboration between teams is to ensure that they are looking at the same work . What will happen after reporting the event ? Are they associated with and traceable to software problems ? When making changes , Are they linked to versions ?

Nothing can hinder the cooperation between developers and operation and maintenance personnel more than tracking events and software development projects in different systems . Look for events that will 、 change 、 Problems and software projects focus on tools on one platform , This way you can identify and fix problems faster .

For monitoring software operation , You can use Opsgenie. It is a modern event management platform , Can receive alerts from monitoring systems and custom applications , And classify all alarms according to their importance and timing , Inform the right person , Reduced response time , Avoid alarm fatigue .

Continuous feedback

Customers will tell you whether you have built the right thing , And you just need to listen . Continuous feedback includes the culture and process of regularly collecting feedback , And tools to gain insight from feedback . Continuous feedback practice includes collection and review NPS data 、 Loss survey 、 Error reporting 、 Support tickets , Even push . stay DevOps In culture , Everyone in the product team can access user comments , Because the people of the product will help guide everything from the release plan to the exploratory testing meeting .

Look for applications that integrate chat tools with your favorite survey platform , In order to obtain NPS Style feedback .Twitter and / or Facebook It can also be integrated with chat function to provide real-time feedback . To better understand the feedback from social media , It is worthwhile to invest in a social media management platform that can extract reports using historical data .
Analyzing and integrating feedback may slow down the development speed in the short term , But in the long run , This is more effective than releasing new features that no one wants .

For collecting customer feedback , You can use Jira Service Management. meanwhile ,JSM It can be done with Confluence Integrate , Use by Confluence Out of the box knowledge base for support , Simplify service request management , Enhance the customer experience .Atlassian Survey , Will be made by Confluence Provide supporting knowledge base and JSM Use a combination of , Can transfer up to 45% Customer report request for .

Want an integrated chat tool you like and Jira Plug in for ? You can use the self-developed by Longzhi Jira Enterprise wechat plug-in 、Jira Pin insert , Get feedback from mobile terminals quickly , Anytime, anywhere issue.

summary

No single tool can handle all situations , The tool you choose should be based on the technology you use 、 Where to host , And the talent and composition of the team .

Atlassian I believe that we have tools that are integrated with the tools that the development and operation teams like to use DevOps The importance of tool chain . This is also Atlassian Built DevOps Platform and 171 The reason why many leading third-party suppliers integrate , Enables you to make the best decisions in the tools you use .

Adhering to the open concept ,Atlassian Open DevOps And SonarQube、Mend( primary Whitesource)、Xray And other software are closely integrated , It allows you to choose familiar 、 Favorite tools .

Long Zhi as Atlassian Global platinum partners , To help release and expand Atlassian The power of tools , We have also independently developed many Atlassian plug-in unit , It is more suitable for local enterprises . Include Jira Time management plug-in (TimeWise for Jira)、Confluence Watermark plug-in (Watermark for Confuence)、Jira Workflow extension and parallel approval plug-in (WorkflowWise for Jira) etc. , Welcome to consult and try .

Want to know more Atlassian DevOps Solution 、 Tools and customer cases ? You are welcome to consult immediately Atlassian Global platinum partners — Long Zhi :

Telephone :400-775-5506

mailbox :[email protected]

原网站

版权声明
本文为[Longzhi Devops solution]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/200/202207172304345435.html