Continuous integration and continuous delivery service providing method

By setting up a target series application programming interface between CI/CD tools, the problem of data incompatibility between workflows between CI/CD tools is solved, and data compatibility and data tracking functions are realized.

CN119806478APending Publication Date: 2025-04-11JABIL CIRCUIT (SINGAPORE) PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311301810.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The data between workflows between existing CI/CD tools cannot be circulated and passed, resulting in incompatible data formats and the data generated by adjacent workflows cannot be tracked.

Method used

By setting a target serial application programming interface on the service provider, the data format compatibility between service tools between two adjacent workflows is achieved, and the data generated by adjacent workflows is tracked by superimposing work data.

Benefits of technology

The compatibility of data between workflows between different CI/CD tools is achieved, ensuring that the data can be circulated smoothly and tracking data generated by adjacent workflows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806478A_ABST
    Figure CN119806478A_ABST
Patent Text Reader

Abstract

The invention discloses a continuous integration and continuous delivery service providing method, which is implemented by a service providing end and comprises the following steps of: (A) after receiving a service request comprising at least one to-be-requested workflow and a corresponding to-be-requested service tool, configuring the to-be-requested service tool corresponding to each to-be-requested workflow on a service platform; (B) judging whether at least one group of two adjacent workflows exist in the at least one workflow to be requested or not; (C) when judging that the service tool exists, for each group of adjacent two workflows, obtaining a target serial application programming interface according to the service tool to be requested corresponding to the group of adjacent two workflows; and (D) for each group of two adjacent workflows, setting a corresponding target serial application programming interface between the corresponding service tools to be requested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a service providing method, and in particular to a continuous integration and continuous delivery service providing method that provides continuous integration and continuous delivery services. Background Art

[0002] CI / CD is the abbreviation of Continuous Integration / Continuous Delivery, which is a method of automating the software development process. Continuous integration refers to integrating the developer's program code and automatically testing it after each update. Continuous delivery is to automatically deploy the program code to the product environment to achieve faster deployment and delivery of software.

[0003] The CI / CD service includes a series of workflows, including the Feature and Issue Management Service process, the Source Code Management Service process, the Working Environment Service process, the Code Review Service process, the Security Scan Service process, the Build Service process, the Secure Signature Service process, the AutoTest Service process, the Secure Release Service process, and the Test and Deploy process. Each workflow has at least one service tool to choose from. Common CI / CD tools include Jenkins, GitLab, Circle CI, Travis CI, Drone, etc. Different CI / CD tools have their own advantages and disadvantages. If different service tools are used alternately between different workflows to complement each other, the data between different workflows may not be able to be circulated and transmitted, and the data generated by each workflow cannot be tracked forward or backward, so it is necessary to find a solution. Summary of the invention

[0004] The object of the present invention is to provide a continuous integration and continuous delivery service providing method that connects different service tools in series so that the data formats of data flowing between the service tools corresponding to two adjacent workflows are compatible with each other.

[0005] The continuous integration and continuous delivery service providing method of the present invention is implemented by a service provider end connected to a client via a communication network. The continuous integration and continuous delivery service includes a series of workflows related to continuous integration and continuous delivery and performed in sequence. The service provider end can provide at least one service tool corresponding to each workflow, and stores a plurality of serial application programming interfaces for making the data formats of data flowing between the service tools corresponding to two adjacent workflows compatible with each other. The continuous integration and continuous delivery service providing method is characterized in that the continuous integration and continuous delivery service providing method includes the following steps: (A) after the service provider end receives a service request from the client and including at least one workflow to be requested and its corresponding service tool to be requested, for each workflow to be requested, the service provider end configures the workflow to be requested on a service platform; (B) the service provider determines whether there is at least one set of two adjacent workflows for the at least one workflow to be requested; (C) when the service provider determines that there is at least one set of two adjacent workflows, for each set of two adjacent workflows, the service provider obtains from the serial application programming interface a target serial application programming interface for making the data formats of data circulated between the corresponding service tools to be requested compatible with each other based on the service tools to be requested corresponding to the two adjacent workflows; and (D) for each set of two adjacent workflows, the service provider sets the target serial application programming interface corresponding to the set of two adjacent workflows between the service tools to be requested corresponding to the two adjacent workflows.

