SYSTEMS AND METHODS FOR TESTING SOURCE CODE
First Claim
1. A computer-implemented method for testing source code, the method comprising:
- launching, using a controller Virtual Machine (VM) image, a controller container configured to control access to a shared memory, retrieve a repository identifier of a repository on which the source code is stored, a build descriptor including build steps, and an indicator of a build VM image for generating the build;
storing the build steps in the shared memory;
retrieving the source code from the repository based on the repository identifier;
storing the retrieved source code in the shared memory;
launching a build container based on the indicator of the build VM image, the build container configured to retrieve the build steps and the source code from the shared memory and perform the build on the source code based on the steps defined in the build steps to test an update to the source code.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems for testing source code are disclosed. The method includes mounting a shared memory and launching a controller container. The controller container is configured to retrieve a repository identifier of a repository on which the source code is stored, and a build descriptor including build steps and an indicator of a build VM image for generating the build. The method further includes storing the build steps in the shared memory, retrieving the source code from the repository based on the repository identifier, and storing the retrieved source code in the shared memory. The method also includes launching a build container based on the indicator of the build VM image, the build container configured to retrieve the build steps and the source code from the shared memory and perform the build on the source code based on the steps defined in the build steps.
-
Citations
20 Claims
-
1. A computer-implemented method for testing source code, the method comprising:
-
launching, using a controller Virtual Machine (VM) image, a controller container configured to control access to a shared memory, retrieve a repository identifier of a repository on which the source code is stored, a build descriptor including build steps, and an indicator of a build VM image for generating the build; storing the build steps in the shared memory; retrieving the source code from the repository based on the repository identifier; storing the retrieved source code in the shared memory; launching a build container based on the indicator of the build VM image, the build container configured to retrieve the build steps and the source code from the shared memory and perform the build on the source code based on the steps defined in the build steps to test an update to the source code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system for testing source code, the system comprising:
-
a processor, a communication interface, and a non-transitory computer-readable storage medium storing sequences of instructions, which when executed by the processor, cause the processor to; cause a controller container to be launched using a controller Virtual Machine (VM) image; the controller container configured to; control access to a shared memory; retrieve a build description associated with a repository on which the source code is stored, the build description comprising build steps and an indicator of a build VM image for generating the build; extract the build steps from the build description and store the build steps in the shared memory, cause a repository container to be launched, the repository container configured to retrieve the source code from the repository and store the retrieved source code in the shared memory; cause a build container to be launched based on the indicator of the build VM image, the build container configured to retrieve the build steps and the source code from the shared memory and perform the build on the source code based on the build steps to test an update to the source code. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. One or more non-transient computer readable storage media storing instructions which, when executed by a processor, cause the processor to:
-
cause a controller container to be launched using a controller Virtual Machine (VM) image; the controller container configured to; control access to a shared memory; retrieve a build description associated with a source code repository from a source code management system, the build description comprising build steps and an indicator of a build VM image for generating the build; extract the build steps from the build description and store the build steps in the shared memory, cause a repository container to be launched, the repository container configured to retrieve source code from the source code repository and store the retrieved source code in the shared memory; cause a build container to be launched based on the indicator of the build VM image, the build container configured to retrieve the build steps and the source code from the shared memory and perform the build on the source code based on the build steps to test an update to the source code.
-
Specification