Device and method for automatically manufacturing, testing and publishing cloud platform virtual machine mirror image based on DevOps

A technology of virtual machine mirroring and automatic testing, applied in the field of cloud computing, can solve problems such as inability to standardize, cumbersome release, time-consuming and labor-intensive mirroring, etc., and achieve the effect of convenient review and traceability

Pending Publication Date: 2020-11-03
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical task of the present invention is to provide a whole process based on DevOps assembly line for unattended image production, image testing and uploading and publishing, aiming at a series of problems such as time-consuming, laborious, unstandardized, and cumbersome testing and release of traditional manual virtual machine images Automated device and method

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
  • Device and method for automatically manufacturing, testing and publishing cloud platform virtual machine mirror image based on DevOps

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] as attached figure 1 As shown, a kind of DevOps-based cloud platform virtual machine image automatic production, testing and release device of the present invention includes:

[0046] 1. Automatically create a mirrored packer template. The template is hosted on a code hosting tool platform, such as github, for update management. Each version of the operating system corresponds to a template. The template includes:

[0047] 1.1) System unattended installation files: RedHat and CentOS systems use the ks.cfg file required by kickstack, Debian and Ubuntu systems use the preseed.cfg file required by debian-installer, and Windows systems use the Autounattend.xml file. These files will automatically complete the settings of the system language, time zone and other issues, as well as the partitioning of the system hard disk, until the system enters the running state.

[0048] 1.2) Pre-installation script files: The template provides pre-installation scripts that need to be run...

Embodiment 2

[0060] Embodiment 2 provides a DevOps-based cloud platform virtual machine image automation production, testing and release method, based on the device described in Embodiment 1, the specific workflow is:

[0061] 4.1) The user obtains one of the basic image creation template projects through the code hosting platform. The template project includes the system unattended installation file, pre-installation script file and packer json configuration file;

[0062] 4.2) The user adds or deletes the pre-installation script file in 1.2) as needed, and simultaneously modifies the pre-installation script path part of the json configuration file in 1 (3);

[0063] 4.3) The user uploads the modified custom production project to his code hosting platform account;

[0064] 4.4) The user creates a construction project on the DevOps platform, and the construction project specifies the address and branch of the custom production project in 4.3), which is used for mirror production and testin...

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 device and method for automatically manufacturing, testing and publishing a cloud platform virtual machine mirror image based on a DevOps assembly line. The method comprisesthe steps: automatically creating a virtual machine from an ISO system mirror image by using a packer tool in a container environment of the DevOps assembly line by using an unattended system installation mode, and automatically configuring a system, so a self-defined pre-installation script can be provided for the virtual machine to execute, and the customization of the qcow2 mirror image of thevirtual machine is realized; after the mirror image is manufactured, starting the mirror image as a virtual machine through qemu, and connecting the virtual machine in the container by using a pythonscript to carry out security test and virus scanning; and finally, uploading and publishing the mirror image passing the test to a mirror image warehouse. The mirror image automatic manufacturing template is executed through DevOps, the unattended, non-graphical and non-manual mirror image manufacturing process is achieved, and customized scripts can be freely added or deleted according to different requirements.

Description

technical field [0001] The invention belongs to the technical field of cloud computing, and relates to a device and a method for automatically performing cloud platform virtual machine image creation, safety testing, and uploading and publishing based on a DevOps pipeline. Background technique [0002] With the rapid development and implementation of cloud computing technology, more and more users migrate services to cloud platforms and use cloud server virtual machines for deployment and maintenance. According to the service requirements of different users, cloud service providers need to customize and modify the virtual machine image of the cloud server, which makes the cloud platform need to maintain and store a large number of different public virtual machine images. The traditional method of making virtual machine images is to manually configure system settings and pre-install software using ISO images, which requires a lot of manpower and time. Whenever the image requ...

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): G06F9/455G06F11/36
CPCG06F9/45558G06F11/3688G06F2009/45562G06F2009/45591
Inventor 王铭锐于昊田雨蒋方文
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
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