[0006] In the continuous integration and continuous delivery service providing method of the present invention, in step (D), the service providing end sets the target serial application programming interface corresponding to the two adjacent workflows by loading the target serial application programming interface corresponding to the two adjacent workflows between the service tools to be requested corresponding to the two adjacent workflows, thereby making the output data from the service tool used earlier among the service tools to be requested corresponding to the two adjacent workflows be converted into the data format using the target serial application programming interface corresponding to the two adjacent workflows before being input into the service tool used later among the service tools to be requested corresponding to the two adjacent workflows, so as to be converted into the data format compatible with the service tool used later among the service tools to be requested corresponding to the two adjacent workflows.

[0007] In the continuous integration and continuous delivery service providing method of the present invention, in step (D), the service providing end sets the target serial application programming interface corresponding to the two adjacent workflows by loading the target serial application programming interface corresponding to the two adjacent workflows between the service tools to be requested corresponding to the two adjacent workflows, thereby allowing a portion of the work data generated by the service tool used earlier in the service tools to be requested corresponding to the two adjacent workflows for the work to be performed through the continuous integration and continuous delivery service to be superimposed on the work data generated by the service tool used later in the service tools to be requested corresponding to the two adjacent workflows.

[0008] The continuous integration and continuous delivery service providing method of the present invention further comprises, after step (D), step (E), wherein the service provider transmits a service link for connecting to the service platform to the client.

[0009] The continuous integration and continuous delivery service providing method of the present invention further includes, after step (E), step (F), wherein for a service tool to be tracked among the at least one service tool to be requested, the service provider obtains the number of times the client uses the service tool to be tracked.

[0010] The continuous integration and continuous delivery service providing method of the present invention further includes, after step (E), step (G), wherein for a service tool to be tracked among the at least one service tool to be requested, the service provider obtains the usage space occupied by the client when using the service tool to be tracked.

[0011] The continuous integration and continuous delivery service providing method of the present invention, after step (E), further includes step (H), wherein the service provider obtains the usage status of the at least one requested service tool by the client to generate at least one usage status corresponding to the at least one requested service tool.

[0012] The beneficial effect of the present invention is that for each group of two adjacent workflows, the target serial application programming interface corresponding to the group of two adjacent workflows is set between the service tools to be requested corresponding to the two adjacent workflows by the service provider end. Whereby, regardless of whether the service tools to be requested corresponding to the two adjacent workflows are the same, the service tools to be requested corresponding to the two adjacent workflows can be connected in series through the set target serial application programming interface, so that the data formats of the data flowing between the service tools corresponding to the two adjacent workflows are compatible with each other, and the data generated by the two adjacent workflows can be tracked. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1is a block diagram illustrating a service provider end connected to a client end and a plurality of service supply ends via a communication network in an embodiment of a continuous integration and continuous delivery service providing method of the present invention;

[0014] Figure 2 is a flow chart illustrating a service tool setting procedure of an embodiment of the continuous integration and continuous delivery service providing method of the present invention; and

[0015] Figure 3 The invention is a flow chart illustrating a service tracking procedure used in an embodiment of the continuous integration and continuous delivery service providing method of the present invention. DETAILED DESCRIPTION

[0016] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0017] See also Figure 1 , an embodiment of the continuous integration and continuous delivery service providing method of the present invention is implemented by a service provider end connected to a client and multiple service providers via a communication network. The continuous integration and continuous delivery service includes a series of workflows related to continuous integration and continuous delivery and performed in sequence. The service provider end can provide at least one service tool corresponding to each workflow, and store multiple serial application programming interfaces for making the data formats of data circulated between the service tools corresponding to two adjacent workflows compatible with each other. It is worth mentioning that at least one service tool corresponding to each workflow can be an internal service tool developed by a service provider corresponding to the service provider end, and at least one of multiple external service tools developed by multiple service providers other than the service provider. If the external service tools are to be used, the service provider can obtain the right to use the external service tools through a contractual authorization method. At least one service tool corresponding to each workflow is supplied by at least one service provider end. When the supplied service tool is the internal service tool, the service provider end that supplies the internal service tool is the service provider end.

[0018] The following will describe an embodiment of the continuous integration and continuous delivery service providing method of the present invention with reference to the accompanying drawings. The embodiment sequentially includes a service tool setting program and a service tracking program.

[0019] See also Figure 1 and Figure 2 , the service tool setup procedure for the continuous integration and continuous delivery service provision approach explains how to set up the service tool and contains the following steps.

[0020] In step 31 , the client transmits a service request including at least one desired workflow and its corresponding desired service tool to the service provider via the communication network.

