CN114924754A - Application stack automatic deployment method based on cloud platform and related equipment - Google Patents

Application stack automatic deployment method based on cloud platform and related equipment Download PDF

Info

Publication number
CN114924754A
CN114924754A CN202210291739.7A CN202210291739A CN114924754A CN 114924754 A CN114924754 A CN 114924754A CN 202210291739 A CN202210291739 A CN 202210291739A CN 114924754 A CN114924754 A CN 114924754A
Authority
CN
China
Prior art keywords
application
version
cloud platform
deployment
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210291739.7A
Other languages
Chinese (zh)
Inventor
田俊阳
秦浩
高杨云
袁博宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Life Insurance Co ltd
Original Assignee
China Life Insurance Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Life Insurance Co ltd filed Critical China Life Insurance Co ltd
Priority to CN202210291739.7A priority Critical patent/CN114924754A/en
Publication of CN114924754A publication Critical patent/CN114924754A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an application stack automatic deployment method and related equipment based on a cloud platform, wherein the cloud platform comprises a plurality of application stacks, and the method comprises the following steps: acquiring version upgrading information of the plurality of application stacks and containerized version upgrading mirror images; acquiring Token of the cloud platform, and opening access authority to the cloud platform; manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading information; and deploying the version upgrading images and the version upgrading information to the plurality of application stacks in batches by utilizing the application stores. The method provided by the application can directly correlate and unify all application stack deployment processes in the cloud platform, reduces the complexity of deployment operation, and solves the problem of large operation difference of different deployment modes; the method provided by the application can also realize automatic batch upgrading deployment of all application stacks, so that the deployment operation is more convenient and faster, and the deployment process is safer and more efficient.

Description

