KEcoLab/Developer Docs/CI CD Pipeline
Appearance
< KEcoLab
Introduction
Continuous Integration and Continuous Development(CI/CD) pipelines automate the process of building, testing and deploying software. This project leverages GitLab’s CI/CD pipelines to automatically measure and analysis the software’s energy consumption through a set of process. This pipeline not only ensures the application's functionality but also provides valuable insights into its energy footprint under various usage scenarios.
Pipeline Triggers and Rules
The execution of a GitLab CI/CD pipeline is typically triggered by specific events. This configuration is written in .yaml
file. For this project, the rules
keyword is used in each stage (build
, energy_measurement
, and resul
) with the following condition: