Method and system for optimizing testing and deployment of an application
A solution for optimizing the deployment of applications in a cloud-based environment is provided. A method for optimizing the deployment of applications in a cloud-based environment is disclosed. The method is implemented by at least one processor. The method includes receiving at least one user artifacts file for direct deployment on a test environment. Next, the method includes deploying the at least one user artifacts file onto the test environment. Next, the method includes performing a set of testing events on artifacts included in the at least one user artifacts file. Thereafter, the method includes transmitting the at least one user artifacts file for pipeline deployment based on a successful result of the testing events.
1 . A method for optimizing a deployment of an application in a cloud-based environment, the method comprising:
receiving, by at least one processor, at least one user artifacts file for direct deployment on a test environment;
deploying, by the at least one processor, the at least one user artifacts file onto the test environment;
performing, by the at least one processor, a set of testing events on artifacts included in the at least one user artifacts file; and
transmitting, by the at least one processor, the at least one user artifacts file for pipeline deployment based on a successful result of the testing events,
wherein the at least one user artifacts file comprises:
at least one user executable file that contains an encoded sequence of instructions to perform a predetermined set of functions; and
at least one configuration file that contains data that relates to at least one from among a user, a program, a computer, and a file, and that is usable for configuring parameters of settings, and
wherein the method further comprises notifying, by the at least one processor, results of the set of testing events to the user based on the deployed at least one user artifacts file displaying successful or failed testing, and
wherein the deploying, by the at least one processor, the at least one user artifacts file onto the test environment comprises:
processing, by the at least one processor, the at least one user executable file and the at least one configuration file;
retrieving, by the at least one processor, the received at least one user executable file and stored user configuration files;
performing, by the at least one processor, at least one application programming interface call for communication between a server and the application; and
merging, by the at least one processor, the deployed at least one user executable file and the stored configuration files for each set of testing events.
2 . The method as claimed in claim 1 , wherein the cloud-based environment corresponds to a development and the test environment for the deployment of the application.
3 . The method as claimed in claim 1 , wherein the set of testing events are performed on the deployed at least one user artifacts file using at least one testing technique.
4 . The method as claimed in claim 1 , wherein the pipeline deployment comprises at least one Continuous Integration (CI) and Continuation Deployment (CD) stage.
5 . A computing device configured to implement an execution of a method for optimizing a deployment of an application in a cloud-based environment, the computing device comprising:
a processor;
a memory; and
a communication interface coupled to each of the processor and the memory,
wherein the processor is configured to:
receive at least one user artifacts file for direct deployment on a test environment;
deploy the at least one user artifacts file onto the test environment;
perform a set of testing events on artifacts included in the at least one user artifacts file; and
transmit the at least one user artifacts file for pipeline deployment based on a successful result of the testing events,
wherein the at least one user artifacts file comprises:
at least one user executable file that contains an encoded sequence of instructions to perform a predetermined set of functions; and
at least one configuration file that contains data that relates to at least one from among a user, a program, a computer, and a file, and that is usable for configuring parameters of settings, and
wherein the processor is further configured to notify results of the set of testing events to the user based on the deployed at least one user artifacts file displaying successful or failed testing, and
wherein the processor is further configured to deploy the at least one user artifacts file onto the test environment by:
processing the at least one user executable file and the at least one configuration file;
retrieving the received at least one executable file and stored user configuration files;
performing at least one application programming interface call for communication between a server and the application; and
merging the deployed at least one user executable file and the stored configuration files for each set of testing events.
6 . The computing device as claimed in claim 5 , wherein the cloud-based environment corresponds to a development and the test environment for the deployment of the application.
7 . The computing device as claimed in claim 5 , wherein the processor is configured to perform the set of testing events on the deployed at least one user artifacts file using at least one testing technique.
8 . The computing device as claimed in claim 5 , wherein the pipeline deployment comprises at least one Continuous Integration (CI) and Continuation Deployment (CD) stage.
9 . A non-transitory computer readable storage medium storing instructions for optimizing a deployment of an application in a cloud-based environment, the storage medium comprising executable code which, when executed by a processor, causes the processor to:
receive at least one user artifacts file for direct deployment on a test environment;
deploy the at least one user artifacts file onto the test environment;
perform a set of testing events on artifacts included in the at least one user artifacts file; and
transmit the at least one user artifacts for pipeline deployment based on a successful result of the testing events,
wherein the at least one user artifacts file comprises:
at least one user executable file that contains an encoded sequence of instructions to perform a predetermined set of functions; and
at least one configuration file that contains data that relates to at least one from among a user, a program, a computer, and a file, and that is usable for configuring parameters of settings, and
wherein when executed by the processor, the executable code further causes the processor to notify results of the set of testing events to the user based on the deployed at least one user artifacts file displaying successful or failed testing, and
wherein when executed by the processor, the executable code further causes the processor to deploy the at least one user artifacts file onto the test environment by:
processing the at least one user executable file and the at least one configuration file;
retrieving the received at least one user executable file and stored user configuration files;
performing at least one application programming interface call for communication between a server and the application; and
merging the deployed at least one user executable file and the stored configuration files for each set of the testing events.
10 . The storage medium as claimed in claim 9 , wherein the cloud-based environment corresponds to a development and the test environment for the deployment of the application.
11 . The storage medium as claimed in claim 9 , wherein when executed by the processor, the executable code further causes the processor to:
perform the set of testing events on the deployed at least one user artifacts file using at least one testing technique.
12 . The storage medium as claimed in claim 9 , wherein the pipeline deployment comprises at least one Continuous Integration (CI) and Continuation Deployment (CD) stage.