Selective triggering of continuous integration, continuous delivery (CI/CD) pipelines
AssigneeRed Hat, Inc.
InventorsAvraham Avi Talmor, Arie Bregman
Life of this patent
Estimating the term…
Abstract
A method of improving continuous integration, continuous delivery (CI/CD) pipelines includes receiving an indication of a failure of a CI/CD pipeline of a plurality of CI/CD pipelines. The method further includes processing build status information by a rule engine, the build status information indicative of builds executed within the plurality of CI/CD pipelines. The method further includes applying a set of rule to the build status information to select a subset of the plurality of CI/CD pipelines, wherein the set of rules includes one or more of a resource availability rule or a failure type rule. The method further includes executing the subset of CI/CD pipelines selected by the rule engine.
Claims20
A system comprising:
- a memory device;
- and
- a processing device, operatively coupled with the memory device, to perform operations comprising:
- executing a continuous integration, continuous delivery (CI/CD) pipeline of a plurality of CI/CD pipelines, wherein the CI/CD pipeline is configured to build executable code when executed, and wherein executing the CI/CD pipeline comprises compiling, by the CI/CD pipeline, source code to obtain the executable code;
- receiving an indication of a failure of the CI/CD pipeline of the plurality of CI/CD pipelines;
- processing build status information by a rule engine, the build status information indicative of builds executed within the plurality of CI/CD pipelines;
- applying a set of rules to the build status information to select a subset of the plurality of CI/CD pipelines, wherein the set of rules comprises one or more of:
- a resource availability rule comprising a condition verifying that sufficient computing resources are available to execute the plurality of CI/CD pipelines;
- or
- a failure type rule comprising a condition verifying that the failure of the CI/CD pipeline is caused by a specific failure type;
- and
- executing the subset of CI/CD pipelines selected by the rule engine.
A method comprising:
- executing, by a processing device, a continuous integration, continuous delivery (CI/CD) pipeline of a plurality of CI/CD pipelines, wherein the CI/CD pipeline is configured to build executable code when executed, and wherein executing the CI/CD pipeline comprises compiling, by the CI/CD pipeline, source code to obtain the executable code;
- receiving an indication of a failure of the CI/CD pipeline of the plurality of CI/CD pipelines;
- processing build status information by a rule engine, the build status information indicative of builds executed within the plurality of CI/CD pipelines;
- applying a set of rules to the build status information to select a subset of the plurality of CI/CD pipelines, wherein the set of rules comprises one or more of:
- a resource availability rule comprising a condition verifying that sufficient computing resources are available to execute the plurality of CI/CD pipelines;
- or
- a failure type rule comprising a condition verifying that the failure of the CI/CD pipeline is caused by a specific failure type;
- and
- executing the subset of CI/CD pipelines selected by the rule engine.
A non-transitory computer-readable storage medium storing instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
- executing a continuous integration, continuous delivery (CI/CD) pipeline of a plurality of CI/CD pipelines, wherein the CI/CD pipeline is configured to build executable code when executed, and wherein executing the CI/CD pipeline comprises compiling, by the CI/CD pipeline, source code to obtain the executable code;
- receiving an indication of a failure of the CI/CD pipeline of the plurality of CI/CD pipelines;
- processing build status information by a rule engine, the build status information indicative of builds executed within the plurality of CI/CD pipelines;
- applying a set of rules to the build status information to select a subset of the plurality of CI/CD pipelines, wherein the set of rules comprises one or more of:
- a resource availability rule comprising a condition verifying that sufficient computing resources are available to execute the plurality of CI/CD pipelines;
- or
- a failure type rule comprising a condition verifying that the failure of the CI/CD pipeline is caused by a specific failure type;
- and
- executing the subset of CI/CD pipelines selected by the rule engine.
Dependencies are inferred from the claim text.