Application stack automatic deployment method based on cloud platform and related equipment
Technical Field
The application relates to the technical field of cloud computing, in particular to an application stack automatic deployment method based on a cloud platform and related equipment.
Background
In the present day that the development of micro-service technology is at a fierce pace, containerization is a main technology selected by many large and medium-sized systems, the containerization technology can perform service deployment faster and better, but an actual deployment scene is often very complex, and the containerization technology relates to multiple applications, multiple stacks, multiple environments, multiple modes and the like.
In a cloud platform capable of deploying containerized services, various deployment modes can be provided for the containerized services through single operation, but different deployment modes have larger operation difference, a high-concurrency operation method is lacked, difficulty is brought to deployment work, and deployment efficiency is low.
Disclosure of Invention
In view of this, an object of the present application is to provide an application stack automation deployment method based on a cloud platform and a related device.
Based on the above purpose, the present application provides an application stack automation deployment method based on a cloud platform, where the cloud platform includes a plurality of application stacks, and the method includes: acquiring version upgrading information of the plurality of application stacks and containerized version upgrading mirror images; acquiring Token of the cloud platform, and starting access authority to the cloud platform; manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading information; and deploying the version upgrading images and the version upgrading information to the plurality of application stacks in batches by utilizing the application stores.
Optionally, the obtaining version upgrade information of the plurality of application stacks and the containerized version upgrade image includes: acquiring the version upgrading mirror image from a Harbor server of the cloud platform; and acquiring the version upgrading information from an external efficiency platform by using a Kafka server.
Optionally, the version upgrade information includes version upgrade application information, and the batch production and generation of multiple application stores in the cloud platform according to the version upgrade information includes: and manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading application information.
Optionally, the mass production of a plurality of application stores in the cloud platform according to the version upgrade information further includes: setting the application store to an update mode.
Optionally, the version upgrade information further includes a version name, a developer list, and version contents, and the deploying the version upgrade image and the version upgrade information to the plurality of application stacks in batch by using the application store includes: and deploying the version name, the developer list, the version content and the version upgrading image to the plurality of application stacks in batches by utilizing the application store.
Optionally, the deploying, by the application store, the version upgrade image and the version upgrade information in batch to the plurality of application stacks further includes: and circularly scanning all the application stacks by using the application store, sequentially deploying the version upgrading mirror image and the version upgrading information to each application stack, and stopping scanning in response to the completion of the deployment of all the application stacks.
Based on the same inventive concept, the application also provides an automatic application stack deployment device based on a cloud platform, wherein the cloud platform comprises a plurality of application stacks, and the device comprises: a first obtaining module configured to obtain the plurality of application stack version upgrade information and a containerized version upgrade image; the second acquisition module is configured to acquire Token of the cloud platform and open access authority of the cloud platform; an application store production module configured to produce a plurality of application stores in batch in the cloud platform according to the version upgrade information; a deployment module configured to deploy the version upgrade image and the version upgrade information in bulk into the plurality of application stacks using the application store.
Optionally, the version upgrade information includes a version name, a developer list, version contents, and version upgrade application information, and the application store production module is further configured to: manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading application information; the deployment module is further configured to: and deploying the version name, the developer list, the version content and the version upgrading image to the plurality of application stacks in batches by utilizing the application store.
Based on the same inventive concept, the application further provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and the electronic device is characterized in that when the processor executes the program, any one of the cloud platform-based application stack automatic deployment methods is realized.
Based on the same inventive concept, the application further provides a non-transitory computer readable storage medium, which stores computer instructions, wherein the computer instructions are used for causing a computer to execute any one of the cloud platform based application stack automation deployment methods.
As can be seen from the foregoing, the cloud platform-based application stack automation deployment method and related device provided in the present application, where the cloud platform includes multiple application stacks, and the method includes: acquiring version upgrading information of the plurality of application stacks and containerized version upgrading images; acquiring Token of the cloud platform, and starting access authority to the cloud platform; manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading information; and deploying the version upgrading images and the version upgrading information to the plurality of application stacks in batches by utilizing the application stores. The method provided by the application can directly correlate and unify all application stack deployment processes in the cloud platform, reduces the complexity of deployment operation, and solves the problem of large operation difference of different deployment modes; the method provided by the application can also realize automatic batch upgrading deployment of all application stacks, so that the deployment operation is more convenient and faster, and the deployment process is safer and more efficient.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the related art, the drawings needed to be used in the description of the embodiments or the related art will be briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic block diagram of upgrading and deploying an application stack in a cloud platform in the prior art;
fig. 2 is a schematic flowchart of an application stack automation deployment method based on a cloud platform according to an embodiment of the present application;
fig. 3 is a schematic block diagram of batch upgrade deployment of application stacks in a cloud platform according to an embodiment of the present application;
fig. 4 is a schematic view of an operation flow of performing batch upgrade deployment on application stacks according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of an application stack automation deployment apparatus based on a cloud platform according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings in combination with specific embodiments.
It should be noted that technical terms or scientific terms used in the embodiments of the present application should have a general meaning as understood by those having ordinary skill in the art to which the present application belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item preceding the word comprises the element or item listed after the word and its equivalent, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
For ease of understanding, some of the terms appearing in the embodiments of the present application are explained below:
an application stack: the application stack is an operation unit for packaging the application service, and the operation environment, configuration parameters and an application mirror image of the application are stored in the application stack;
the application store: the application store comprises parameter configuration and definition in a system operation environment, can realize version differentiation configuration management, and is a key element for application stack upgrading deployment.
Token: tokens, objects that represent rights to perform certain operations;
the Harbor server: harbor is an enterprise-level private containerized mirror image warehouse item opened by VMware company, and aims to help a user to quickly build an enterprise-level private containerized mirror image warehouse service;
kafka server: kafka is an open source stream processing platform developed by the Apache software foundation, is a high-throughput distributed publish-subscribe message system, and can process all action stream data of a consumer in a website; kafka unifies online and offline message processing through the Hadoop parallel load mechanism and provides real-time messages through clustering.
In the prior art, as shown in fig. 1, a process of upgrading and deploying an application stack in a cloud platform is as follows: firstly, deployment personnel need to know the version content of the deployment outside a cloud platform, and offline communication is carried out, so that the deployment content difference is avoided; then, entering a cloud platform, searching an application store and an application stack under the existing authority, and possibly selecting different deployment modes for different applications, for example, the application 1 adopts a process of firstly manufacturing the application store, then deleting the original application stack, and then restarting the deployment of the application stack; the applications 2 and 3 adopt a process of directly upgrading and deploying on an application stack after an application store is manufactured; and the application 4 selects an upgrading service in the application stack, changes the service configuration and upgrades the application stack in a mirror image modifying mode.
The deployment process application system is weak in version concept, the existing system is lack of data communication before version release, and the communication cost outside the platform is high; the deployment flow method lacks automation capability, the whole flow is carried out in a single step, and the efficiency is low; different application deployment operation flows are inconsistent, and integration operation and deployment work are not facilitated.
In view of this, an embodiment of the present application provides an application stack automation deployment method based on a cloud platform, where the cloud platform includes multiple application stacks, and as shown in fig. 2, the method includes:
and step S101, acquiring version upgrading information of the plurality of application stacks and containerized version upgrading images. In one particular embodiment, a Docker container is used to containerize most version upgrade images. The containerization is to bind application program codes and application dependency packages into a single virtual package, the containerized application program can be placed side by side with other application programs and run through a shared operating system on a computer, a server or a cloud, and the Docker container realizes unified deployment of application environments and projects and is convenient to migrate and manage.
And S102, acquiring Token of the cloud platform and starting access authority of the cloud platform. The step can associate the user with the cloud platform, so that the user operation is associated to the initial version process of the cloud platform.
And S103, manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading information. In the prior art, an application store needs to be manufactured separately for each application, and the embodiment of the application can manufacture a plurality of application stores in batches automatically, so that the deployment operation is more convenient and faster, and the deployment flow is more efficient.
And step S104, deploying the version upgrading images and the version upgrading information to the plurality of application stacks in batches by using the application stores. In the prior art, each application stack needs to be upgraded and deployed independently, and the automatic batch upgrading and deployment are performed on the plurality of application stacks, so that the deployment operation is more convenient and the deployment process is more efficient.
The method provided by the embodiment of the application comprises the following steps: acquiring version upgrading information of the plurality of application stacks and containerized version upgrading images; acquiring Token of the cloud platform, and opening access authority to the cloud platform; manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading information; and deploying the version upgrading images and the version upgrading information to the plurality of application stacks in batches by utilizing the application stores. As shown in fig. 3, the method provided in the embodiment of the present application can implement automatic batch validation of an application stack upgrade version, automatic batch manufacturing of an application store, and automatic batch deployment of an application stack, so that deployment operations are more convenient and faster, and a deployment process is safer and more efficient; the method provided by the application can also directly correlate and unify all application stack deployment processes in the cloud platform, reduces the complexity of deployment operation, and solves the problem of large operation difference of different deployment modes.
In some embodiments, the step S101 includes: acquiring the version upgrading mirror image from a Harbor server of the cloud platform; and acquiring the version upgrading information from the external efficiency platform by using the Kafka server.
In a specific embodiment, before the application stacks are upgraded and deployed in batches, developers can send version upgrading information to an external efficiency platform, the external efficiency platform sends the version upgrading information to a Kafka server, and a manufactured version upgrading mirror image is placed in a Harbor server of a cloud platform; and when the batch upgrading deployment is needed, acquiring version upgrading information and mirror images needed by the upgrading deployment from the two servers.
In some embodiments, the version upgrade information includes version upgrade application information, and the step S103 includes: and manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading application information. In a specific embodiment, the version upgrade application information is a plurality of micro applications, and the process of manufacturing an application store is a process of establishing a corresponding relationship between the micro applications and the application stacks, so that the version upgrade information and the version upgrade images to be deployed correspond to the application stacks in the cloud platform one by one, and subsequent batch upgrade deployment of the application stacks is facilitated.
In specific implementation, the process of manufacturing the application store is performed in a visual mode to ensure that the manufactured application store is the required correct version, and if the manufactured application store is found to be wrong, the user can choose to return to the previous step to contact the developer to change the version upgrading information.
In some embodiments, the step S103 further comprises: setting the application store to an update mode. The application store mode comprises a stack deletion mode and an update mode, and in the process of batch upgrading deployment, the application store adopting the update mode can further improve the deployment efficiency.
In some embodiments, the version upgrade information further includes a version name, a developer list, and version contents, and the step S104 includes: and deploying the version name, the developer list, the version content and the version upgrading image to the plurality of application stacks in batch by using the application store, so that the upgraded application comprises all contents of version upgrading. During specific implementation, the upgrading deployment process is carried out in a visual mode, all information required by upgrading deployment is automatically filled in a view, the workload of technicians is reduced, and the deployment efficiency is improved; if the upgrade deployment information is found to be wrong, the method can return to the previous step, and a developer is contacted to change the version upgrade information and the version upgrade mirror image.
In some embodiments, the step S104 further includes: and circularly scanning all the application stacks by using the application stores, deploying the version upgrading mirror image and the version upgrading information to each application stack in sequence, and stopping scanning in response to the completion of the deployment of all the application stacks. In a specific embodiment, batch deployment and batch rollback are realized in an asynchronous driving mode, and each application stack is continuously triggered to be upgraded and deployed in a circulating scanning deployment task mode, so that the purpose of one-key batch deployment is achieved.
It should be noted that the embodiment of the present application can be further described in the following manner, as shown in fig. 4, in specific implementation, an operation process of a technician performing batch upgrade deployment on an application stack is as follows: 1) obtaining the upgrade version information and logging in the system; 2) judging whether configuration is needed or not; 3) entering a configuration page for processing if configuration is needed; 4) configuring a secret key; 5) configuring the comparison relationship between personnel and the system; 6) configuring the corresponding relation between the application and the store; 7) configuring an updating mode; 8) if the configuration is not needed, the backlog page can be directly entered; 9) checking detailed information of the version to be handled, the responsible person and other versions; 10) confirming whether the version content is correct; 11) if the details are incorrect, the details can be communicated with a development team and revised; 12) after the revision is completed, jumping to an application store manufacturing interface through the connection to be processed; 13) if the judgment result is correct, directly jumping to an application store manufacturing interface through the connection to be processed; 14) entering an application store manufacturing interface, and displaying all application stores related to the version upgrading; 15) the shop can choose to make alone and make in batches; 16) all check can be carried out without independent manufacture; 17) making independently, wherein a corresponding application store needs to be selected for making; 18) the shop making process is carried out whether the product is made alone or not; 19) carrying out a shop manufacturing process; 20) if the version has personalized deploying content, manual deploying is needed; 21) the jump deployment function of clicking the interface to be handled is manufactured, the interface to be deployed is jumped to through the connection in the process of being handled, the application stack related to the version is positioned through information such as the application name in the version, and the application stack is directly screened; 22) entering a deployment interface, and automatically displaying all the application stacks needing to be upgraded and deployed at the time; 23) an operator can select a single application stack to be deployed or can select batch deployment; 24) after deployment is completed, the state of an application stack needs to be confirmed; 25) verifying and judging whether the upgrading deployment has problems according to the verification condition; 26) selecting rollback if the deployment has problems; 27) after the deployment backspacing is finished, the deployment task is finished, and the investigation work of the failure reason is processed by using other professional tools; 28) and if no problem exists, the whole upgrading deployment process is ended. In the process, technicians only need to select and confirm the upgrading deployment work, and the platform can automatically acquire upgrading deployment information, automatically manufacture application stores in batches and automatically deploy application stacks in batches, so that deployment operation is more convenient and deployment flow is safer and more efficient.
It should be noted that the method of the embodiment of the present application may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and is completed by the mutual cooperation of a plurality of devices. In this distributed scenario, one device of the multiple devices may only perform one or more steps of the method of the embodiment of the present application, and the multiple devices interact with each other to complete the method.
It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to any of the above embodiments, the present application further provides an application stack automation deployment apparatus based on a cloud platform, where the cloud platform includes a plurality of application stacks, and as shown in fig. 5, the apparatus includes:
a first obtaining module 10 configured to obtain the plurality of application stack version upgrade information and the containerized version upgrade image;
a second obtaining module 20, configured to obtain Token of the cloud platform, and open an access right to the cloud platform;
an application store production module 30 configured to produce a plurality of application stores in a batch in the cloud platform according to the version upgrade information;
a deployment module 40 configured to deploy the version upgrade image and the version upgrade information in bulk into the plurality of application stacks using the application store.
The device that this application embodiment provided includes: a first obtaining module configured to obtain the plurality of application stack version upgrade information and a containerized version upgrade image; the second acquisition module is configured to acquire Token of the cloud platform and open access authority of the cloud platform; an application store production module configured to produce a plurality of application stores in batch in the cloud platform according to the version upgrade information; a deployment module configured to deploy the version upgrade image and the version upgrade information in bulk into the plurality of application stacks using the application store. The device provided by the application can directly correlate and unify all application stack deployment processes in the cloud platform, reduces the complexity of deployment operation, and solves the problem of large operation difference of different deployment modes; the device provided by the application can also realize automatic batch upgrading deployment of all application stacks, so that the deployment operation is more convenient, and the deployment process is safer and more efficient.
In some embodiments, the version upgrade information includes a version name, a list of developers, version contents, and version upgrade application information, the application store production module is further configured to: manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading application information; the deployment module is further configured to: and deploying the version name, the developer list, the version content and the version upgrading image to the plurality of application stacks in batches by utilizing the application store.
In some embodiments, the first obtaining module is further configured to: acquiring the version upgrading mirror image from a Harbor server of the cloud platform; and acquiring the version upgrading information from an external efficiency platform by using a Kafka server.
In some embodiments, the application store production module is further configured to: setting the application store to an update mode.
In some embodiments, the deployment module is further configured to: and circularly scanning all the application stacks by using the application stores, deploying the version upgrading mirror image and the version upgrading information to each application stack in sequence, and stopping scanning in response to the completion of the deployment of all the application stacks.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more pieces of software and/or hardware in the practice of the present application.
The apparatus of the foregoing embodiment is used to implement the corresponding cloud platform-based application stack automated deployment method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to the method in any embodiment, the application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the cloud platform-based application stack automation deployment method in any embodiment is implemented.
Fig. 6 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 610, a memory 620, an input/output interface 630, a communication interface 640, and a bus 650. Wherein the processor 610, memory 620, input/output interface 630, and communication interface 640 are communicatively coupled to each other within the device via bus 650.
The processor 610 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 620 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 620 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 620 and called by the processor 610 to be executed.
The input/output interface 630 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 640 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 650 includes a pathway to transfer information between various components of the device, such as processor 610, memory 620, input/output interface 630, and communication interface 640.
It should be noted that although the above-mentioned devices only show the processor 610, the memory 620, the input/output interface 630, the communication interface 640 and the bus 650, in a specific implementation, the devices may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the foregoing embodiment is used to implement the corresponding cloud platform-based application stack automated deployment method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above embodiments, the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the cloud platform based application stack automation deployment method according to any of the above embodiments.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, for storing information may be implemented in any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the foregoing embodiment are used to enable the computer to execute the cloud platform-based application stack automated deployment method according to any embodiment, and have the beneficial effects of the corresponding method embodiments, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the context of the present application, technical features in the above embodiments or in different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the application. Further, devices may be shown in block diagram form in order to avoid obscuring embodiments of the application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the application are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that the embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present application are intended to be included within the scope of the present application.

