Automatic custom quality parameter-based deployment router
An example method of operation may include automatically receiving information from a storage area in response to a signal, which information may include test results for a computer product evaluated by a plurality of test stages. The method may also include retrieving deployment parameters for the computer product, determining whether the test results satisfy the deployment parameters for the computer product, and automatically authorizing deployment of the computer product based on whether the test results satisfy the deployment parameters.
1. A method comprising:
automatically receiving, by a router, information including test results for a computer product evaluated by a plurality of test stages automatically implemented in a sequential pattern, where a test result from a test implemented by each corresponding test stage, of the plurality of test stages, is output from the corresponding test stage to a database, as the test is completed, wherein the information includes a percentage of a total code of the computer product that is used when executing a test stage of the plurality of test stages;
automatically retrieving, by the router, deployment parameters for the computer product, wherein the deployment parameters comprise at least one range of values;
automatically determining whether the test results satisfy a portion of the deployment parameters for the computer product;
generating a weight of an importance of each of the plurality of test stages and a score corresponding to how well the portion of the deployment parameters were satisfied; and
automatically authorizing deployment of the computer product based on whether the test results satisfy the portion of the deployment parameters, and when the weight of the importance of each of the plurality of test stages falls within a predetermined range of values and when the score is a passing score necessary for the deployment.
2. The method of claim 1 , further comprising:
storing the information including the test results in a storage area when the test results are received by the plurality of test stages.
3. The method of claim 1 , further comprising:
automatically determining that a change in one section of code of the computer product performed to correct a defect has caused at least one of the following:
another section of code of the computer product to malfunction;
a bug into another code section of the computer product;
one or more components of the computer product to fail that operated properly prior to the changed in the one section of code; and
automatically determining failure of deployment of the computer product based on the algorithm.
4. The method of claim 1 , further comprising:
automatically rejecting deployment of the computer product when the test results fail to satisfy the deployment parameters.
5. The method of claim 1 , wherein the computer product is an application.
6. The method of claim 1 , wherein the information includes one or more of:
a metric from a continuous integration stage, a metric from a code compilation stage, a metric from a unit test stage, and a metric from a code coverage stage.
7. The method of claim 5 , further comprising:
automatically deploying the application to an entity when deployment is automatically authorized, wherein the entity is a cloud service provider, a network, or a client device.
8. An apparatus, comprising:
a memory to store one or more instructions; and
a processor that when executing the one or more instructions is configured to:
receive information from a storage area in response to a signal, the information including test results for a computer product evaluated by a plurality of test stages automatically implemented in a sequential pattern, where a test result from a test implemented by each corresponding test stage, of the plurality of test stages, is output from the corresponding test stage to a database, as the test is completed, wherein the information includes a percentage of a total code of the computer product that is used when executing a test stage of the plurality of test stages,
retrieve deployment parameters for the computer product, wherein the deployment parameters comprise at least one range of values, and
automatically determine whether the test results satisfy a portion of the deployment parameters stored in the memory for the computer product,
generate a weight of an importance of each of the plurality of test stages and a score corresponding to how well the portion of the deployment parameters were satisfied, and
automatically authorize deployment of the computer product based on whether the test results satisfy the portion of the deployment parameters, and when the weight of the importance of each of the plurality of test stages falls within a predetermined range of values and when the score is a passing score necessary for the deployment.
9. The apparatus of claim 8 , wherein the deployment router is configured to:
automatically determine that a change in one section of code of the computer product performed to correct a defect has caused at least one of the following:
another section of code of the computer product to malfunction,
a bug into another code section of the computer product, and
a component of the computer product to fail that operated properly prior to the changed in the one section of code.
10. The apparatus of claim 8 , wherein the deployment router is configured to:
automatically reject deployment of the computer product when the test results fail to satisfy the deployment parameters.
11. The apparatus of claim 8 , wherein the computer product is an application.
12. The apparatus of claim 8 , wherein the information includes one or more of:
a metric from a continuous integration stage, a metric from a code compilation stage, a metric from a unit test stage, and a metric from a code coverage stage.
13. The apparatus of claim 11 , wherein the application is deployed to an entity when deployment is automatically authorized, wherein the entity is a cloud service provider, a network, or a client device.
14. A non-transitory computer readable storage medium configured to store one or more instructions that when executed by a processor cause the processor to:
automatically receive information including test results for a computer product evaluated by a plurality of test stages automatically implemented in a sequential pattern, where a test result from a test implemented by each corresponding test stage, of the plurality of test stages, is output from the corresponding test stage to a database, as the test is completed, wherein the information includes a percentage of a total code of the computer product that is used when executing a test stage of the plurality of test stages;
automatically retrieve deployment parameters for the computer product, wherein the deployment parameters comprise at least one range of values;
automatically determine whether the test results satisfy a portion of the deployment parameters for the computer product;
generate a weight of an importance of each of the plurality of test stages and a score corresponding to how well the portion of the deployment parameters were satisfied; and
automatically authorize deployment of the computer product based on whether the test results satisfy the portion of the deployment parameters, and when the weight of the importance of each of the plurality of test stages falls within a predetermined range of values and when the score is a passing score necessary for the deployment.
15. The non-transitory computer readable storage medium of claim 14 , wherein the one or more instructions further cause the processor to:
automatically determine that a change in one section of code of the computer product performed to correct a defect has caused at least one of the following:
another section of code of the computer product to malfunction,
a bug into another code section of the computer product, and
one or more components of the computer product to fail that operated properly prior to the changed in the one section of code.
16. The non-transitory computer readable storage medium of claim 14 , wherein the one or more instructions further cause the processor to:
automatically reject deployment of the computer product when the test results fail to satisfy the deployment parameters.
17. The non-transitory computer readable storage medium of claim 14 , wherein the computer product is an application.
18. The method of claim 14 , wherein the information includes one or more of:
a metric from a continuous integration stage, a metric from a code compilation stage, a metric from a unit test stage, and a metric from a code coverage stage.
19. The non-transitory computer readable storage medium of claim 17 , wherein the one or more instructions further cause the processor to:
automatically deploy the application to an entity when deployment is automatically authorized, wherein the entity is a cloud service provider, a network, or a client device.