Automatic CI/CD project deployment method and storage medium
A project and mirroring technology, applied in the field of server-side project automation deployment, can solve problems such as labor difficulties, money consumption, time-consuming, etc., and achieve the effect of simple deployment, improved stickiness, and flexible expansion and contraction.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Please refer to figure 1 with figure 2 , this embodiment provides an automated CI / CD project deployment method, which can realize automatic deployment, capacity expansion and contraction, resource scheduling and monitoring, etc. without manual intervention, making project deployment simpler and more efficient; at the same time, it can reduce employment costs, Increase the number of update iterations of the project.
[0066] The automatic deployment process of this embodiment includes:
[0067] S1: The user uploads the project code to the Gitlab warehouse management system;
[0068] Specifically, after the user uploads the developed project code to Gitlab, automatic deployment is triggered.
[0069] Here, this embodiment provides two automatic triggering methods, both of which are set during the early stage of setting up the operating environment (the following embodiment 2):
[0070] 1. Upload the automatic trigger code to the Gitlab warehouse management system, an...
Embodiment 2
[0089] This embodiment further expands on the basis of the first embodiment, adding the process of setting up the operating environment in the early stage of operation.
[0090] Build the operating environment:
[0091] 1. Configure at least 5 servers, and each server needs to be installed with the kubernetes container orchestration engine; among them, at least 3 are online servers as master nodes, and at least 2 are local servers as node nodes; each server is online The server can establish a connection with each local server at any time when needed. The purpose of configuring 3 master node online servers is to prevent one of the master nodes from hanging up, and the other two master nodes can ensure stable operation; and at least two node nodes are mainly used as the running server of the project container to realize the distributed system or Cluster deployment.
[0092] 2. Install the Harbor mirror warehouse on each online server;
[0093] A warehouse mainly used to inst...
Embodiment 3
[0117] This embodiment corresponds to Embodiment 1 to Embodiment 3, and provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it can implement the above-mentioned embodiment 1 or embodiment 2. For the steps included in the automated CI / CD project deployment method, see the description of Embodiment 1 or Embodiment 2 for details of the specific steps, and will not be repeated here.
[0118] Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
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