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.

Active Publication Date: 2019-05-28
福建省天奕网络科技有限公司
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The deployment method in this scenario will be relatively simple, but if a medium-to-large project is released, and the project is composed of many systems, each system exists independently and is deployed independently, and how to achieve

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
  • Automatic CI/CD project deployment method and storage medium
  • Automatic CI/CD project deployment method and storage medium
  • Automatic CI/CD project deployment method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

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 provides an automatic CI/CD project deployment method and a storage medium. The method comprises the steps that project codes are uploaded to a Gitlab warehouse management system; project codes are pulled from a Gitlab warehouse management system through a Jenkins continuous integration engine and then compiled and constructed, and corresponding projects are obtained; the Jenkins continuous integration engine publishes the project to a Harber mirror image warehouse in a mirror image mode; the kubernetes container orchestration engine pulls the mirror image items from the Harber mirror image warehouse to a preset number of local servers to operate to form containers respectively; A kubernetes container orchestration engine orchestrates the containers into each pod object. According to the invention, full-automatic project deployment can be realized, and deployment work is simple and efficient; the project stability and reliability can be ensured; furthermore, the functionsof automatic capacity expansion and reduction and resource scheduling are achieved, and load balancing is achieved.

Description

technical field [0001] The invention relates to the field of automatic deployment of server-side projects, in particular to an automatic CI / CD project deployment method and a storage medium. Background technique [0002] At present, most of the release projects are manually packaged and compiled to generate a file package, and then upload the file package to the online server for deployment, and then the project goes online. [0003] Manual deployment of online projects is suitable for scenarios with small project types. The deployment method in this scenario will be relatively simple, but if a medium-to-large project is released, and the project is composed of many systems, each system exists independently and is deployed independently, and how to achieve fast in the case of a large number of visits The cluster deployment or distribution will cause certain difficulties for manual labor, which is not only time-consuming but also costly, such as large-scale projects such as ...

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): G06F8/60G06F8/41
Inventor 刘德建郭联钰林琛
Owner 福建省天奕网络科技有限公司
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