CPC G06F 16/185 (2019.01) [G06F 11/3688 (2013.01)] | 20 Claims |
1. A computer implemented method for generating pipelines for data centers configured on a cloud platform, the method comprising:
configuring a datacenter on the cloud platform based on a declarative specification specifying a hierarchy of datacenter entities;
identifying at least one template stored in a template directory in a file system;
identifying a set of macros defined in the template;
converting macros in the set of macros to a set of callable entities;
matching directory structures of candidate directories in the file system with a directory structure of the template directory;
determining a location of a test directory in the file system as a candidate directory matching the directory structure of the template directory;
setting a path of the template based on the location of the test directory;
executing testing code in the test directory for testing the template, wherein executing the testing code invokes the set of callable entities corresponding to the set of macros defined in the template; and
responsive to successful completion of executing the testing code for testing the template, executing the template to generate a set of pipelines to deploy software artifacts corresponding to the successfully tested template on the datacenter configured on the cloud platform.
|