Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Continuous integration method based on container virtualization

A continuous integration and virtualization technology, applied in the direction of instrumentation, software simulation/interpretation/simulation, error detection/correction, etc., can solve problems such as test environment differences, impact on development progress, integration failure, etc., to reduce manual workload and facilitate The effect of horizontal expansion and simple operation

Inactive Publication Date: 2016-06-08
HUNAN ANTVISION SOFTWARE
View PDF5 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] During the project development process, the existing code will be deployed frequently for testing and joint debugging. In the existing solution, due to the inconsistency of the machine environment, a large amount of manual customization will be required during the deployment process, which will affect the development progress. At the same time, Different test stages require different test environments, which also increases the deployment workload. The original virtual machine technology has cost and waste problems
Existing continuous integration solutions usually use actual physical machines or virtual machines, which are limited by the impact of the machine environment. During the deployment process, the deployment path and related dependent components need to be customized, and may be affected by other systems to cause integration fail

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Continuous integration method based on container virtualization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] like figure 1 As shown, the present invention is a method for continuous integration based on container virtualization, comprising the following steps,

[0022] Step S101: Submit the code;

[0023] Step S102: code update, updating the submitted code. Specifically, the following steps are also included,

[0024] Step S21: update notification, when the code submission is completed, git notifies jenkins;

[0025] Step S22: Update the code. After receiving the update reminder from git, jenkins updates the code, and automatically executes relevant deployment instructions according to the predefined script.

[0026] Step S103: compiling and packaging the project;

[0027] Step S104: container virtualization, and running the image through the virtualized container. Specifically, the following steps are also included,

[0028] Step S41: mirror image construction, build docker image;

[0029] Step S42: uploading the image, uploading the image to the image repository;

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of software development, in particular to a continuous integration method based on container virtualization. The continuous integration method comprises the following steps: S101: submitting a code; S102: code update: updating the submitted code; S103: compiling and packaging items; and S104: carrying out container virtualization, and operating a mirror image through a virtualized container. After the method is adopted, a container virtualization technology is selected, difference in a practical environment is shielded through docker, and an application operation environment is uniformly specified through a dockerfile. Compared with a virtual machine, the docker is low in cost and simple in operation and can adapt to frequent deployment in the test environment. In addition, on the basis of a container virtualization technology, the continuous integration method can carry out interference-free deployment in a single machine environment, can conveniently carry out lateral expansion, can automatically carry out continuous integration after the code is automatically submitted on the basis of a git trigger mechanism, and reduces an artificial workload.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a continuous integration method based on container virtualization. Background technique [0002] During the project development process, the existing code will be deployed frequently for testing and joint debugging. In the existing solution, due to the inconsistency of the machine environment, a large amount of manual customization will be required during the deployment process, which will affect the development progress. At the same time, Different test stages require different test environments, which also increases the workload of deployment. The original virtual machine technology has cost and waste problems. Existing continuous integration solutions usually use actual physical machines or virtual machines, which are limited by the impact of the machine environment. During the deployment process, the deployment path and related dependent components need to be cus...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36G06F9/455
CPCG06F11/3688G06F9/45516G06F11/3676
Inventor 覃璐
Owner HUNAN ANTVISION SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products