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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
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]...
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