CN111026403A - Packing deployment method and device, computer equipment and storage medium - Google Patents

Packing deployment method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111026403A
CN111026403A CN201911258641.6A CN201911258641A CN111026403A CN 111026403 A CN111026403 A CN 111026403A CN 201911258641 A CN201911258641 A CN 201911258641A CN 111026403 A CN111026403 A CN 111026403A
Authority
CN
China
Prior art keywords
target
packaged
code
version code
installation package
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
CN201911258641.6A
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.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology 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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201911258641.6A priority Critical patent/CN111026403A/en
Publication of CN111026403A publication Critical patent/CN111026403A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a packing deployment method, a packing deployment device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring a target version code of an object to be packaged; configuring the target version code, and compiling and packaging the configured target version code to obtain a target installation package; and remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged, and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package. The technical scheme of the embodiment of the invention can realize automatic completion of the packing deployment operation, thereby reducing the learning cost of packing deployment and improving the packing deployment efficiency.

Description

Packing deployment method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computer software application, in particular to a packing deployment method, a packing deployment device, computer equipment and a storage medium.
Background
The development life cycle of a conventional project system generally relates to at least two environments, namely a test environment and a formal environment, after a developer completes the development task of the developer, the finished program codes are packaged and deployed to the test environment, the packaged program codes, namely primary versions, are tested by the tester, after repeated tests, the finally tested versions are deployed to the formal environment, and the formal environment provides services for users.
In the related art, there are two common ways of packaging and deploying a project system. One way is to directly export the related installation package after compiling by using an Integrated Development Environment (IDE). Another way is to automate compilation and packaging deployment via persistent integration tools such as Jenkins.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: the method for directly exporting the installation package through the IDE has strong dependency with the IDE, and requires developers to be familiar with the related operation of the IDE, thus having higher requirements on the level of the developers. The manner in which the packaging deployment is performed by the persistent integration tool unifies the learning process that requires a relatively high cost for the persistent integration tool.
Disclosure of Invention
The embodiment of the invention provides a packing deployment method, a packing deployment device, computer equipment and a storage medium, which can automatically complete packing deployment operation, thereby reducing the learning cost of packing deployment and improving the packing deployment efficiency.
In a first aspect, an embodiment of the present invention provides a packing deployment method, including:
acquiring a target version code of an object to be packaged;
configuring the target version code, and compiling and packaging the configured target version code to obtain a target installation package;
and remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged, and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package.
In a second aspect, an embodiment of the present invention further provides a packaging deployment apparatus, including:
the target version code acquisition module is used for acquiring a target version code of the object to be packaged;
the target installation package obtaining module is used for configuring the target version code and compiling and packaging the configured target version code to obtain a target installation package;
and the target installation package deployment module is used for remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the packing deployment method provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the packing deployment method provided in any embodiment of the present invention.
According to the embodiment of the invention, the target version code of the obtained object to be packaged is configured, the configured target version code is compiled and packaged to obtain the target installation package, then the target installation package is remotely transmitted to the system deployment server corresponding to the object to be packaged, and the remote installation command is sent to the system deployment server, so that the system deployment server remotely installs and deploys the target installation package, the problem of high learning cost in the existing project system packaging and deploying operation is solved, the packaging and deploying operation is automatically completed, the learning cost of packaging and deploying is reduced, and the packaging and deploying efficiency is improved.
Drawings
Fig. 1a is a flowchart of a packing deployment method according to an embodiment of the present invention;
fig. 1b is a flowchart of a packing deployment method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a packaging deployment apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1a is a flowchart of a packing deployment method according to an embodiment of the present invention, where this embodiment is applicable to a case where packing deployment is performed on an object to be packed automatically, and the method may be executed by a packing deployment apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a computer device. Accordingly, as shown in fig. 1a, the method comprises the following operations:
and S110, acquiring a target version code of the object to be packaged.
The object to be packaged can be any type of project system to be packaged, and the project system can be a business system or various development application systems. The business system may include, but is not limited to, a personnel system, a financial system, a material system, or the like. As long as the project system that needs to be packaged and deployed can be used as the object to be packaged, the embodiment of the present invention does not limit the specific type of the object to be packaged. The target version code may be the code of one of the versions of the object to be packaged.
In the embodiment of the invention, when the target version code of the object to be packaged is automatically packaged and deployed, the target version code of the object to be packaged needs to be acquired first.
In an optional embodiment of the present invention, the obtaining the target version code of the object to be packaged may include: and calling a code acquisition command through a preset executable script file to acquire the latest version code issued by the object to be packaged from a code management library as the target version code of the object to be packaged.
The preset executable script file may be an executable script file generated by a script generation tool. The code acquisition command may be a command for acquiring a target version code. The code management library can be used for storing various version codes corresponding to various project systems.
Specifically, the latest version code issued by the object to be packaged can be acquired from the code management library as the target version code of the object to be packaged by calling a code acquisition command through the preset executable script file. Alternatively, the code acquisition command may be an update command of SVN (version control system).
In an optional embodiment of the present invention, before the obtaining the target version code of the object to be packaged, the method may include: creating an associated version code of the object to be packaged through a project management tool (Maven), and controlling the associated version code through a code version control tool; wherein the associated version code comprises a target version code; the number of the objects to be packaged is at least one.
The project management tool is used for constructing a project system, and optionally, the project management tool may adopt a Maven tool. The embodiment of the present invention does not limit the specific type of the project management tool as long as the software or hardware tool that can construct the project system can be used as the project management tool. The code version control tool may be used to manage and control the code of the project system, and optionally, the code version control tool may adopt an SVN tool. Similarly, as long as a software or hardware tool that can manage and control the code of the project system can be used as the code version control tool, the embodiment of the present invention does not limit the specific type of the code version control tool. The associated version code may be a code of at least one version of the object to be packaged.
It can be understood that the object to be packaged needs to have at least one version of code, so that the packaging deployment operation of the object to be packaged can be completed. Therefore, before obtaining the target version code of the object to be packaged, the associated version code of the object to be packaged can be firstly created through the project management tool, and the associated version code is controlled through the code version control tool.
It should be noted that the packing and deploying method provided by the embodiment of the present invention can implement automatic packing and deploying on a plurality of objects to be packed at the same time. Meanwhile, one object to be packaged may include at least one version of code, and when the object to be packaged is packaged and deployed, one version of code included in the object to be packaged may be selected as a target version of code. Preferably, the latest version code issued by the object to be packaged can be acquired as the target version code of the object to be packaged.
In an optional embodiment of the present invention, before obtaining, by a preset executable script file call code obtaining command, a latest version code issued by the object to be packaged from a code management library as a target version code of the object to be packaged, the method may further include: and creating the preset executable script file through a script generation tool.
The script generation tool may be any type of tool for generating script files, among others. Optionally, a Shell tool may be used as a script generation tool, and the Shell is used to create a preset executable script file.
And S120, configuring the target version code, and compiling and packaging the configured target version code to obtain a target installation package.
The target installation package may be an installation package obtained by compiling and packaging the target version code.
Correspondingly, after the target version code of the object to be packaged is obtained, the target version code can be configured, and the configured target version code is compiled and packaged to obtain the target installation package.
In an optional embodiment of the present invention, the configuring the object version code may include: and automatically setting the generation environment configuration of the target version code through a code construction tool.
The code building tool may be a tool for configuring the target version code, and optionally, an tool may be used as the code building tool.
In the embodiment of the invention, the target version code can be automatically set to generate the environment configuration by using a code building tool.
In an optional embodiment of the present invention, the compiling and packaging the configured object version code may include: and compiling and packaging the configured target version code through the project management tool.
Correspondingly, after the automatic setting of the generation environment configuration of the target version code is completed by using the code construction tool, the configured target version code can be compiled and packaged by using the project management tool.
S130, remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged, and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package.
The system deployment server is used for installing and deploying the target installation package corresponding to the object to be packaged. The remote installation command is used for instructing the system deployment server to deploy the target installation package according to the deployment.
In the embodiment of the invention, after the target installation package corresponding to the object to be packaged is obtained, the target installation package can be remotely transmitted to the system deployment server corresponding to the object to be packaged, and a remote installation command is sent to the system deployment server, so that the system deployment server can remotely install and deploy the target installation package.
In an optional embodiment of the present invention, the remotely transmitting the target installation package to a system deployment server corresponding to an object to be packaged may include: and remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged through a remote copying command of the script generation tool.
The remote copy command may be a command for performing remote transmission copy on the target installation package. Alternatively, when the script generation tool employs the Shell tool, the scp command may be employed as the remote copy command.
In the embodiment of the present invention, optionally, the target installation package may be remotely transmitted to the system deployment server corresponding to the object to be packaged by using a remote copy command of the script generation tool.
Fig. 1b is a flowchart of a packing deployment method according to an embodiment of the present invention, and in a specific example, as shown in fig. 1b, specific steps of the packing deployment method may include:
step one, a project system is constructed through Maven.
And step two, performing code version control on the project system through the SVN.
And step three, creating a Shell executable script file, taking the project system names needing to be packaged as incoming parameters for incoming, and distinguishing and incoming a plurality of project system names by special interval symbols (such as spaces).
And step four, acquiring the latest release version code of the required project system from a code warehouse (namely a code management library) by utilizing an update (update) command of the SVN.
And fifthly, automatically setting the configuration of the production environment for the acquired code through an Ant tool, such as setting a configuration file.
And step six, entering a main directory of the project system through the Shell command, and calling a packaging command of the Maven to compile and package the project system.
And seventhly, acquiring an installation package of the project system from a package output catalog (such as a target catalog) of the project system and transmitting the installation package to a server needing to be deployed through a Shell remote copy command.
And step eight, executing a remote installation command to complete installation and deployment of the project system.
Therefore, by utilizing the relevant tools such as Maven, SVN, Ant and the like to automatically update, compile, package and remotely install and deploy the project system codes, the compiling, packaging and installing and deploying of a plurality of project systems can be conveniently and rapidly realized, the operation is simple and rapid to implement, and the efficiency is high.
According to the embodiment of the invention, the target version code of the obtained object to be packaged is configured, the configured target version code is compiled and packaged to obtain the target installation package, then the target installation package is remotely transmitted to the system deployment server corresponding to the object to be packaged, and the remote installation command is sent to the system deployment server, so that the system deployment server remotely installs and deploys the target installation package, the problem of high learning cost in the existing project system packaging and deploying operation is solved, the packaging and deploying operation is automatically completed, the learning cost of packaging and deploying is reduced, and the packaging and deploying efficiency is improved.
Example two
Fig. 2 is a schematic diagram of a packaging deployment apparatus according to a second embodiment of the present invention, and as shown in fig. 2, the apparatus includes: a data acquisition module 210, a data acquisition module 220, and a test case generation module 230, wherein:
a target version code obtaining module 210, configured to obtain a target version code of an object to be packaged;
the target installation package obtaining module 220 is configured to configure the target version code, and compile and package the configured target version code to obtain a target installation package;
the target installation package deployment module 230 is configured to remotely transmit the target installation package to a system deployment server corresponding to an object to be packaged, and send a remote installation command to the system deployment server, so that the system deployment server performs remote installation and deployment on the target installation package.
According to the embodiment of the invention, the target version code of the obtained object to be packaged is configured, the configured target version code is compiled and packaged to obtain the target installation package, then the target installation package is remotely transmitted to the system deployment server corresponding to the object to be packaged, and the remote installation command is sent to the system deployment server, so that the system deployment server remotely installs and deploys the target installation package, the problem of high learning cost in the existing project system packaging and deploying operation is solved, the packaging and deploying operation is automatically completed, the learning cost of packaging and deploying is reduced, and the packaging and deploying efficiency is improved.
Optionally, the apparatus further comprises: the associated version code creation control module is used for creating the associated version code of the object to be packaged through a project management tool and controlling the associated version code through a code version control tool;
wherein the associated version code comprises a target version code; the number of the objects to be packaged is at least one.
Optionally, the target version code obtaining module 210 is specifically configured to obtain, from a code management library, a latest version code issued by the object to be packaged as a target version code of the object to be packaged by calling a code obtaining command through a preset executable script file.
Optionally, the apparatus further comprises: and the preset executable script file creating module is used for creating the preset executable script file through a script generating tool.
Optionally, the target installation package obtaining module 220 includes: and the generation environment configuration unit is used for automatically setting the generation environment configuration of the target version code through a code construction tool.
Optionally, the target installation package obtaining module 220 includes: and the compiling and packaging unit is used for compiling and packaging the configured target version code through the project management tool.
Optionally, the target installation package deployment module 230 is specifically configured to remotely transmit the target installation package to a system deployment server corresponding to the object to be packaged through a remote copy command of the script generation tool.
The packaging deployment device can execute the packaging deployment method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the packing deployment method provided in any embodiment of the present invention.
Since the above-described packing deployment device is a device capable of executing the packing deployment method in the embodiment of the present invention, based on the packing deployment method described in the embodiment of the present invention, a person skilled in the art can understand a specific implementation manner of the packing deployment device in the embodiment and various variations thereof, and therefore, how the packing deployment device implements the packing deployment method in the embodiment of the present invention is not described in detail herein. The device adopted by the packing deployment method in the embodiment of the present invention is all within the scope of the protection to be claimed in the present application.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of a computer device 312 suitable for use in implementing embodiments of the present invention. The computer device 312 shown in FIG. 3 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 3, computer device 312 is in the form of a general purpose computing device. The components of computer device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The computer device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with the computer device 312, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 312 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 322. Also, computer device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), etc.) and/or a public Network, such as the internet, via Network adapter 320. As shown, network adapter 320 communicates with the other modules of computer device 312 via bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
Processor 316 executes various functional applications and data processing, such as implementing the packing deployment method provided by the above-described embodiments of the present invention, by executing programs stored in storage 328.
That is, the processing unit implements, when executing the program: acquiring a target version code of an object to be packaged; configuring the target version code, and compiling and packaging the configured target version code to obtain a target installation package; and remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged, and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package.
Example four
A fourth embodiment of the present invention further provides a computer storage medium storing a computer program, where the computer program is used to execute the packing deployment method according to any one of the above embodiments of the present invention when executed by a computer processor: acquiring a target version code of an object to be packaged; configuring the target version code, and compiling and packaging the configured target version code to obtain a target installation package; and remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged, and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash Memory), an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for packaging deployment, comprising:
acquiring a target version code of an object to be packaged;
configuring the target version code, and compiling and packaging the configured target version code to obtain a target installation package;
and remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged, and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package.
2. The method of claim 1, prior to the obtaining the target version code of the object to be packaged, comprising:
creating an associated version code of the object to be packaged through a project management tool, and controlling the associated version code through a code version control tool;
wherein the associated version code comprises a target version code; the number of the objects to be packaged is at least one.
3. The method of claim 1, wherein the obtaining the target version code of the object to be packaged comprises:
and calling a code acquisition command through a preset executable script file to acquire the latest version code issued by the object to be packaged from a code management library as the target version code of the object to be packaged.
4. The method according to claim 3, before acquiring the latest version code issued by the object to be packaged from the code management library as the target version code of the object to be packaged by calling a code acquisition command through a preset executable script file, further comprising:
and creating the preset executable script file through a script generation tool.
5. The method of claim 1, wherein the configuring the target version code comprises:
and automatically setting the generation environment configuration of the target version code through a code construction tool.
6. The method according to claim 2, wherein the compiling and packaging the configured target version code comprises:
and compiling and packaging the configured target version code through the project management tool.
7. The method of claim 4, wherein the remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged comprises:
and remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged through a remote copying command of the script generation tool.
8. A package deployment apparatus, comprising:
the target version code acquisition module is used for acquiring a target version code of the object to be packaged;
the target installation package obtaining module is used for configuring the target version code and compiling and packaging the configured target version code to obtain a target installation package;
and the target installation package deployment module is used for remotely transmitting the target installation package to a system deployment server corresponding to the object to be packaged and sending a remote installation command to the system deployment server so that the system deployment server remotely installs and deploys the target installation package.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the package deployment method of any of claims 1-7.
10. A computer storage medium on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the package deployment method of any one of claims 1 to 7.
CN201911258641.6A 2019-12-10 2019-12-10 Packing deployment method and device, computer equipment and storage medium Pending CN111026403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911258641.6A CN111026403A (en) 2019-12-10 2019-12-10 Packing deployment method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911258641.6A CN111026403A (en) 2019-12-10 2019-12-10 Packing deployment method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111026403A true CN111026403A (en) 2020-04-17

Family

ID=70205288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911258641.6A Pending CN111026403A (en) 2019-12-10 2019-12-10 Packing deployment method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111026403A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611008A (en) * 2020-05-22 2020-09-01 浪潮电子信息产业股份有限公司 Software code packaging and deploying method, device, equipment and storage medium
CN111651192A (en) * 2020-05-20 2020-09-11 深圳市致宇天承科技有限公司 Implementation method of multi-terminal automatic packaging scheme based on web
CN111651182A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 Automatic packing construction method and device for micro-service system
CN111736855A (en) * 2020-05-18 2020-10-02 苏州浪潮智能科技有限公司 Method and system for realizing automatic packaging deployment based on application web end
CN111767075A (en) * 2020-06-23 2020-10-13 北京思特奇信息技术股份有限公司 Method and device for synchronizing application program versions
CN111782221A (en) * 2020-06-29 2020-10-16 中国电力科学研究院有限公司 Automatic deployment system and method of power grid dispatching control system
CN111897557A (en) * 2020-07-06 2020-11-06 北京中关村银行股份有限公司 Method, device, equipment and storage medium for updating service system
CN112083947A (en) * 2020-07-27 2020-12-15 上海云刹技术有限公司 Software package issuing method for supply chain multi-language environment
CN112306504A (en) * 2020-11-03 2021-02-02 平安普惠企业管理有限公司 Module deployment method, device, equipment and storage medium based on configuration requirements
CN113434157A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Shell script-based front-end engineering deployment method and device
CN113504926A (en) * 2021-07-19 2021-10-15 成都新潮传媒集团有限公司 Item packaging method and device and computer readable storage medium
CN113741951A (en) * 2020-05-29 2021-12-03 北京沃东天骏信息技术有限公司 Local packaging method and device
CN115469885A (en) * 2022-10-12 2022-12-13 中电金信软件(上海)有限公司 Front-end engineering deployment method, device, system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357558A (en) * 2016-05-10 2017-11-17 阿里巴巴集团控股有限公司 Build the method and device of code
CN109799991A (en) * 2017-11-16 2019-05-24 中标软件有限公司 Compilation of source code method and system based on MapReduce frame distributed computing environment
CN109814901A (en) * 2018-12-29 2019-05-28 中兴智能交通股份有限公司 A kind of O&M method that automatically dispose application may be implemented
CN106104467B (en) * 2014-06-30 2019-09-27 北京新媒传信科技有限公司 A kind of Automation arranging method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106104467B (en) * 2014-06-30 2019-09-27 北京新媒传信科技有限公司 A kind of Automation arranging method and terminal
CN107357558A (en) * 2016-05-10 2017-11-17 阿里巴巴集团控股有限公司 Build the method and device of code
CN109799991A (en) * 2017-11-16 2019-05-24 中标软件有限公司 Compilation of source code method and system based on MapReduce frame distributed computing environment
CN109814901A (en) * 2018-12-29 2019-05-28 中兴智能交通股份有限公司 A kind of O&M method that automatically dispose application may be implemented

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736855A (en) * 2020-05-18 2020-10-02 苏州浪潮智能科技有限公司 Method and system for realizing automatic packaging deployment based on application web end
CN111651192A (en) * 2020-05-20 2020-09-11 深圳市致宇天承科技有限公司 Implementation method of multi-terminal automatic packaging scheme based on web
CN111611008A (en) * 2020-05-22 2020-09-01 浪潮电子信息产业股份有限公司 Software code packaging and deploying method, device, equipment and storage medium
CN113741951A (en) * 2020-05-29 2021-12-03 北京沃东天骏信息技术有限公司 Local packaging method and device
CN111651182A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 Automatic packing construction method and device for micro-service system
CN111767075A (en) * 2020-06-23 2020-10-13 北京思特奇信息技术股份有限公司 Method and device for synchronizing application program versions
CN111782221A (en) * 2020-06-29 2020-10-16 中国电力科学研究院有限公司 Automatic deployment system and method of power grid dispatching control system
CN111897557A (en) * 2020-07-06 2020-11-06 北京中关村银行股份有限公司 Method, device, equipment and storage medium for updating service system
CN112083947A (en) * 2020-07-27 2020-12-15 上海云刹技术有限公司 Software package issuing method for supply chain multi-language environment
CN112306504A (en) * 2020-11-03 2021-02-02 平安普惠企业管理有限公司 Module deployment method, device, equipment and storage medium based on configuration requirements
CN113434157A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Shell script-based front-end engineering deployment method and device
CN113504926A (en) * 2021-07-19 2021-10-15 成都新潮传媒集团有限公司 Item packaging method and device and computer readable storage medium
CN113504926B (en) * 2021-07-19 2023-04-14 成都新潮传媒集团有限公司 Item packaging method and device and computer readable storage medium
CN115469885A (en) * 2022-10-12 2022-12-13 中电金信软件(上海)有限公司 Front-end engineering deployment method, device, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111026403A (en) Packing deployment method and device, computer equipment and storage medium
US10841185B2 (en) Platform-integrated IDE
CN107615239B (en) Infrastructure for hosting and publishing software packages
CN110377290B (en) Method, device and equipment for compiling target engineering
CN112685035B (en) Project development method and device, computer readable storage medium and electronic equipment
CN106775744B (en) Method and device for generating static library
CN111259406B (en) Automatic construction method and system for cloud native application vulnerability reproduction environment
CN107832059B (en) Code static analysis method and device based on Makefile
KR20170015968A (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
CN112379969B (en) Continuous integrated delivery method based on containerized application and related equipment
CN113934426A (en) Software package processing method, device, system, equipment and medium
CN110647470A (en) Test method, manufacturing method, device, medium, and electronic apparatus
CN111338925A (en) Applet test method, device and system, electronic equipment and storage medium
CN114461182A (en) Method and device for pipeline construction, electronic equipment and computer readable storage medium
CN112015371A (en) Software development device under non-embedded software platform
CN113127000B (en) Compiling method, compiling device, compiling equipment and compiling storage medium for application program component
CN111061522B (en) Method, device, equipment and storage medium for generating front-end card assembly based on back end
CN111459506B (en) Deep learning platform cluster deployment method and device, medium and electronic equipment
Thomas et al. Simulation factory: Taming application configuration and workflow on high-end resources
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
CN105530140A (en) Cloud scheduling system, method and device for removing tight coupling of use case and environment
CN114090189A (en) Construction deployment management method and system based on assembly line
CN114564230B (en) One-key uploading realization method and device of hong Monte-go system, electronic equipment and medium
CN115048313B (en) Automatic test method and device, computer readable storage medium and electronic equipment
CN114564226B (en) Code deployment method and device, electronic equipment and readable 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417