Docker compose-based continuous integration method and apparatus
A technology of continuous integration and folder integration, which is applied in the direction of program control device, software deployment, program loading/starting, etc. It can solve the problems of low integration efficiency and complicated process, and achieve the effect of improving integration efficiency and facilitating rapid construction and deployment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] figure 1 A schematic flow chart of a continuous integration method based on docker compose provided by Embodiment 1 of the present invention. This embodiment is applicable to any situation that requires continuous integration. The method can be executed by a continuous integration device based on docker compose, wherein the device Can be implemented by software and / or hardware. The method specifically includes the following steps:
[0022] Step 110, creating a docker compose.yml file for configuring mirroring in the integration folder.
[0023] Among them, the docker compose.yml file is the configuration file of docker compose. Each service can be defined in the dockercompose.yml file, and the mirrors that each service depends on and the dependencies between the containers generated after each mirror runs are specified. Through the docker compose.yml file, docker compose manages and configures each container to form a complete application service.
[0024] Preferably...
Embodiment 2
[0042] figure 2 It is a schematic flowchart of a continuous integration method based on docker compose provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of embodiment one, such as figure 2 As shown, in the solution of Embodiment 1, optionally, step 130, saving the update program of the executable program to be integrated to the integration folder can be specifically implemented in the following manner: Step 230, saving the update program of the The binary program obtained after the source code is compiled by Jenkins is saved to the integration folder.
[0043] Correspondingly, the method provided in this embodiment includes:
[0044] Step 210, creating a docker compose.yml file for configuring mirroring in the integration folder.
[0045] Step 220, save the executable program in the integration folder, and mount it in the docker compose.yml file as a disk mount.
[0046] Step 230, saving the binary program obtained after the sou...
Embodiment 3
[0050] image 3 It is a schematic flowchart of a continuous integration method based on docker compose provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of embodiment one, such as image 3 As shown, in the solution of Embodiment 1, optionally, step 130, saving the update program of the executable program to be integrated to the integration folder can be specifically implemented in the following manner: Step 330, the source code The source code of the update program run in the way of jenkins is obfuscated and saved to the integration folder.
[0051] Correspondingly, the method provided in this embodiment includes:
[0052] Step 310, creating a docker compose.yml file for mirror configuration in the integration folder.
[0053] Step 320, save the executable program in the integration folder, and mount it in the form of disk mounting in the docker compose.yml file.
[0054] Step 330, the source code of the update program running in ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com