Litmus e2e In CI Pipelines
Litmus can be integrated into an application or storage provider’s CI pipeline post the build & unit/integration test phases to test real-world behaviour on Kubernetes clusters. Litmus provides useful utilities that can aid the deployment of the latest images with extremely quick turnaround times. These include:
Cluster Creation Playbooks to aid quick and easy creation of Kubernetes clusters on different popular cloud platforms (GCP, AWS, GKE, AKS, EKS, Packet Cloud, On-premise vSphere VMs, OpenShift-on-AWS, OpenShift-on-vSphere) with minimal config inputs
Litmusbooks to setup the storage provider pre-requisites (such as the OpenEBS control plane/operator) on a K8s cluster.
The litmusbook execution can be overseen by CI-tool specific job wrappers with the Result CRs used to derive the success of the pipeline jobs/stages.
Openebs.ci is a reference implementation of the above, where a gitlab-based CI framework makes use of Litmus to power the e2e phase upon commits to the storage control plane and data plane code repositories.