Claims (10)

1. An automatic deployment method of an application stack based on a cloud platform, wherein the cloud platform comprises a plurality of application stacks, and the method comprises the following steps:
acquiring version upgrading information of the plurality of application stacks and containerized version upgrading mirror images;
acquiring Token of the cloud platform, and opening access authority to the cloud platform;
manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading information;
and deploying the version upgrading images and the version upgrading information to the plurality of application stacks in batches by utilizing the application stores.
2. The cloud platform-based application stack automation deployment method of claim 1, wherein the obtaining of the version upgrade information and the containerized version upgrade image of the plurality of application stacks comprises:
acquiring the version upgrading mirror image from a Harbor server of the cloud platform;
and acquiring the version upgrading information from an external efficiency platform by using a Kafka server.
3. The cloud platform-based application stack automation deployment method of claim 1, wherein the version upgrade information includes version upgrade application information, and the batch production and generation of a plurality of application stores in the cloud platform according to the version upgrade information includes:
and manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading application information.
4. The cloud platform-based application stack automated deployment method of claim 1, wherein the mass production of the plurality of application stores in the cloud platform according to the version upgrade information further comprises: setting the application store to an update mode.
5. The cloud platform-based application stack automation deployment method of claim 1, wherein the version upgrade information further comprises a version name, a developer list, and version contents, and the deploying the version upgrade image and the version upgrade information into the plurality of application stacks in batch by using the application store comprises:
and deploying the version name, the developer list, the version content and the version upgrading image to the plurality of application stacks in batches by utilizing the application store.
6. The cloud platform-based application stack automation deployment method according to claim 1, wherein the deploying the version upgrade image and the version upgrade information to the plurality of application stacks in batch by using the application store further comprises:
and circularly scanning all the application stacks by using the application store, sequentially deploying the version upgrading mirror image and the version upgrading information to each application stack, and stopping scanning in response to the completion of the deployment of all the application stacks.
7. An application stack automation deployment device based on a cloud platform, wherein the cloud platform comprises a plurality of application stacks, and the device comprises:
a first obtaining module configured to obtain the plurality of application stack version upgrade information and a containerized version upgrade image;
the second acquisition module is configured to acquire Token of the cloud platform and open access authority to the cloud platform;
an application store production module configured to produce a plurality of application stores in a batch in the cloud platform according to the version upgrade information;
a deployment module configured to deploy the version upgrade image and the version upgrade information into the plurality of application stacks in bulk using the application store.
8. The cloud platform-based application stack automation deployment apparatus of claim 7, wherein the version upgrade information comprises a version name, a developer list, version content and version upgrade application information, the application store production module further configured to:
manufacturing a plurality of application stores in batch in the cloud platform according to the version upgrading application information;
the deployment module is further configured to:
and deploying the version name, the developer list, the version content and the version upgrading image to the plurality of application stacks in batches by utilizing the application store.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the program.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 6.
CN202210291739.7A 2022-03-22 2022-03-22 Application stack automatic deployment method based on cloud platform and related equipment Pending CN114924754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210291739.7A CN114924754A (en) 2022-03-22 2022-03-22 Application stack automatic deployment method based on cloud platform and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210291739.7A CN114924754A (en) 2022-03-22 2022-03-22 Application stack automatic deployment method based on cloud platform and related equipment

