Continuous integration method based on Docker

A continuous integration and continuous deployment technology, applied in software deployment, program control devices, etc., can solve problems such as business interruption, low efficiency, and imperfect fault early warning mechanism, and achieve the effect of rapid processing, efficient automatic operation and maintenance technology tools

Inactive Publication Date: 2016-07-13
INSPUR QILU SOFTWARE IND
View PDF2 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] (1) Operation and maintenance personnel are passive and inefficient
[0004] In the process of IT operation and maintenance, only when an event has occurred and has caused business impact can it be discovered and dealt with. This passive "fire fighting" not only keeps IT operation and maintenance personnel busy all day long, but also makes it difficult to improve the quality of IT operation and maintenance itself. Lead to low IT operation and maintenance service satisfaction
Most of the daily time and energy of IT operation and maintenance personnel is to deal with some simple and repetitive problems, and because the fault warning mechanism is not perfect, it is often dealt with after the fault occurs or after the alarm, so that the work of IT operation and maintenance personnel is often in the The state of passive "fire fighting" not only gets twice the result wi...

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] A kind of continuous integration method based on Docker, described method is based on docker technology, by the continuous integration / continuous deployment (CI / CD) system tool that runs on Heroku, the code of new development is deployed to server, and the steps are as follows:

[0045] 1) Create a local component;

[0046] 2) Push the code to the feature / development branch of the git warehouse;

[0047] 3) When a commit is detected by the continuous integration engine Shippable, the latest code is obtained through the pull operation and related tests are run;

[0048] 4) If all the tests pass and are waiting to be deployed to the production environment, a request to merge branches will be created and the merge will be executed;

[0049] 5) When the continuous integration engine Shippable detects that there is a new submission to the host (master) branch, it will execute the test at the same time and push the source code to Heroku's git repository;

[0050] 6) Heroku ...

Embodiment 2

[0053] On the basis of Embodiment 1, the local component described in this embodiment is created by using Tutum.

[0054] Tutum, an orchestration service, is a form of service that helps manage container deployment workflows. Tutum also integrates CI / CD components and supports git push (push).

[0055] Tutum has several key components needed for CI / CD:

[0056] A private registry for container images;

[0057] Redeploy containers when new images are pushed to the registry;

[0058] Easy container expansion (on the interface view, you can adjust the container size by sliding N or M);

[0059] Add nodes on Tutum's interface.

Embodiment 3

[0061] On the basis of Embodiment 2, the Tutum deployment process described in this embodiment is as follows:

[0062] 1) Deploy the Tutum agent:

[0063] Install Tutumagents first, and start all the services that need to be used; so that you can see the button Bringyourownnode on the dashboard of Tutum;

[0064] Usually running the above command on a certain node is automatically added to the Tutum account, and the process will be automatically added to other nodes at the same time (every time you click the Bringyourownnode button);

[0065] You can mark a node by clicking on the node name, and the added mark will be displayed in the left sidebar;

[0066] 2) Deploy a GitlabCI runtime engine:

[0067] Deploy a GitlabCI running engine through Tutum, which can run Docker in this container and build a Docker image; before building the GiLabCI running engine, ensure that there is already a GitLab instance warehouse, and the GitLabCI engine can be run at the same time;

[0068]...

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 discloses a continuous integration method based on Docker.The method is based on the docker technology, and a newly developed code is deployed to a server through a continuous integration/continuous deployment system tool running on Heroku.According to the method, the problems that operation and maintenance personnel are passive, and efficiency is low are solved, the efficient automatic operation and maintenance technical tool is provided, a primary cause can be found fast and accurately after a problem appears in the operation and maintenance process, and active and fast processing is achieved.

Description

technical field [0001] The invention relates to the technical field of automated operation and maintenance, in particular to a Docker-based continuous integration method. Background technique [0002] Faced with increasingly complex businesses and increasingly diverse user needs, the scale and quantity of ever-expanding IT applications are not on the same order of magnitude as before. Manual operation and maintenance alone can no longer meet the needs of technology, business, Management and other requirements. The current IT operation and maintenance management mode often makes the IT department exhausted, mainly in the following two aspects: [0003] (1) Operation and maintenance personnel are passive and inefficient [0004] In the process of IT operation and maintenance, only when an event has occurred and has caused business impact can it be discovered and dealt with. This passive "fire fighting" not only keeps IT operation and maintenance personnel busy all day long, b...

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): G06F9/44
CPCG06F8/60
Inventor 邱继钊刘鹏王传超
Owner INSPUR QILU SOFTWARE IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products