[0021] In step 32, after the service provider receives the service request from the client via the communication network, for each workflow to be requested, the service provider configures the service tool to be requested corresponding to the workflow to be requested on a service platform. The service provider configures the corresponding service tool to be requested by configuring the access link of the corresponding service tool to be requested on the service platform and providing the access account and password of the corresponding service tool to be requested. In addition to configuring the corresponding service tool to be requested by providing the access account and password of the corresponding service tool to be requested, in other embodiments, the access password and temporary code, biometric information, or login credentials of the corresponding service tool to be requested may also be provided to configure the corresponding service tool to be requested, but is not limited thereto.

[0022] In step 33, the service provider determines whether there is at least one set of two adjacent workflows for the at least one workflow to be requested. When the service provider determines that there is at least one set of two adjacent workflows for the at least one workflow to be requested, the process proceeds to step 34; when the service provider determines that there is no at least one set of two adjacent workflows for the at least one workflow to be requested, the process proceeds to step 36.

[0023] In step 34, for each group of two adjacent workflows, the service provider obtains a target serial application programming interface from the serial application programming interfaces for making the data formats of the data flowing between the corresponding requested service tools compatible with each other based on the service tools to be requested corresponding to the two adjacent workflows.

[0024] In step 35, for each group of two adjacent workflows, the service provider sets the target serial API corresponding to the group of two adjacent workflows between the service tools to be requested corresponding to the group of two adjacent workflows. The service provider sets the target serial API corresponding to the group of two adjacent workflows by loading the target serial API corresponding to the group of two adjacent workflows between the service tools to be requested corresponding to the group of two adjacent workflows, so that the output data from the service tool used earlier among the service tools to be requested corresponding to the group of two adjacent workflows is converted into a data format compatible with the service tool used later among the service tools to be requested corresponding to the group of two adjacent workflows by using the target serial API corresponding to the group of two adjacent workflows before being input into the service tool used later among the service tools to be requested corresponding to the group of two adjacent workflows, and a part of the work data generated by the service tool used earlier among the service tools to be requested corresponding to the group of two adjacent workflows for the work to be performed through continuous integration and continuous delivery services can be superimposed on the work data generated by the service tool used later among the service tools to be requested corresponding to the group of two adjacent workflows. The data formats of the data circulated between the service tools corresponding to two adjacent workflows can thereby be compatible with each other, and the data generated by the two adjacent workflows can be tracked by superimposing a portion of the work data onto the work data generated by the next service tool used.

[0025] In step 36, the service provider sends a service link for connecting to the service platform to the client.

[0026] See also Figure 1 and Figure 3 The service tracking procedure of the continuous integration and continuous delivery service providing method describes how to track the number of times a service tool is used, the space used, and the usage status, and includes the following steps. Since the tracking method of each service tool to be requested is similar, only one service tool to be tracked among the at least one service tool to be requested is used for illustration.

[0027] In step 41 , the client sends a service usage request corresponding to the service tool to be tracked and related to a task to be performed to a service provider for supplying the service tool to be tracked via the service platform.

[0028] In step 42, after the service provider receives the service usage request, the service provider provides a service related to the desired task to the client in response to the service usage request, and stores task data related to the desired task.

[0029] In step 43 , the service provider sends a work item request related to the work performed by the client using the service tool to be tracked to the service provider.

[0030] In step 44 , after the service provider receives the task request, the service provider transmits a task list of all tasks performed by the client using the service tool to be tracked to the service provider.

[0031] In step 45, after the service provider receives the work item list, the service provider obtains a usage count and a usage status of the service tool to be tracked by the client based on the work item list. The usage count is the number of work items indicated by the work item list, and the usage status is an execution status of the work items indicated by the work item list, and the execution status is a pending execution status, an executing status, a completed and successfully executed status, and a completed but failed execution status. It is worth noting that if the at least one service tool to be requested exists a service tool to be tracked adjacent to the service tool to be tracked, since the data generated by the two adjacent workflows can be tracked forward or backward, the service provider can further track whether the work items in the work item list have entered the workflow corresponding to the service tool to be tracked, and then obtain the work progress of the work items in the work item list.

[0032] It is worth mentioning that when the service supply end is the service provider end, the service provider end obtains the task item list from the task data stored in the service provider end.

[0033] In step 46 , the service provider sends a work data capacity request related to the work performed by the client using the service tool to be tracked to the service provider.

[0034] In step 47 , after the service provider receives the work data capacity request, the service provider transmits a work data capacity list of all the work performed by the client using the service tool to be tracked to the service provider.

[0035] In step 48, after the service provider receives the work data capacity list, the service provider obtains the usage space of the client using the service tool to be tracked according to the work data capacity list, wherein the usage space is the sum of all work data capacities indicated by the work data capacity list.