Publications (1)

Publication Number Publication Date
CN114924754A true CN114924754A (en) 2022-08-19

Family

ID=82804417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210291739.7A Pending CN114924754A (en) 2022-03-22 2022-03-22 Application stack automatic deployment method based on cloud platform and related equipment

Country Status (1)

Country Link
CN (1) CN114924754A (en)

Similar Documents

Publication Publication Date Title
CN106559438B (en) Program uploading method and device based on target network platform
US9021438B2 (en) Automatic framework for parallel testing on multiple testing environments
US20190065177A1 (en) Cross application behavior customization
EP3115902B1 (en) Framework for automated testing of mobile apps
US20180113799A1 (en) Model generation for model-based application testing
CN103501308A (en) Distributed cloud application deployment systems and/or associated methods
CN112379969B (en) Continuous integrated delivery method based on containerized application and related equipment
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
US20200384644A1 (en) Systems and Methods for Robotic Process Automation
KR20200115020A (en) Hyperledger fabric network creation method, controller and storage medium
CN112506525A (en) Continuous integration and continuous delivery method, device, electronic equipment and storage medium
CN107220066B (en) Method and device for releasing application software in application store
CN103595770A (en) Method and device for achieving file downloading through SDK
CN110162464A (en) Mcok test method and system, electronic equipment and readable storage medium storing program for executing
CN113535567B (en) Software testing method, device, equipment and medium
US20200274758A1 (en) Provisioning hybrid cloud resources in an operating environment
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
CN110457010B (en) Method and device for batch changing task list based on collaboration platform
CN114924754A (en) Application stack automatic deployment method based on cloud platform and related equipment
CN111338655A (en) Installation package distribution method and system
EP3745259A1 (en) Method and electronic generation device for generating at least one configuration file for an automation tool, related computer program
Puttonen et al. An application of BPEL for service orchestration in an industrial environment
CN113835827A (en) Application deployment method and device based on container Docker and electronic equipment
CN112564979A (en) Execution method and device for construction task, computer equipment and storage medium
CN116560722B (en) Operation and maintenance flow processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination