Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Gitlab-ci-based flexible and safe CI/CD service deployment system and method

A deployment system and security technology, applied in the field of operation and maintenance management, can solve problems such as no good solutions for private deployment solutions in various environments, chaotic management of configuration items, and exposure of key information, so as to reduce the packaging and deployment process, reduce omissions and Chaotic, highly flexible effects

Pending Publication Date: 2022-04-19
INSPUR SOFTWARE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For deployment solutions that do not apply to containers, there is no better solution for private deployment solutions in multiple environments
[0004] In addition, the management and storage of service packages deployed in various environments, etc., the configuration item management of service packages deployed will become confusing in the way of manual recording
As for the management of configuration items, if it is directly placed in the management file of gitlab-ci, it will not only lead to lengthy management files, but also cause a lot of key information to be exposed to all project-related personnel, bringing certain security risks

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
  • Gitlab-ci-based flexible and safe CI/CD service deployment system and method
  • Gitlab-ci-based flexible and safe CI/CD service deployment system and method
  • Gitlab-ci-based flexible and safe CI/CD service deployment system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] as attached figure 1 As shown, the flexible and secure CI / CD service deployment system based on gitlab-ci of the present invention includes,

[0061] Configuration management module, used for project management, configuration file structure management and configuration item encryption management;

[0062] The preprocessing module is used to trigger packaging, and parse the environment and machine to generate corresponding configuration files;

[0063] The gitlab-ci packaging module is used to trigger the CI / CD trigger, start the gitlab-ci pipeline, read the scheduling system parameters and the configuration files assembled by the scheduling system, and push the task to the gitlab runner (CI / CD execution machine) queue;

[0064] The service package integration module is used for service package storage and automatic deployment of service packages.

[0065] The configuration management module in this embodiment includes:

[0066] Project management sub-module for modifyi...

Embodiment 2

[0093] as attached figure 2 As shown, the flexible and secure CI / CD service deployment method based on gitlab-ci of the present invention is specifically as follows:

[0094] S1. Initialization phase: Set the system roles and configure the role permissions through the super administrator; among them, the default initialization roles of the scheduling system include super administrators, devops personnel, implementers, testers and developers; according to actual business and security requirements, Users can customize system roles and permissions as a super administrator. Among them, devops and implementation personnel are operation and maintenance personnel, and set corresponding permissions. The five roles and permissions initialized by the system by default can meet the needs of general scenarios.

[0095] S2. Configuration and environment definition stage: define configuration file templates and environment templates according to actual business needs, and the dispatching...

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 flexible and safe CI / CD service deployment system and method based on gitlab-ci, belongs to the field of operation and maintenance deployment, and aims to solve the technical problem of how to realize that a service deployment packet adapts to various deployment schemes and network environments, improve the security of configuration items and improve the efficiency of continuous integration and continuous deployment at the same time. According to the technical scheme, the system comprises a configuration management module used for project management, configuration file structure management and configuration item encryption management; the preprocessing module is used for triggering packaging and analyzing an environment and a machine to generate a corresponding configuration file; the gilab-ci packaging module is used for starting a gilab-ci assembly line after triggering the CI / CD, reading parameters of a scheduling system and a configuration file assembled by the scheduling system, and pushing a task to a gilab run queue; and the service package integration module is used for storing the service package and automatically deploying the service package.

Description

technical field [0001] The invention relates to the field of operation and maintenance management, in particular to a flexible and safe CI / CD service deployment system and method based on gitlab-ci. Background technique [0002] CI / CD refers to sustainable integration and continuous deployment. The current mainstream CI / CD tool is jenkins, but in view of the need to configure plug-ins for jenkins linkage with gitlab and the fact that gitlab is widely used for version management, gitlab-ci is matched with an automatic deployment solution gradually becoming a better alternative. [0003] At present, many service deployment methods of gitlab-ci are managed based on containers. For deployment solutions that do not apply to containers, there is no better solution for private deployment solutions in multiple environments. [0004] In addition, the management and storage of service packages deployed in various environments, etc., the management of configuration items of service p...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F21/60G06F8/60
CPCG06F9/44505G06F21/602G06F8/60
Inventor 孙腾飞邵帅
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products