[0036] It is worth mentioning that when the service supply end is the service provider end, the service provider end obtains the working data capacity list from the working data stored by itself.

[0037] In summary, the continuous integration and continuous delivery service providing method of the present invention, for each group of two adjacent workflows, sets the target serial application programming interface corresponding to the group of two adjacent workflows between the service tools to be requested corresponding to the group of two adjacent workflows through the service providing end, thereby, regardless of whether the service tools to be requested corresponding to the two adjacent workflows are the same, the service tools to be requested corresponding to the two adjacent workflows can be serially connected through the set target serial application programming interface, so that the data formats of the data flowing between the service tools corresponding to the two adjacent workflows are compatible with each other, and the data generated by the two adjacent workflows can be tracked. In addition, by obtaining the work item list and the work data capacity list from the service supply end, the number of times and the usage space of the client using the service tool to be tracked can be tracked, so that the purpose of the present invention can be achieved.

[0038] The above are merely embodiments of the present invention and should not be used to limit the scope of the present invention. That is, any simple equivalent changes and modifications made according to the claims and description of the present invention still fall within the scope of the present invention.

Claims

1. A method for providing continuous integration and continuous delivery services, implemented by a service provider connected to a client via a communication network, wherein the continuous integration and continuous delivery service includes a series of workflows related to continuous integration and continuous delivery and performed in sequence, wherein the service provider can provide at least one service tool corresponding to each workflow, and stores a plurality of serial application programming interfaces for making data formats of data circulated between service tools corresponding to two adjacent workflows compatible with each other, characterized in that: The continuous integration and continuous delivery service providing method comprises the following steps: (A) after the service provider receives a service request from the client and including at least one workflow to be requested and its corresponding service tool to be requested, for each workflow to be requested, the service provider configures the service tool to be requested corresponding to the workflow to be requested on the service platform; (B) the service provider determines whether the at least one workflow to be requested has at least one set of two adjacent workflows; (C) when the service provider determines that there is at least one set of two adjacent workflows, for each set of two adjacent workflows, the service provider obtains, from the serial API, a target serial API for making data formats of data circulated between the corresponding requested service tools compatible with each other, based on the requested service tools corresponding to the two adjacent workflows; and (D) For each group of two adjacent workflows, the service provider sets a target serial application programming interface corresponding to the group of two adjacent workflows between the service tools to be requested corresponding to the group of two adjacent workflows.

2. The method for providing continuous integration and continuous delivery services according to claim 1, characterized in that: In step (D), the service provider sets the target serial application programming interface corresponding to the two adjacent workflows by loading the target serial application programming interface corresponding to the two adjacent workflows between the service tools to be requested corresponding to the two adjacent workflows, thereby allowing the output data from the service tool used earlier among the service tools to be requested corresponding to the two adjacent workflows to be converted into a data format compatible with the service tool used later among the service tools to be requested corresponding to the two adjacent workflows using the target serial application programming interface corresponding to the two adjacent workflows before being input into the service tool used later among the service tools to be requested corresponding to the two adjacent workflows.

3. The method for providing continuous integration and continuous delivery services according to claim 1, characterized in that: In step (D), the service provider sets the target serial application programming interface corresponding to the two adjacent workflows by loading the target serial application programming interface corresponding to the two adjacent workflows between the service tools to be requested corresponding to the two adjacent workflows, so that a part of the work data generated by the service tool used earlier in the service tools to be requested corresponding to the two adjacent workflows for the work to be performed through continuous integration and continuous delivery services can be superimposed on the work data generated by the service tool used later in the service tools to be requested corresponding to the two adjacent workflows.

4. The method for providing continuous integration and continuous delivery services according to claim 1, characterized in that: After step (D), the method further comprises the following steps: (E) The service provider transmits a service link for connecting to the service platform to the client.

5. The method for providing continuous integration and continuous delivery services according to claim 4, characterized in that: After step (E), the method further comprises the following steps: (F) For a service tool to be tracked among the at least one service tool to be requested, the service provider obtains a usage count of the service tool to be tracked by the client.

6. The method for providing continuous integration and continuous delivery services according to claim 4, characterized in that: After step (E), the method further comprises the following steps: (G) For a service tool to be tracked among the at least one service tool to be requested, the service provider obtains a usage space occupied by the client using the service tool to be tracked.

7. The method for providing continuous integration and continuous delivery services according to claim 4, characterized in that: After step (E), the method further comprises the following steps: (H) The service provider obtains the usage status of the at least one requested service tool by the client to generate at least one usage status corresponding to the at least one requested service tool.